[7388] in Athena Bugs

home help back first fref pref prev next nref lref last post

lpd

daemon@ATHENA.MIT.EDU (erikkay@ATHENA.MIT.EDU)
Wed Apr 3 00:26:48 1991

From: erikkay@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 03 Apr 91 00:26:34 EST


while building the lpr utilities for the NeXT (milo.mit.edu), I came
across this bug in lpd.c (line 221):

                if (bind(finet, &sin, sizeof(sin), 0) < 0) {

while the man page says:

     bind(s, name, namelen)
     int s;
     struct sockaddr *name;
     int namelen;

this will cause an ANSI compiler (gcc in this case) to fail
compilation.



home help back first fref pref prev next nref lref last post