Trusted HP-UX 10.26

Jim Knoble jmknoble at pobox.com
Tue Mar 26 14:20:01 EST 2002


Circa 2002-Mar-25 18:29:43 -0600 dixit Ben Lindstrom:

: 
: Please avoid C++ comments.. They are not accepted on very C compiler.

Not only that, but C++-style comments like these:

: > + #ifdef TRUSTED_HPUX
: > +   file://Trusted HP-UX passwords are stored differently
: > +   file://you need to call getprpwnam to get the password for
: > +   file://a user.
: > +   pr_pw = getprpwnam(pw->pw_name);
: > +   file://This dies with a bus error, but isn't
: > +   file://this a pointer that should be freed
: > +   file://before we reassign?
: > +   file://free(pw->pw_passwd);

will break even a laid-back C compiler, due to the duplicate 'file:'
labels.  Global search-and-replace seems to have done something
naughty....

-- 
jim knoble | jmknoble at pobox.com   | http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 262 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020325/40dbb0b3/attachment.bin 


More information about the openssh-unix-dev mailing list