[7387] in Athena Bugs
lpr bug
daemon@ATHENA.MIT.EDU (erikkay@ATHENA.MIT.EDU)
Wed Apr 3 00:23:50 1991
From: erikkay@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 03 Apr 91 00:23:36 EST
I was trying to build athena kerberized lpr on a NeXT. (milo.mit.edu)
the following is found on line 120 of common.c
if (connect(s, (caddr_t)&sin, sizeof(sin), 0) < 0) {
while the man page clearly says that connect has the following
prototype:
connect(s, name, namelen)
int s;
struct sockaddr *name;
int namelen;
when compiling with an ANSI compiler (gcc in this case), this will
fail to compile.