看板 DFBSD_submit 關於我們 聯絡資訊
--lEGEL1/lMxI0MVQ2 Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, --=20 Xin LI <delphij frontfree net> http://www.delphij.net/ See complete headers for GPG key and other information. --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-lpc.c" Content-Transfer-Encoding: quoted-printable Index: lpc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D 0) continue; - if (el_parse(el, margc, margv) !=3D -1) + if (el !=3D NULL && el_parse(el, margc, margv) !=3D -1) continue; =20 c =3D getcmd(margv[0]); --vkogqOf2sHV7VnPd-- --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCEc+p/cVsHxFZiIoRAiwhAJ0VFKZtf/k5WzYD/ed2eaqrZ0K2kQCfZJP2 tM0wKyX+Si9vyQm+5R3S+pg= =q8AQ -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2--