home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!howland.reston.ans.net!usc!cs.utexas.edu!torn!utgpu!attcan!sobeco!comback!solucor!jack
- From: jack@solucorp.qc.ca (Jacques Gelinas)
- Newsgroups: comp.os.linux
- Subject: Re: Problem with lpr/lpd solved?
- Message-ID: <1993Jan27.022133.10890@solucorp.qc.ca>
- Date: 27 Jan 93 02:21:33 GMT
- References: <1993Jan23.112103.2473@mpifr-bonn.mpg.de> <GTAYLOR.93Jan24155850@jade.tufts.edu>
- Organization: solucorp
- Lines: 33
-
- gtaylor@jade.tufts.edu (Grant Taylor) writes:
-
- >i'm having the same problems... i can't for the life of me get it to
- >work... i set all the perms exactly according to the readme, and it
- >hasn't gotten me anywhere... i string|grepped the lpd binary, and the
- >only lpd in it is /usr/spool/lpd, so i made a link there figuring it
- >couldnt find it and that too didn't work...
-
- >if anyone as a clue, please tell us what we're missing...
-
- I have try porting lpd.c from BSD distribution. I have found
- this.
-
- There is a bug in lpd.c. The bind system call is not call with
- proper argument.
-
- Currently you read:
-
- bind (..., (SOCKETADR *) &sun, strlen(sun...));
-
- You should read
-
- bind (..., (SOCKETADR *)&sun, sizeof sun);
-
-
- I may send binary or source to anyone. My version is not using
- syslog however. Ask if you can't get anything better!
-
- --
-
- --------------------------------------------------------
- Jacques Gelinas (jacques@solucorp.qc.ca)
- Maintainer of US4BINR jacques@us4binr.login.qc.ca
-