Bugzilla – Attachment 1376 Details for
Bug 1386
OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add readv() declarations to configure and openbsd-compat
openssh-readv.patch (text/plain), 1.31 KB, created by
Darren Tucker
on 2007-11-01 04:47:47 AEDT
(
hide
)
Description:
Add readv() declarations to configure and openbsd-compat
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2007-11-01 04:47:47 AEDT
Size:
1.31 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh/configure.ac,v >retrieving revision 1.386 >diff -u -p -r1.386 configure.ac >--- configure.ac 26 Sep 2007 21:03:20 -0000 1.386 >+++ configure.ac 31 Oct 2007 17:40:15 -0000 >@@ -1376,6 +1376,12 @@ AC_CHECK_DECLS(O_NONBLOCK, , , > #endif > ]) > >+AC_CHECK_DECLS(readv, , , [ >+#include <sys/types.h> >+#include <sys/uio.h> >+#include <unistd.h> >+ ]) >+ > AC_CHECK_DECLS(writev, , , [ > #include <sys/types.h> > #include <sys/uio.h> >Index: openbsd-compat/openbsd-compat.h >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/openbsd-compat.h,v >retrieving revision 1.43 >diff -u -p -r1.43 openbsd-compat.h >--- openbsd-compat/openbsd-compat.h 25 Jun 2007 12:15:13 -0000 1.43 >+++ openbsd-compat/openbsd-compat.h 31 Oct 2007 17:42:24 -0000 >@@ -131,6 +131,12 @@ int getgrouplist(const char *, gid_t, gi > int BSDgetopt(int argc, char * const *argv, const char *opts); > #endif > >+#if defined(HAVE_DECL_READV) && HAVE_DECL_READV == 0 >+# include <sys/types.h> >+# include <sys/uio.h> >+int readv(int, struct iovec *, int); >+#endif >+ > #if defined(HAVE_DECL_WRITEV) && HAVE_DECL_WRITEV == 0 > # include <sys/types.h> > # include <sys/uio.h>
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 1386
:
1373
|
1374
|
1375
|
1376
|
1377
|
1378
|
1520
|
1532
|
1533
|
1534
|
1535
|
1545