Fixed. Next release.
> From [EMAIL PROTECTED] Sat Apr 13 19:05:59 2002
> From: Hugh McDonald <[EMAIL PROTECTED]>
> Date: Sat, 13 Apr 2002 19:05:48 -0700
> To: [EMAIL PROTECTED]
> Subject: lpd -L <filename> fails
>
>
> In src/common/lpd.c, in Getopt, Logfile_LPD is set to point to the
> filename string in ARGV. Before the call to Setup_log (line 254),
> setproctitle is called (at line 234). From the comments in proctitle.c
> at line 23: "Side Effects: Clobbers argv of our main procedure..".
> Fortunately, it zeros the unused region, so Logfile_LPD points to
> a null byte, rather than garbage. The fix is:
>
>
> --- src/common/lpd.c.orig Mon Apr 1 09:54:52 2002
> +++ src/common/lpd.c Sat Apr 13 18:43:00 2002
> @@ -230,8 +230,6 @@
> * you need to fork to allow the regular user to continue
> * you put the child in its separate process group as well
> */
> - Name = "MAIN";
> - setproctitle( "lpd %s", Name );
>
> if( (pid = dofork(1)) < 0 ){
> LOGERR_DIE(LOG_ERR) _("lpd: main() dofork failed") );
>
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------