From: | Xin LI <delphij@xxxxxxxxxxxxx> |
Date: | Tue, 15 Feb 2005 18:32:09 +0800 |
Hi, Here is a patch that is same as FreeBSD's src/usr.sbin/lpr/lpc/lpc.c,v 1.29. I believe that the same problem exists in DragonFly, too. Cheers, -- Xin LI <delphij frontfree net> http://www.delphij.net/ See complete headers for GPG key and other information.
Index: lpc.c =================================================================== RCS file: /home/dcvs/src/usr.sbin/lpr/lpc/lpc.c,v retrieving revision 1.4 diff -u -r1.4 lpc.c --- lpc.c 22 Mar 2004 22:32:50 -0000 1.4 +++ lpc.c 15 Feb 2005 10:28:55 -0000 @@ -190,7 +190,7 @@ makeargv(); if (margc == 0) continue; - if (el_parse(el, margc, margv) != -1) + if (el != NULL && el_parse(el, margc, margv) != -1) continue; c = getcmd(margv[0]);
Attachment:
pgp00006.pgp
Description: PGP signature