summaryrefslogtreecommitdiffstats
path: root/lib/libutil/property.c
Commit message (Collapse)AuthorAgeFilesLines
* Now return NULLified struct in case of empty config fileache2003-01-271-6/+9
| | | | | | | | (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly). It not affect existen programs because property_find() now returns NULL for both NULL pointer and NULLified struct.
* Handle read errorsache2003-01-271-3/+6
|
* Add (unsigned char) cast to ctype macrosache2003-01-191-13/+31
| | | | Handle NULL return from malloc and strdup
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-1/+1
|
* Add __FBSDID()s to libutildillon2001-09-301-3/+3
|
* Eliminate inconsistency where a value that contains only whitespacemurray2000-11-091-1/+6
| | | | | | confuses the parser. Approved by: jkh
* Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h somurray2000-11-081-8/+7
| | | | | | | that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag while I'm here. Approved by: jkh
* Better document the file format, add in support for nested {}'s in multi-linejkh1998-11-221-4/+11
| | | | property values.
* Now take stdio.h out of files that don't require it.jkh1998-10-091-1/+2
|
* o move path in libutil.h to paths.hjkh1998-10-091-3/+2
| | | | | o make property_read() take a fd instead to avoid stdio.h mess o update auth to new interface.
* Correct a build error that got past my build test somehow.jkh1998-10-081-0/+2
|
* Add a simple mechanism for reading property lists from files (whichjkh1998-10-071-0/+215
I'll convert sysinstall to use shortly) and a simple call which uses this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray handle the format and checkin of the sample auth.conf file. Reviewed by: markm
OpenPOWER on IntegriCloud