Bugzilla – Attachment 236 Details for
Bug 501
-current broken on AIX: conflicting types for gai_strerror
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Define gai_strerror as "char *" as per RFC2133
openssh-gai_strerror.patch (text/plain), 1.20 KB, created by
Darren Tucker
on 2003-02-22 16:30:34 AEDT
(
hide
)
Description:
Define gai_strerror as "char *" as per RFC2133
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2003-02-22 16:30:34 AEDT
Size:
1.20 KB
patch
obsolete
>Index: openbsd-compat/fake-getaddrinfo.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/fake-getaddrinfo.c,v >retrieving revision 1.3 >diff -u -r1.3 fake-getaddrinfo.c >--- openbsd-compat/fake-getaddrinfo.c 5 Feb 2003 23:50:42 -0000 1.3 >+++ openbsd-compat/fake-getaddrinfo.c 22 Feb 2003 05:08:53 -0000 >@@ -15,7 +15,7 @@ > RCSID("$Id: fake-getaddrinfo.c,v 1.3 2003/02/05 23:50:42 djm Exp $"); > > #ifndef HAVE_GAI_STRERROR >-const char *gai_strerror(int ecode) >+char *gai_strerror(int ecode) > { > switch (ecode) { > case EAI_NODATA: >Index: openbsd-compat/fake-getaddrinfo.h >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/fake-getaddrinfo.h,v >retrieving revision 1.3 >diff -u -r1.3 fake-getaddrinfo.h >--- openbsd-compat/fake-getaddrinfo.h 5 Feb 2003 23:50:43 -0000 1.3 >+++ openbsd-compat/fake-getaddrinfo.h 22 Feb 2003 05:09:08 -0000 >@@ -37,7 +37,7 @@ > #endif /* !HAVE_GETADDRINFO */ > > #ifndef HAVE_GAI_STRERROR >-const char *gai_strerror(int ecode); >+char *gai_strerror(int ecode); > #endif /* !HAVE_GAI_STRERROR */ > > #ifndef HAVE_FREEADDRINFO
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 501
: 236