summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
1997-08-31*** empty log message ***Jim Meyering
1997-08-31.Jim Meyering
1997-08-31Ifdef out dcl of now-unused nogroup_alist.Jim Meyering
1997-08-31.Jim Meyering
1997-08-31.Jim Meyering
1997-08-31(libfu_a_SOURCES): Add oa-hash.c.Jim Meyering
(noinst_HEADERS): Add oa-hash.h.
1997-08-22update from glibcJim Meyering
1997-08-16.Jim Meyering
1997-08-03(mode_create_from_ref): Remove dcl of unused local, I.Jim Meyering
1997-07-29(mode_create_from_ref): Don't use umask.Jim Meyering
Don't use MODE_X_IF_ANY_X.
1997-07-26replace with new version from libcJim Meyering
1997-07-15correct cpp-indentationJim Meyering
1997-07-15Merge with FSF.Jim Meyering
1997-07-13don't include error.h.Jim Meyering
1997-07-13(PARAMS): Update prototype.Jim Meyering
(utmp_contents): Remove dcl.
1997-07-13(read_utmp): Take new params: count and buffer.Jim Meyering
Return boolean indicating failure. Now, caller must give diagnostic upon.
1997-07-13.Jim Meyering
1997-07-09(make_path): Chdir to `/' before starting if necessary.Jim Meyering
Call save_cwd before while loop rather than from first iteration inside it.
1997-07-09.Jim Meyering
1997-07-09(strverscmp): Add `parenentheses around arithmetic in operand of |'Jim Meyering
as suggested by gcc -Wall.
1997-07-09indentJim Meyering
1997-07-09fix typo in commentJim Meyering
1997-07-09.Jim Meyering
1997-07-09.Jim Meyering
1997-07-09Add comments.Jim Meyering
1997-07-06(mode_create_from_ref): New function.Jim Meyering
1997-07-06(mode_create_from_ref): Add prototype.Jim Meyering
(MODE_MASK_ALL): New define. (MODE_BAD_REFERENCE): New define.
1997-07-06(getuidbyname): Declare parameter to be const.Jim Meyering
(getgidbyname): Declare parameter to be const.
1997-07-06(noinst_HEADERS): Add strverscmp.h.Jim Meyering
1997-07-06(libfu_a_SOURCES): Add strverscmp.c.Jim Meyering
(noinst_HEADERS): Add strverscmp.h.
1997-07-06(getuser): Return NULL (rather than stringified uid) upon lookup failure.Jim Meyering
(getgroup): Likewise. (getuidbyname) [NOT_USED]: #ifdef-out unused function. (getgidbyname) [NOT_USED]: #ifdef-out unused function.
1997-07-06Change some #ifdef to #if.Jim Meyering
Indent a cpp directive.
1997-07-01(make_path): Reorder stat-then-mkdir-if-missingJim Meyering
calls so that mkdir is called first. Before make_path would first `stat' a directory, then call mkdir if it didn't exist. But if some other process created the directory between the stat & mkdir, the mkdir would fail with EEXIST. Diagnosis and suggestion from Greg McGary.
1997-07-01[putenv]: Undefine before including system headers.Jim Meyering
Otherwise, the declaration of *rpl_putenv* conflicts with the system prototype on at least Irix5.3. From Marcus Daniels.
1997-06-29(base_name_strip_trailing_slashes): Remove.Jim Meyering
1997-06-29(base_name_strip_trailing_slashes): new function.Jim Meyering
1997-06-29Remove _sys_putenv cruft and just rename the function itself.Jim Meyering
1997-06-29fix it rightJim Meyering
1997-06-29Define-away putenv only if it's not already defined.Jim Meyering
1997-06-29.Jim Meyering
1997-06-25.Jim Meyering
1997-06-16.Jim Meyering
1997-06-16add copyrightJim Meyering
1997-06-15(full_write): Add comment regarding failure due to bug inJim Meyering
Linux Slackware 1.2.13 kernel.
1997-06-15Rewrite using save-cwd.c and chdir to remove quadratic component of complexity.Jim Meyering
Before, it processed O(n^2) directory name components via stat and mkdir. Now it's O(n). This makes mkdir -p a lot more efficient when creating directories with very many components. On a Linux 2.0.30 ext2fs filesystem this command: mkdir -p `perl -e 'print "a/" x 500'` now runs in 0.77 seconds (user+sys). Contrast that with the 9.5(!) seconds it took before.
1997-06-14.Jim Meyering
1997-06-12remove blank line at end and add copyrightJim Meyering
tweak cpp indentation
1997-06-06.Jim Meyering
1997-06-03[HAVE_UNISTD_H]: Include unistd.h.Jim Meyering
John Gatewood Ham reported that this is necessary for DJGPP/Win95.
1997-06-01(OtherTable): Interpret `next' as 1 (not 2) units.Jim Meyering
Patch from Richard Sharman <rsharman@magmacom.com>.