Commit Graph

7 Commits

Author SHA1 Message Date
Philippe Charnier
612956f67c Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, make
a new function dup_shell() to replace ok_shell() and make it unconditionnally
strdup() its result to make the caller's code simplier. Change ok_shell() to
just return an integer value suitable for tests (it was used mainly for that
purpose). Do not use strdup() in the caller's code but rely on dup_shell()
that will do the job for us.

PR: bin/2442
2004-01-18 21:46:39 +00:00
Dag-Erling Smørgrav
f1d0592537 Use libutil and libypclnt for all passwd manipulation and NIS needs.
Sponsored by:	DARPA, NAI Labs
2002-05-08 00:54:29 +00:00
Mark Murray
5ea7337834 Fix warns, ANSIfy, use __FBSDID(), sort headers. 2002-03-24 10:21:22 +00:00
Warner Losh
f1bb2cd2aa remove __P 2002-03-22 01:22:50 +00:00
Mark Murray
e29c2a4f89 Bump up the E_SHELL constant after an extra field was added, thus making
this refer to the wrong data.
Submitted by:	axl@iafrica.com (Sheldon Hearn)
1998-09-03 17:32:22 +00:00
Peter Hawkins
19ae8d1e56 Submitted by: Peter Hawkins <thepish@FreeBSD.org>
Add functionality for support for more than 4 subfields within gcos. chsh,
chpass etc did not parse beyond the 4th field previously and so truncated
gcos on updating the database.
1998-08-14 03:18:32 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00