thorpej
b6c41d0d18
getc() returns an int, not a char.
1997-04-19 06:33:13 +00:00
mycroft
16cc2efbbd
Change _PATH_MASTERLOCK to /var/run/lpd.pid.
1997-03-14 01:17:34 +00:00
cgd
72b0837ae3
fix one more goofup in the buffer safety changes: snprintf() should be
...
called with enough space for the trailing NUL, because it (unlike strn*())
always NUL-terminates.
1997-03-10 06:13:16 +00:00
cgd
7262daa78a
fix two bugs pointed out by Paul Sijben <Paul.Sijben@huygens.org>:
...
(1) incorrect check on length of data being written (fix provided by
Paul Sijben <Paul.Sijben@huygens.org>), and
(2) inadequate buffer (too small) for data being sent to remote meant
that properly-formed messages couldn't be created, so job removal
didn't work properly.
1997-03-08 22:50:52 +00:00
mrg
077acf5088
remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
1996-12-09 09:57:40 +00:00
jtc
21908ddbd5
merge in changes from 1.1 release branch
1995-11-28 19:43:04 +00:00
pk
f93236c806
Add RCSIDs.
1995-11-15 22:23:06 +00:00
pk
0e9c04fab0
Fix garbled lines (from Thomas Eberhardt; PR#1756).
...
Add RCSId.
1995-11-15 22:20:33 +00:00
hpeyerl
8e41ca8016
-- convert sgtty to termios. From: Scott Bartram <scottb@iis.net>
...
-- Use seteuid() to only give lpr, lprm, lpq and lpc root when they
need it from matthew green <mrg@mame.mu.oz.au>
1995-10-03 15:02:17 +00:00
mycroft
2f2adba37a
Clean up deleted files.
1994-05-18 01:25:36 +00:00
cgd
2847add277
clean up that import. no rcsids yet.
1994-05-18 01:25:21 +00:00
cgd
73a5ffdf98
need unistd.h
1994-05-18 00:54:02 +00:00
cgd
725ed31e82
copyright foo
1994-05-17 04:13:48 +00:00
cgd
ea2217de0a
off_t exp.
1994-03-27 09:13:06 +00:00
jtc
3ccb82400b
Upgraded to use <dirent.h>.
1993-12-08 00:47:01 +00:00
cgd
d29e38973e
bzero structs before using; fix from theo
1993-11-10 04:36:04 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
deraadt
9397be3182
make lpd know about modern ar files rather than the old ones.
...
Like, if it's going to want to make an effort, at least do it right.
1993-05-25 12:08:42 +00:00
deraadt
6dc90e5291
lpr should not access a_magic directly. That's what the N_BADMAG() macro
...
in a.out.h is there for!
1993-05-25 11:55:30 +00:00
mycroft
c1fd012d95
Cleanup for GCC 2.
1993-04-18 20:01:35 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00