[Bug 146] OpenSSH 3.1p1 will not build on BSD/OS 4.2/4.1/4.01

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 15 18:22:05 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=146





------- Additional Comments From mdev at idg.nl  2002-03-15 18:22 -------
The reasoning is, that this bug is similar to:
http://www.openldap.org/lists/openldap-bugs/200005/msg00032.html

And that prandom.o is in libc.
Another reason is, that 'cmds' is likely to conflict unless you protect it,
since it's quite a common name.
I don't know the reason for using sftp's own structure, instead of using the
libc provided structure, so if it can be modified to use libc's.

The only reference to cmds I found in /usr/include was:
/usr/include/arpa/telnet.h
Which also uses it's own name:
#ifdef TELCMDS
char *telcmds[] = {
        "EOF", "SUSP", "ABORT", "EOR",
        "SE", "NOP", "DMARK", "BRK", "IP", "AO", "AYT", "EC",
        "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0,
};
#else
extern char *telcmds[];
#endif

So it seemed the logical thing to do.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list