Commit Graph
5568 Commits
Author SHA1 Message Date
Jim Meyering c5e8364536 . 2006-03-27 07:35:23 +00:00
Jim Meyering 20e2d352c0 (uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod.
Tiny patch from Nickolai Zeldovich.
2006-03-27 07:34:48 +00:00
Jim Meyering a35fc49153 . 2006-03-26 12:33:28 +00:00
Jim Meyering 1225a53068 (log_su, run_shell): Use new last_component, in place of base_name. 2006-03-26 12:08:20 +00:00
Jim Meyering b828255717 (next_file_name): Use new last_component, in place of base_name. 2006-03-26 12:08:10 +00:00
Jim Meyering d4d9a40b82 (wipename): Use new last_component, in place of base_name. 2006-03-26 12:07:59 +00:00
Jim Meyering 0cabfe4b6d (rm_1): Use new last_component, in place of base_name. 2006-03-26 12:07:47 +00:00
Jim Meyering 00f103b6d1 (target_directory_operand, movefile): Use new last_component, in place of base_name. 2006-03-26 12:07:34 +00:00
Jim Meyering 811ecf9284 (basename_is_dot_or_dotdot): Use new last_component, in place of base_name. 2006-03-26 12:07:20 +00:00
Jim Meyering 02b8c9a452 (target_directory_operand, main): Use new last_component, in place of base_name. 2006-03-26 12:07:04 +00:00
Jim Meyering 9c3afb4a64 (target_directory_operand, install_file_in_dir): Use new last_component, in place of base_name. 2006-03-26 12:06:45 +00:00
Jim Meyering a1935760e5 (guess_shell_syntax): Use new last_component. 2006-03-26 12:06:05 +00:00
Jim Meyering c3965052fe (target_directory_operand): Use new last_component.
(ASSIGN_BASENAME_STRDUPA): Likewise.  Reduce time spent
traversing the string.
2006-03-26 12:05:51 +00:00
Jim Meyering a9e9c226da (main): Don't strip suffix from file system roots. 2006-03-26 11:59:58 +00:00
Paul Eggert 195689e7c7 (main): Ignore fd_reopen return value when ignoring input, since
we've closed input at that point so we are ignoring input.
2006-03-23 23:56:34 +00:00
Paul Eggert 9b109290de (main): nohup diagnostics are now more precise, and nohup now
redirects stderr to nohup.out if stdout is closed and stderr
is a tty.
2006-03-23 23:35:13 +00:00
Jim Meyering 57a06e9966 . 2006-03-17 16:41:30 +00:00
Jim Meyering fd1628cb1c (set_author): Rename function, from preserve_author. 2006-03-12 22:52:46 +00:00
Jim Meyering de33c6c49d . 2006-03-12 22:47:35 +00:00
Jim Meyering d0c89246d0 (AD_pop_and_chdir): Use new macro,
CYCLE_CHECK_REFLECT_CHDIR_UP, rather than open-coding it.
2006-03-12 22:21:05 +00:00
Jim Meyering 90be59547e (SAME_INODE): Remove definition.
Include "same-inode.h", instead.
2006-03-12 20:45:04 +00:00
Jim Meyering 28bffbc6fe (robust_getcwd): Prepend only one slash, not two. 2006-03-11 20:40:18 +00:00
Jim Meyering 76d20d82dd Fix a bug whereby a user with write access to a directory being removed
could cause the removal of that directory to fail with an erroneous
diagnostic about a directory cycle.  Reported by Vineet Chadha.

(AD_pop_and_chdir): If the directory we're about to
leave (and try to rmdir) is the one whose dev_ino is being used to
detect a cycle, reset cycle_check_state.dev_ino to that of the parent.
2006-03-10 21:47:34 +00:00
Paul Eggert cf40950274 (set_fd_flags): Handle file-creation flags on file
descriptors, rather than ignoring them.
2006-03-08 18:57:39 +00:00
Paul Eggert c21aeb1bd8 (O_NOLINKS): Define to 0 if not already defined. 2006-03-06 07:20:35 +00:00
Paul Eggert 82a7e80d5b (flags, usage): New flags directory, nolinks. 2006-03-06 07:20:19 +00:00
Paul Eggert 78006af421 (usage): Mention that -f disables --color. 2006-03-06 07:02:39 +00:00
Jim Meyering 83e984547b Make `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.
(wrap_write, do_encode, main): Change type of
parameters and locals, wrap_column, form size_t to uintmax_t.
(main): Adjust to use xstrtoumax, accordingly.
2006-03-05 11:20:53 +00:00
Jim Meyering 193f1a070a (do_decode): Use correct type for parameter, ignore_garbage: s/size_t/bool/. 2006-02-27 13:31:12 +00:00
Jim Meyering 60fc871dcd *** empty log message *** 2006-02-27 11:03:31 +00:00
Jim Meyering 0c0d4f5707 . 2006-02-27 10:54:09 +00:00
Jim Meyering 3d1be95578 (bin_PROGRAMS): Add base64. 2006-02-27 10:44:34 +00:00
Jim Meyering b4b3e819aa (wrap_write): Correct declaration syntax: s/size_t * V/size_t *V/. 2006-02-27 10:42:36 +00:00
Jim Meyering ee5fbeafea Don't include .h files already included by system.h:
<string.h>, <stdlib.h>, <stdbool.h>, <limits.h>, <errno.h>.
Include "system.h" before the other lib/*.h header files.
Include <sys/types.h> before "system.h".
(wrap_write): Remove declaration of unused local, initial_column.
2006-02-27 10:41:03 +00:00
Jim Meyering cec76053e7 *** empty log message *** 2006-02-27 10:35:37 +00:00
Jim Meyering 7561654142 (NOT_AN_INODE_NUMBER, D_INO): Define (moved here from pwd.c). 2006-02-26 10:03:17 +00:00
Jim Meyering 083f6ad61c (NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h 2006-02-26 10:02:49 +00:00
Jim Meyering 33eb3efe9f In ls, avoid calling stat for --inode (-i), when possible.
(main): Prefer dirent.d_ino to stat when possible.
(gobble_file): Add inode argument.
(print_dir): Pass inode if available.
(usage): Remove inaccuracy.
2006-02-26 10:01:00 +00:00
Paul Eggert 0e3c5842ad (usage): Mention `sort -k 1b,1'. 2006-02-21 02:55:31 +00:00
Jim Meyering 3f7e0c2173 . 2006-02-20 13:00:54 +00:00
Jim Meyering 1a301edfc7 (INTERACTIVE_OPTION): New enum value.
(interactive_type): New enum.
(long_opts): Let interactive take an optional argument.
(interactive_args, interactive_types): New option arguments.
(usage): Document -I, --interactive=WHEN.  Use program_name
instead of a basename.
(main): New -I option, new behavior to --interactive.
[From Eric Blake]
2006-02-20 12:48:11 +00:00
Jim Meyering da3340fab1 (usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
2006-02-18 07:45:27 +00:00
Jim Meyering e7771c1161 (usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
2006-02-18 07:23:05 +00:00
Jim Meyering 8c232ab86f (usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
2006-02-18 07:21:50 +00:00
Jim Meyering 9955ae4cc5 . 2006-02-16 20:28:32 +00:00
Jim Meyering 4eb8760272 fix typo in comment 2006-02-12 07:55:38 +00:00
Jim Meyering f99aab89d3 . 2006-02-11 20:58:28 +00:00
Jim Meyering 724f97cee2 *** empty log message *** 2006-02-11 20:58:09 +00:00
Jim Meyering 3d2111620b . 2006-02-11 20:52:49 +00:00
Jim Meyering 3693f5cc94 (EXTRA_DIST): Add c99-to-c98.diff. 2006-02-11 20:45:15 +00:00