Bugzilla – Attachment 903 Details for
Bug 1033
Fix compile-time warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix warnings in getrrsetbyname.c on Linux
openssh-getrrset-warn.patch (text/plain), 1.33 KB, created by
Darren Tucker
on 2005-05-07 16:23:51 AEST
(
hide
)
Description:
fix warnings in getrrsetbyname.c on Linux
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-05-07 16:23:51 AEST
Size:
1.33 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.260 >diff -u -p -r1.260 configure.ac >--- configure.ac 24 Apr 2005 07:52:23 -0000 1.260 >+++ configure.ac 3 May 2005 05:20:33 -0000 >@@ -2402,6 +2402,7 @@ int main() > AC_MSG_RESULT(no)]) > ]) > AC_CHECK_FUNCS(_getshort _getlong) >+ AC_CHECK_DECLS([_getshort, _getlong]) > AC_CHECK_MEMBER(HEADER.ad, > [AC_DEFINE(HAVE_HEADER_AD)],, > [#include <arpa/nameser.h>]) >Index: openbsd-compat/getrrsetbyname.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/getrrsetbyname.c,v >retrieving revision 1.13 >diff -u -p -r1.13 getrrsetbyname.c >--- openbsd-compat/getrrsetbyname.c 29 Aug 2004 06:12:30 -0000 1.13 >+++ openbsd-compat/getrrsetbyname.c 3 May 2005 05:19:52 -0000 >@@ -144,6 +144,8 @@ _getshort(msgp) > GETSHORT(u, msgp); > return (u); > } >+#elif defined(HAVE_DECL__GETSHORT) && (HAVE_DECL__GETSHORT == 0) >+u_int16_t _getshort(register const u_char *); > #endif > > #ifndef HAVE__GETLONG >@@ -156,6 +158,8 @@ _getlong(msgp) > GETLONG(u, msgp); > return (u); > } >+#elif defined(HAVE_DECL__GETLONG) && (HAVE_DECL__GETLONG == 0) >+u_int32_t _getlong(register const u_char *); > #endif > > int
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1033
:
902
| 903