Bug 266 - Trailing comma in enum for 3.2.3p1
Summary: Trailing comma in enum for 3.2.3p1
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: PPC AIX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL: ftp://ftp.thewrittenword.com/outgoing...
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-07 03:27 AEST by bugzilla-openssh
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugzilla-openssh 2002-06-07 03:27:27 AEST
A trailing comma in an enum generates an error with the IBM C
compiler, xlc, on AIX 4.3.2:
       
$ gmake
...
xlc -O2 -qmaxmem=-1 -qarch=com -I/opt/TWWfsw/tcpwrap/include -I. -I.
-I/opt/TWWfsw/libopenssl09s/include -I/opt/TWWfsw/zlib11s/include
-DSSHDIR=\"/etc/opt/TWWfsw/openssh323\"
-D_PATH_SSH_PROGRAM=\"/opt/TWWfsw/openssh323/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/TWWfsw/openssh323/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/opt/TWWfsw/openssh323/libexec/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/opt/TWWfsw/openssh323/libexec/ssh-rand-helper\"
-DHAVE_CONFIG_H -c kex.c
"monitor.h", line 53.25: 1506-275 (S) Unexpected text ',' encountered.
gmake: *** [kex.o] Error 1

A patch is available at:
  ftp://ftp.thewrittenword.com/outgoing/pub/openssh-3.2.3p1-2.patch
Comment 1 Markus Friedl 2002-06-07 03:48:45 AEST
fixed in openbsd-current
Comment 2 Ben Lindstrom 2002-06-25 06:44:59 AEST
This was commited to portable.  If still issues, reopen
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED