Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 2cd9474cb6 (getuidbyname): Declare parameter to be const.
(getgidbyname): Declare parameter to be const.
1997-07-06 21:27:07 +00:00
Jim Meyering abd1bad4b6 (noinst_HEADERS): Add strverscmp.h. 1997-07-06 21:25:57 +00:00
Jim Meyering f066a3acfe . 1997-07-06 21:25:19 +00:00
Jim Meyering 83c3f08048 declare stpcpy 1997-07-06 21:24:10 +00:00
Jim Meyering d0caad54ae Add new option: --sort=version (-v). 1997-07-06 21:23:42 +00:00
Jim Meyering f873ad6e6c (libfu_a_SOURCES): Add strverscmp.c.
(noinst_HEADERS): Add strverscmp.h.
1997-07-06 14:47:50 +00:00
Jim Meyering 0c5e6d93cd *** empty log message *** 1997-07-06 13:52:12 +00:00
Jim Meyering 2b0ecc7fa5 (print_long_format): Reflect changes in semantics of getuser, getgroup. 1997-07-06 13:51:16 +00:00
Jim Meyering afe6283539 (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.
1997-07-06 13:50:29 +00:00
Jim Meyering 0735c835a9 Change some #ifdef to #if.
Indent a cpp directive.
1997-07-06 11:57:38 +00:00
Jim Meyering a1cf1abf4d *** empty log message *** 1997-07-05 22:52:33 +00:00
Jim Meyering 1fca2b262a *** empty log message *** 1997-07-05 22:50:58 +00:00
Jim Meyering 08f38fd930 (parse_obsolescent_option): If POSIXLY_CORRECT is set, give
a diagnostic and fail when there are two or more non-option arguments.
1997-07-05 22:50:32 +00:00
Jim Meyering 573588283f . 1997-07-05 13:24:11 +00:00
Jim Meyering 8e14d7accc *** empty log message *** 1997-07-05 13:23:18 +00:00
Jim Meyering 77ef7e08a7 *** empty log message *** 1997-07-05 08:26:21 +00:00
Jim Meyering ac0ee614d6 Redefine/undef getusershell around inclusion of <unistd.h>
(via system.h) so Cray's int-returning prototype doesn't conflict
with our char*-returning one.
1997-07-05 08:25:58 +00:00
Jim Meyering 8e04be3e8d . 1997-07-04 23:05:22 +00:00
Jim Meyering 4369606f15 regenerate with updated mk-script 1997-07-04 23:04:21 +00:00
Jim Meyering f014f4f60f *** empty log message *** 1997-07-04 19:12:34 +00:00
Jim Meyering 581b1540f5 Redirect output of cmp to /dev/null. 1997-07-04 19:12:25 +00:00
Jim Meyering a7da25a2bb *** empty log message *** 1997-07-04 19:05:12 +00:00
Jim Meyering 14608042dd . 1997-07-04 19:01:55 +00:00
Jim Meyering f8bedd0047 . 1997-07-04 15:02:30 +00:00
Jim Meyering 4d8f9c4929 regenerate with updated ../Makefile.am.in 1997-07-04 15:02:06 +00:00
Jim Meyering 1e80216861 regenerate with updated mk-script 1997-07-04 15:01:57 +00:00
Jim Meyering b541bff3de . 1997-07-04 15:01:06 +00:00
Jim Meyering bea4748f5c regenerate with updated mk-script 1997-07-04 14:43:55 +00:00
Jim Meyering 19d151cbbd regenerate with updated ../Makefile.am.in 1997-07-04 14:43:06 +00:00
Jim Meyering d61ab3fc24 . 1997-07-04 14:42:16 +00:00
Jim Meyering 70cfca742f *** empty log message *** 1997-07-04 08:20:55 +00:00
Jim Meyering 677ddac432 (validate): Create test files in $(srcdir), not in build dir. 1997-07-04 08:09:15 +00:00
Jim Meyering 93b02c5289 *** empty log message *** 1997-07-04 07:53:28 +00:00
Jim Meyering 22ff29fe3e (apply_attributes): New function.
(copy_reg): Use apply_attributes instead of open-coding the pieces.
Now, failure to preserve file attributes does not cause mv to change
its exit status, and such failures elicit warning diagnostics.  This
behavior is required by POSIX.  Before, failure to preserve ownership
due to insufficient access was diagnosed only for root.
Prompted by a report from Bengt Martensson.
1997-07-03 12:16:41 +00:00
Jim Meyering ab171ee6b5 *** empty log message *** 1997-07-03 12:13:31 +00:00
Jim Meyering c86d0a7a45 *** empty log message *** 1997-07-03 10:29:48 +00:00
Jim Meyering 4396edc12e (test_vector): Remove bogus TZ=GMT environment setting. 1997-07-03 10:28:51 +00:00
Jim Meyering 442d670b3a . 1997-07-02 16:09:39 +00:00
Jim Meyering 7a280a0fda (STRTOX): Convert function header in macro definition
to K&R-style.  Otherwise, ansi2knr would fail to convert the function
definitions to K&R for old style compilers.  From Kaveh Ghazi.
1997-07-02 16:07:44 +00:00
Jim Meyering df05506016 *** empty log message *** 1997-07-01 11:55:55 +00:00
Jim Meyering b3580d0a75 . 1997-07-01 11:50:44 +00:00
Jim Meyering 2499628bff (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.
1997-07-01 11:50:39 +00:00
Jim Meyering b5e0f033a6 *** empty log message *** 1997-07-01 11:50:08 +00:00
Jim Meyering 059ccb6ac7 [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.
1997-07-01 11:30:08 +00:00
Jim Meyering 5f14bb768e *** empty log message *** 1997-06-30 04:00:48 +00:00
Jim Meyering 7f490dad0e . SH-UTILS-1_16b 1997-06-30 03:53:28 +00:00
Jim Meyering 3e81211212 . 1997-06-30 01:58:23 +00:00
Jim Meyering 3f0b15ac80 *** empty log message *** 1997-06-29 22:26:54 +00:00
Jim Meyering 41faa55aed (base_name_strip_trailing_slashes): Remove. 1997-06-29 22:26:18 +00:00
Jim Meyering 04c0cd59a5 (base_name_strip_trailing_slashes): new function. 1997-06-29 22:25:54 +00:00