Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering eec5824b1a (rename): Use stat, not safe_stat.
(rename): Compare src and dest inode numbers rather than src
inode and dest *dev* when determining whether src and dest refer
to the same file.  From marc@math.cornell.edu (Marc Parmet).
1995-05-13 13:19:07 +00:00
Jim Meyering b3fc4e375f (mkdir): Use stat, not safe_stat. 1995-05-13 13:13:04 +00:00
Jim Meyering 5a69bc6e5f Undef __P before defining.
Guard definition with simpler `#if __STDC__'.
1995-05-13 13:10:38 +00:00
Jim Meyering e8bfedbcd4 (isdir): Usage stat, not safe_stat. 1995-05-13 13:07:54 +00:00
Jim Meyering 627abb8251 (statfs): Use stat, not safe_stat. 1995-05-13 13:06:46 +00:00
Jim Meyering 4198f93479 (eaccess_stat): Make statp and path arguments const.
(euidaccess): Make statp argument const.  Use stat, not safe_stat.
1995-05-13 13:05:35 +00:00
Jim Meyering 26abb25bd0 Remove unnecessary definitions for r?index.
Update definitions for ISDIGIT.
1995-05-13 13:02:08 +00:00
Jim Meyering d931bb8005 Remove safe-l?stat.[ch]in and related rules. 1995-05-13 12:57:46 +00:00
Jim Meyering e5be6fdf8a (argmatch): Include sys/types.h and declare length argument with type size_t. 1995-05-13 12:55:49 +00:00
Jim Meyering 143415e6b8 (basename): Make arg const. 1995-05-13 12:52:57 +00:00
Jim Meyering 99ce9e9832 Use stat (lstat), not safe_stat (safe_lstat). 1995-05-13 12:48:33 +00:00
Jim Meyering 466ecc5db8 maintainer-clean, PHONY, ... 1995-05-13 12:22:27 +00:00
Jim Meyering 274e5f86b5 Use l?stat, not safe_l?stat. 1995-05-13 02:31:46 +00:00
Jim Meyering 31faa61270 (usage): Remove duplicate descriptions of --help and --version.
From Karl Berry.
1995-05-13 02:26:18 +00:00
Jim Meyering 7108d098ae (movefile): Remove a single trailing slash from destdir before concatenating
with `/' and filename for `ok to overwrite...' message.
1995-05-13 02:21:40 +00:00
Jim Meyering 63c91c859f Test tr in $PATH, not ./tr. 1995-05-12 02:11:06 +00:00
Jim Meyering 01eb16e339 merge with 1.11.1 1995-05-11 14:06:53 +00:00
Jim Meyering 821c7fe59e merge with 1.11.g 1995-05-10 14:22:19 +00:00
Jim Meyering 344458e890 . 1995-05-07 18:37:14 +00:00
Jim Meyering b0aa499bb2 . 1995-05-05 14:58:59 +00:00
Jim Meyering 6ebd309cb8 (save_stdin): Don't hard-code /tmp.
[DEFAULT_TMPDIR]: Use this instead.
1995-05-05 05:09:58 +00:00
Jim Meyering 151f4af0da . 1995-05-05 05:03:56 +00:00
Jim Meyering a5da850f3f (main): Use stat, not safe_stat. The latter was unnecessary. 1995-05-05 05:03:50 +00:00
Jim Meyering 21657d3c67 . 1995-05-05 04:37:58 +00:00
Jim Meyering 04c2f73f6f Patch from Mike to fix handling of +x.yn. 1995-05-05 04:37:21 +00:00
Jim Meyering f45ff2cfaf Don't hard-code /tmp.
[DEFAULT_TMPDIR]: Use this instead.
1995-05-05 04:16:12 +00:00
Jim Meyering 6cd5abb0c4 . 1995-05-02 04:04:39 +00:00
Jim Meyering 70b90a6f9d (quote_filename): Never return NULL when quoting filenames
as C-strings.  --quote-name was quoting only strings containing
at least one C-quotable character.  Reported by David J. MacKenzie.
1995-05-02 04:04:32 +00:00
Jim Meyering 6d94a2954d (usage): Fix per kb's suggestions. 1995-04-30 12:57:50 +00:00
Jim Meyering 843193374f Use __-protected versions of format' and printf' only with gcc-2.7 and later. 1995-04-27 17:04:23 +00:00
Jim Meyering 732fb15b45 merge with 1.11.f 1995-04-27 06:06:46 +00:00
Jim Meyering 00c3a48bd7 (REGEX_FREE): Add back the `while (0)' hack
Put back ifdefs to protect unnecessary decl.
1995-04-27 05:23:35 +00:00
Jim Meyering 1fa0e4dfd6 Latest from RMS. 1995-04-27 04:54:07 +00:00
Jim Meyering 7008c3aa9d . 1995-04-27 04:51:57 +00:00
Jim Meyering 14755ac891 (EMACS_INT): Define it to int. (BIG KLUDGE) 1995-04-26 17:19:13 +00:00
Jim Meyering 9c5392e4af (REGEX_FREE): Define to `while (0) /* empty */' rather than nothing.
Otherwise, some uses got warnings about empty if-clause.

Declare failure_stack_ptr only #ifdef REL_ALLOC.
1995-04-26 17:18:27 +00:00
Jim Meyering fd3bfce0cc New version from FSF. 1995-04-26 17:02:38 +00:00
Jim Meyering a3edacb315 (tempname): AND-off high bits of pid so that its decimal
string representation is no longer than five digits.
From Hans Verkuil (hans@wyst.hobby.nl)
1995-04-26 16:12:01 +00:00
Jim Meyering 062c5a1fd0 . 1995-04-25 05:40:06 +00:00
Jim Meyering 1b51c7e73b Protect format and printf with __*__. 1995-04-24 16:25:29 +00:00
Jim Meyering af8e117d0d Fix mostly per Franc,ois' suggestions. 1995-04-22 05:54:18 +00:00
Jim Meyering a87015327e Update and add copyright. 1995-04-21 17:29:15 +00:00
Jim Meyering 775493dedd . 1995-04-21 06:24:54 +00:00
Jim Meyering 27f19ab42b . 1995-04-21 04:22:00 +00:00
Jim Meyering 586c892910 (add_tabstop): Give correct size when reallocating tab_list buffer.
From Geoff Odhner (geoff@franklin.com).
1995-04-21 04:12:33 +00:00
Jim Meyering f9834f6bee . 1995-04-19 03:58:38 +00:00
Jim Meyering 5e1b1dabb2 . 1995-04-15 13:15:02 +00:00
Jim Meyering 93b95d2b78 (next_file_name): Don't reuse X as an index.
Declare new variable I instead.
1995-04-14 04:29:41 +00:00
Jim Meyering 73daf89227 (write_block): Declare index I as unsigned int, not int.
(get_lcm): Likewise.
(dump_strings): Likewise.
(main): Likewise.
(dump): Cast BYTES_PER_BLOCK to off_t in MIN expression.
(dump_strings): Declare bufsize to be of type size_t, not int.
1995-04-14 04:27:46 +00:00
Jim Meyering 9f888b86b8 Remove block of redundant comments describing options.
(usage): Remove reference to -l option.  It's not valid.
1995-04-14 04:23:22 +00:00