[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Nov 1 04:29:45 EST 2007


https://bugzilla.mindrot.org/show_bug.cgi?id=1386





--- Comment #3 from Scott McAskill <mcaskill.scott at epa.gov>  2007-11-01 04:29:40 ---
readv is not defined in any header files. The only reference to readv
is a comment in atomicio.h:


#ifndef _ATOMICIO_H
#define _ATOMICIO_H

/*
 * Ensure all of data on socket comes through. f==read || f==vwrite
 */
size_t  atomicio(ssize_t (*)(int, void *, size_t), int, void *,
size_t);

#define vwrite (ssize_t (*)(int, void *, size_t))write

/*
 * ensure all of data on socket comes through. f==readv || f==writev
 */
size_t  atomiciov(ssize_t (*)(int, const struct iovec *, int),
    int, const struct iovec *, int);

#endif /* _ATOMICIO_H */


I'll give both patches a try and let you know.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list