Commit Graph

19 Commits

Author SHA1 Message Date
elad
7cc919d464 fix typo. pr 33344. forwarded to paulus at samba dot org. 2006-04-23 19:01:08 +00:00
tls
1189bd8566 Make this locking compatible with that of the new tip/cu: we still try
the old-style UUCP locks (this is harmless, since pppd must run as root,
but should perhaps be removed later) but now also try to flock the device
node, and error out if it fails.
2006-04-03 16:16:00 +00:00
he
ce943c094b Fix previous correctly. The "quiet" variable was not local.
Instead, the problem was declarations which followed a non-declaration
statement, which gcc 2.95 doesn't like, so reshuffle the order.
2006-03-25 21:56:29 +00:00
he
9fb6f0e876 Don't default the type of a local variable. Fixes build for vax. 2006-03-23 19:25:09 +00:00
christos
dee21a2f06 Coverity CID 586: Remove dead code. 2006-03-18 04:34:41 +00:00
christos
06b02ffc92 Coverity CID 1284: Handle -1 return from open(2) 2006-03-18 03:49:37 +00:00
christos
f5b784887f Coverity CID 1462: Static buffer overrun; off by 2. 2006-03-18 03:45:34 +00:00
christos
16fbed8bd1 Coverity CID 1616: Memory leak. 2006-03-18 03:43:13 +00:00
christos
fd8155f293 Coverity CID 1617: Memory leak 2006-03-18 03:39:57 +00:00
christos
67c67fc5bf Coverity CID 2059: Memory leak. 2006-03-18 03:35:41 +00:00
wiz
64506871c4 Drop trailing whitespace. 2006-03-02 22:23:51 +00:00
christos
f696f0c430 Handle slip statistics too. 2006-03-02 17:32:28 +00:00
christos
665ee4ef5d rename debug to pppd_debug 2006-02-02 20:18:44 +00:00
christos
6ffa88f118 bring in changes from 2.4.4b1; we will import 2.4.4 once it is released. 2005-12-31 08:58:50 +00:00
lukem
5318a10f1e Remove uninitialized and unused (except for debug printf) 'dlen'.
Detected with gcc -Wuninitialized.
2005-06-02 09:09:43 +00:00
cube
bd797f6b31 We don't want README.sol2 next time. 2005-02-20 10:51:52 +00:00
cube
d62a80864e Add a helper script for future pppd import. 2005-02-20 10:51:07 +00:00
cube
2b974d094e Bring in the diffs we had against the previous versions of pppd.
That includes:
	o Manpage fixes
	o to{lower,upper,whatever} fixes
	o strl* use
	o use of getopt() in chat(8)
	o use of NetBSD's md5 and sha1 APIs
	o support for utmp and utmpx
	o a slightly different way of handling active and pass filters, to
	  avoid depend on "inbound" and "outbound" keywords of libpcap
	o addition of plug-in hooks for LCP
	o use of the former TDB code (ppp-2.4.3 uses a GPL version, which
	  was removed prior to the import)
	o changes in the compressor API.
2005-02-20 10:47:16 +00:00
cube
ee7ef76378 Import of pppd 2.4.3 (ppp-2.4.3), with GPL'd components removed as well as
things we won't use.  OK'd by christos.
2005-02-20 10:28:32 +00:00