[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


------- Additional Comments From mdev at idg.nl  2002-03-15 18:22 -------
The reasoning is, that this bug is similar to:

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:
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,
extern char *telcmds[];

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