Commit Graph

9 Commits

Author SHA1 Message Date
itojun 4c0a48380a /etc/login.conf is optional, so don't return NULL even if
there's none found.  addresses part of PR 11150.  sync with openbsd.
2000-10-12 00:28:33 +00:00
itojun 11ede04dd7 cosmetic; indentation 2000-10-12 00:19:57 +00:00
ad 88ec60f200 - Pull in <util.h> to get secure_path() declared.
- Resolve preprocessor symbol clash.
2000-09-21 10:15:32 +00:00
ad fce98185a9 - __RCSID() police.
- ANSIfy.
- Miscellaneous style changes.
- Shutup lint(1) in one or two cases.
2000-07-05 11:46:40 +00:00
mjl b562264ae1 Add a missing free() of a temporary buffer.
Add "unlimited" as synonym for "inf" and "infinity" for the
benefit of FreeBSD users.
Factor out the comparison w/ "infinity" in a isinfinite() function.
2000-02-10 20:52:54 +00:00
mjl b3204d536b Add login_getpwclass to libutil as convenience function for
programs originally for FreeBSD.
Add parsing of "setenv" parameter which can be used to set
up an initial environment on login.
2000-02-04 02:17:14 +00:00
mjl 633ab39a92 Make setusercontext() resilient against missing login.conf too. 2000-01-14 02:14:42 +00:00
mjl 923f186481 Make login_cap routines resilient to non-existant conf file, and
secure_path() less noisy.
2000-01-13 06:48:14 +00:00
mjl 142f369443 Add necessary support routines for login.conf. 2000-01-12 05:02:10 +00:00