aboutsummaryrefslogtreecommitdiff
path: root/log.c
Commit message (Collapse)AuthorAgeFilesLines
* Initial commitJoseph Hunkeler2012-05-251-77/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial autotools conversion to help out Joe More autotools migration More autotools migration Add platform detection for Linux vs Solaris Move CFG_PATH out of duser.h and put into configure via --with-config-path Forgot to define ifdef for HAVE_CONFIG_H sigh Add configure checks for strchrnul() and strcasestr() and config.h entries Add __NLINUX__ and __NSOLARIS__ platform checks to configure and config.h entries Forgot compat.c for Solaris platforms sigh Fix spelling mistake: comat.c -> compat.c Fixed typo Make strcasestr() and strchrnul() into separate compat files Force everyone to use compat functions not just Solaris Remove libsysfs from buildconf Add libtool support (needed for libdusercompat.a)
* 'status' will return the failure of access() nowJoseph Hunkeler2012-05-251-1/+1
|
* GNU GPLv3 licensing added.Joseph Hunkeler2012-05-251-0/+20
|
* Added cfg_open(), cfg_get_key(), and cfg_close()Joseph Hunkeler2012-05-251-4/+7
| | | | | | | | | | | | | | | | Added configuration file parsing, and removed constants (list_path, LOGFILE). CFG_PATH is defined in duser.h and will need to be changed before compiling. Removed basename in favor of libgen.h Log no longer reports DELETE ALL/SINGLE. Just DELETE. Fixed a ridiculous file truncation mistake in user_del(). Removed dependency on libtre... it sucks. Decided to go with libc searching -- seems to work better. (strfind()) We now validate strings passed as arguments to make sure they cannot cause arbitrary code execution, or accidental damage. (strval()) Added match column to list output. user_add was truncating files... fixed. CMD_FLAG_ADD will verify adding addresses to a mailing list. CMD_FLAG_MOD will display a temporary error (not done) If a corrupt record ever occurs it returns -1.
* Working delete-all command "delA"Joseph Hunkeler2012-05-251-1/+3
|
* Initial commitJoseph Hunkeler2012-05-251-0/+52