Bugzilla – Attachment 1520 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]
#ifdef out poll() in atomiciov
openssh-tru64-readv.patch (text/plain), 831 bytes, created by
Darren Tucker
on 2008-06-14 10:49:11 AEST
(
hide
)
Description:
#ifdef out poll() in atomiciov
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2008-06-14 10:49:11 AEST
Size:
831 bytes
patch
obsolete
>? build >Index: atomicio.c >=================================================================== >RCS file: /var/cvs/openssh/atomicio.c,v >retrieving revision 1.37 >diff -u -p -r1.37 atomicio.c >--- atomicio.c 26 Sep 2007 21:00:09 -0000 1.37 >+++ atomicio.c 14 Jun 2008 00:46:17 -0000 >@@ -101,8 +101,10 @@ atomiciov(ssize_t (*f) (int, const struc > /* Make a copy of the iov array because we may modify it below */ > memcpy(iov, _iov, iovcnt * sizeof(*_iov)); > >+#ifdef HAVE_POLL > pfd.fd = fd; > pfd.events = f == readv ? POLLIN : POLLOUT; >+#endif > for (; iovcnt > 0 && iov[0].iov_len > 0;) { > res = (f) (fd, iov, iovcnt); > switch (res) { >@@ -114,7 +116,9 @@ atomiciov(ssize_t (*f) (int, const struc > #else > if (errno == EAGAIN) { > #endif >+#ifdef HAVE_POLL > (void)poll(&pfd, 1, -1); >+#endif > continue; > } > return 0;
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