Subject: lpd bug?
To: None <current-users@NetBSD.ORG, netbsd-help@NetBSD.ORG>
From: Brook Milligan <brook@trillium.NMSU.Edu>
List: netbsd-help
Date: 04/29/1996 11:31:12
I have been trying to track down a problem with printing files on my
1.1/i386 system. In doing so, I came across the following apparent
problem with the setting of terminal flags by lpd: the XC flags are
passed twice, once to clear and once to set. Am I missing something,
or should the following patch be used?
Cheers,
Brook
===========================================================================
*** /usr/src/usr.sbin/lpr/lpd/printjob.c.orig Fri Oct 13 21:59:19 1995
--- /usr/src/usr.sbin/lpr/lpd/printjob.c Mon Apr 29 11:26:17 1996
***************
*** 1376,1382 ****
i.set = 1;
}
if (XS) {
! sttysetlflags(&i.t, XC);
i.set = 1;
}
}
--- 1376,1382 ----
i.set = 1;
}
if (XS) {
! sttysetlflags(&i.t, XS);
i.set = 1;
}
}