lib


Log

Author Commit Date CI Message
Jim Meyering f8e6bdbf 1997-08-03T20:28:45 (mode_create_from_ref): Remove dcl of unused local, I.
Jim Meyering 7e9dbaf8 1997-07-29T03:03:49 (mode_create_from_ref): Don't use umask. Don't use MODE_X_IF_ANY_X.
Jim Meyering a44bdcc8 1997-07-26T02:55:14 replace with new version from libc
Jim Meyering a8b5f7b7 1997-07-15T14:05:07 correct cpp-indentation
Jim Meyering 0615dbbd 1997-07-15T14:03:22 Merge with FSF.
Jim Meyering 5dea9f94 1997-07-13T13:31:30 don't include error.h.
Jim Meyering b6406826 1997-07-13T03:55:38 (PARAMS): Update prototype. (utmp_contents): Remove dcl.
Jim Meyering 7402d911 1997-07-13T03:54:00 (read_utmp): Take new params: count and buffer. Return boolean indicating failure. Now, caller must give diagnostic upon.
Jim Meyering 55b799ac 1997-07-13T02:54:48 .
Jim Meyering df91a5f7 1997-07-09T18:02:07 (make_path): Chdir to `/' before starting if necessary. Call save_cwd before while loop rather than from first iteration inside it.
Jim Meyering 0c7bebb2 1997-07-09T17:57:48 .
Jim Meyering 111767fd 1997-07-09T15:55:41 (strverscmp): Add `parenentheses around arithmetic in operand of |' as suggested by gcc -Wall.
Jim Meyering bf156c40 1997-07-09T15:42:54 indent
Jim Meyering 3ec28ba4 1997-07-09T15:33:27 fix typo in comment
Jim Meyering 20d41962 1997-07-09T15:31:29 .
Jim Meyering 5253e5dc 1997-07-09T14:00:27 Add comments.
Jim Meyering 68fa88b9 1997-07-06T21:28:04 (mode_create_from_ref): New function.
Jim Meyering d260dd04 1997-07-06T21:27:44 (mode_create_from_ref): Add prototype. (MODE_MASK_ALL): New define. (MODE_BAD_REFERENCE): New define.
Jim Meyering 0933dc6d 1997-07-06T21:27:07 (getuidbyname): Declare parameter to be const. (getgidbyname): Declare parameter to be const.
Jim Meyering 10866a45 1997-07-06T21:25:57 (noinst_HEADERS): Add strverscmp.h.
Jim Meyering 2e3b1846 1997-07-06T14:47:50 (libfu_a_SOURCES): Add strverscmp.c. (noinst_HEADERS): Add strverscmp.h.
Jim Meyering 4bd2f49f 1997-07-06T13:50:29 (getuser): Return NULL (rather than stringified uid) upon lookup failure. (getgroup): Likewise. (getuidbyname) [NOT_USED]: #ifdef-out unused function. (getgidbyname) [NOT_USED]: #ifdef-out unused function.
Jim Meyering 8e7d2081 1997-07-06T11:57:38 Change some #ifdef to #if. Indent a cpp directive.
Jim Meyering c897bea3 1997-07-01T11:50:39 (make_path): Reorder stat-then-mkdir-if-missing 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.
Jim Meyering 58dc681a 1997-07-01T11:30:08 [putenv]: Undefine before including system headers. Otherwise, the declaration of *rpl_putenv* conflicts with the system prototype on at least Irix5.3. From Marcus Daniels.
Jim Meyering e860cd16 1997-06-29T22:26:18 (base_name_strip_trailing_slashes): Remove.
Jim Meyering c34b054f 1997-06-29T22:25:54 (base_name_strip_trailing_slashes): new function.
Jim Meyering 09cee1d6 1997-06-29T21:05:05 Remove _sys_putenv cruft and just rename the function itself.
Jim Meyering 181c63b9 1997-06-29T20:18:58 fix it right
Jim Meyering 6d912e60 1997-06-29T20:12:52 Define-away putenv only if it's not already defined.
Jim Meyering b7b449ce 1997-06-29T03:27:24 .
Jim Meyering 34c5827b 1997-06-25T15:38:35 .
Jim Meyering 5f65e99b 1997-06-16T18:02:08 .
Jim Meyering 39fab1a2 1997-06-16T16:15:30 add copyright
Jim Meyering 060eff42 1997-06-15T15:06:52 (full_write): Add comment regarding failure due to bug in Linux Slackware 1.2.13 kernel.
Jim Meyering 0bd4eccc 1997-06-15T13:34:47 Rewrite using save-cwd.c and chdir to remove quadratic component of complexity. 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.
Jim Meyering 4bb8c3ca 1997-06-14T16:36:22 .
Jim Meyering d1c1bc7e 1997-06-12T12:58:47 remove blank line at end and add copyright tweak cpp indentation
Jim Meyering 28546733 1997-06-06T14:30:11 .
Jim Meyering ef1a7364 1997-06-03T20:01:47 [HAVE_UNISTD_H]: Include unistd.h. John Gatewood Ham reported that this is necessary for DJGPP/Win95.
Jim Meyering 98cf1a06 1997-06-01T17:15:51 (OtherTable): Interpret `next' as 1 (not 2) units. Patch from Richard Sharman <rsharman@magmacom.com>.
Jim Meyering bef36be2 1997-05-30T14:00:47 fix for abs pathnames
Jim Meyering b0c278e7 1997-05-28T12:19:28 correct/normalize indentation in cpp directives
Jim Meyering 819c5a82 1997-05-28T12:01:33 update from FSF
Jim Meyering f542a4ad 1997-05-28T11:42:29 (read_filesystem_list): Add `|| defined (__OpenBSD__)' to the NetBSD #if so OpenBSD also uses the f_fstypename member. (fstype_to_string): Add `&& !defined (__OpenBSD__)' to the NetBSD #if expression to exclude this function definition. OpenBSD 2.1 beta doesn't need it. Patch from Hugh Daniel <hugh@ecotone.xanadu.com>
Jim Meyering 0fb5d9e2 1997-05-27T14:16:49 Don't include backupfile.h.
Jim Meyering dd75e519 1997-05-27T10:45:34 (libfu_a_SOURCES): Add addext.c. Remove getversion.c; get_version is now in backupfile.c. Add basename.c since it's no longer replacible.
Jim Meyering e7e1ebbb 1997-05-27T10:39:10 Change dcl of program_name so it doesn't conflict with the ubiquitous char* one.
Jim Meyering c1d056b8 1997-05-27T10:31:04 .
Jim Meyering 9f8993a0 1997-05-27T10:30:45 Update from patch-2.2.93.
Jim Meyering 56a7a671 1997-05-27T09:39:25 Update from FSF via patch-2.2.93.
Jim Meyering 127435fc 1997-05-27T09:38:06 Update from glibc via patch-2.2.93.
Jim Meyering 3b9c7bc2 1997-05-24T14:43:21 (read_filesystem_list): Show automount-related duplicate filesystems only when --all specified. With suggestions from Stuart Kemp.
Jim Meyering 57d62c35 1997-05-24T14:42:40 Indent cpp directives.
Jim Meyering 864abaea 1997-05-24T14:31:23 .
Jim Meyering f960a31f 1997-05-02T04:02:17 .
Jim Meyering 002bf607 1997-04-29T15:48:14 update from automake-1.1o
Jim Meyering a8c629e2 1997-04-10T03:46:01 s/;/. in comment to placate francois
Jim Meyering b545b593 1997-03-23T02:57:05 .
Jim Meyering 068f1a3a 1997-03-14T03:28:09 (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
Jim Meyering 1ab0c59c 1997-03-13T05:16:47 .
Jim Meyering ca096920 1997-03-13T05:13:18 (EXTRA_DIST): Add chown.c.
Jim Meyering 02276ef5 1997-03-12T01:26:15 .
Jim Meyering 35e346ee 1997-03-11T05:11:09 .
Jim Meyering 54d6b079 1997-02-27T05:53:15 (tYEAR_UNIT): Increase yyRelYear by $1, not just by 1. From Andreas Schwab.
Jim Meyering 2c1196cc 1997-02-22T20:13:19 (tMONTH_UNIT): Increase yyRelMonth by $1, not just by 1. (tDAY_UNIT): Likewise for yyRelDay. (tHOUR_UNIT): Likewise for yyRelHour. (tMINUTE_UNIT): Likewise for yyRelMinutes. (tSEC_UNIT): Likewise for yyRelSeconds.
Jim Meyering 77d822a7 1997-02-21T02:16:54 update from FSF
Jim Meyering 5b212401 1997-02-18T15:12:41 .
Jim Meyering 729a4169 1997-02-04T03:26:31 libitize
Jim Meyering e4ccac4d 1997-02-04T03:20:29 new obstack from libc
Jim Meyering b3ffd152 1997-02-03T05:06:27 (parse_long_options): Compare getopt_long return value against -1, not EOF. Use NULL, not `(int *) 0' as last parameter in getopt_long call.
Jim Meyering 5964040b 1997-01-26T06:23:06 bracket prototype with PARAMS
Jim Meyering 66fb6b35 1997-01-26T04:31:05 .
Jim Meyering 81d7fb95 1997-01-25T13:50:24 remove trailing blanks
Jim Meyering 03397632 1997-01-25T13:38:49 (noinst_HEADERS): Add getdate.h.
Jim Meyering ae47496c 1997-01-25T06:52:50 .
Jim Meyering c7b0a297 1997-01-25T06:17:13 (XSTRTOL_H): Undefine it.
Jim Meyering 8452d7e0 1997-01-25T06:15:18 [!_STRTOL_ERROR]: Define the type `enum strtol_error' only if it hasn't already been defined.
Jim Meyering 555837e8 1997-01-25T06:13:46 (__xstrtol): Change interpretation of VALID_SUFFIXES == NULL vs VALID_SUFFIXES == "". Use the former when any suffix is valid, the later when no suffix is allowed.
Jim Meyering 8cc396bc 1997-01-25T05:37:15 (parse_long_options): Reset optind to zero before just returning so that getopt internals get initialized from the probably-new parameters when/if getopt is called later.
Jim Meyering 4a357dd7 1997-01-23T02:45:02 Update from GNU via Uli
Jim Meyering 1f662bb3 1997-01-23T02:23:44 revert last change
Jim Meyering a77b1b10 1997-01-22T23:23:04 [strftime]: Add parameters to macro definition. From Drepper.
Jim Meyering cd9581e9 1997-01-22T22:43:15 (_strftime_copytm): New function, to work around Solaris 2.5 tzset bug. From Paul Eggert.
Jim Meyering 07b2c332 1997-01-18T20:17:39 Indent with GNU indent.
Jim Meyering 09426796 1997-01-18T20:12:10 Indent 2 more cpp-directives to reflect nesting.
Jim Meyering 764d26f0 1997-01-18T20:11:05 (get_date): Change prototype to reflect const'ness of parameters. Indent cpp-directives to reflect nesting.
Jim Meyering 45483cc6 1997-01-18T15:46:09 .
Jim Meyering d1f0e0d4 1997-01-18T15:32:16 1997-01-06 Paul Eggert <eggert@twinsun.com> * getdate.y: Rewrite to use mktime. <sys/timeb.h>: Don't include. (mktime): Declare. (struct timeb, timezone, DOOMSDAY, SECSPERDAY, DSTMODE, yyDSTmode, ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth): Remove. (ToHour): New function (part of the old ToSeconds fn). (ToYear): New function (part of the old Convert fn). (TABLE.value, yyDayOrdinal, yyDayNumber, yyTimezone, yyDay, yyHour, yyMinutes, yyMonth, yySeconds, yyYear, yyRelMonth, yyRelSeconds, Number): Now int instead of time_t. (HOUR): Don't cast to time_t. (tDAY_UNIT, tHOUR_UNIT, tYEAR_UNIT): New %tokens. (UnitsTable): Use new units that are closer to the keywords. (yyRelDay, yyRelHour, yyRelMinutes, yyRelYear): New variables. (rel, relunit, get_date): Add support for them. (time): Fix timezone calculations for negative half-hour offsets when integer division truncates towards minus infinity. (zone): Incorporiate DST calculation directly. (get_date): 2nd arg is now time_t *, not struct timeb *. Use mktime to do most of the work, instead of computing it ourselves. Guard against falsely reporting errors near the time_t boundaries when parsing times in other time zones.
Jim Meyering 76486c93 1997-01-18T15:07:16 Add comment re HAVE_PSTAT_GETDYNAMIC.
Jim Meyering 7a251ca9 1997-01-18T13:44:49 reindent
Jim Meyering b8e3478a 1997-01-15T04:59:07 Fix up indentation a little.
Jim Meyering cc82de40 1997-01-15T04:55:39 Indent cpp-directives to reflect nesting.
Jim Meyering 59f4963c 1997-01-08T22:40:00 (_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'.
Jim Meyering 5097a8fa 1997-01-08T04:52:00 [_]: Define to gettext also if ENABLE_NLS is defined.
Jim Meyering 8b7d1078 1997-01-08T04:11:29 New (more POSIX compliant) version from GNU libc.
Jim Meyering 52c61687 1997-01-03T03:24:22 .
Jim Meyering 69aa0f06 1997-01-03T03:16:29 (EXTRA_DIST): Add getgroups.c.
Jim Meyering 91ddceb4 1997-01-02T03:13:58 .
Jim Meyering fe446938 1996-12-27T03:36:53 Add comment. Rename local, ng to n_groups.