Bug 266

Summary: Trailing comma in enum for 3.2.3p1
Product: Portable OpenSSH Reporter: bugzilla-openssh <bugzilla-openssh>
Component: sshAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: PPC   
OS: AIX   
URL: ftp://ftp.thewrittenword.com/outgoing/pub/openssh-3.2.3p1-2.patch

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