Commit Graph
20330 Commits
Author SHA1 Message Date
Jim Meyering cc9e07b32f . 2002-09-30 22:02:48 +00:00
Jim Meyering 1ea1325068 Don't include stdlib.h here. It's already included via system.h. 2002-09-30 21:20:08 +00:00
Jim Meyering 43231af577 *** empty log message *** 2002-09-30 16:14:02 +00:00
Jim Meyering be9d4e80a0 *** empty log message *** 2002-09-30 08:01:02 +00:00
Jim Meyering 98abcaa372 update from master 2002-09-30 06:35:44 +00:00
Jim Meyering 8adddf55c0 (find_bracketed_repeat): Rearrange pointer/integer
expression to avoid warning from gcc.
2002-09-29 21:31:29 +00:00
Jim Meyering 9df8af3675 *** empty log message *** 2002-09-29 21:25:11 +00:00
Jim Meyering 7e1ff0b4f8 (simple_cat): Use a temporary to avoid bogus warnings.
(cat): Declare insize and outsize to be of type size_t, not int.
Rearrange pointer/integer expressions to avoid bogus warnings.
(main): Declare insize and outsize to be of type size_t, not int.
2002-09-29 21:25:03 +00:00
Jim Meyering ca9b1df44b *** empty log message *** 2002-09-29 18:06:06 +00:00
Jim Meyering c791a382f8 (parse_options): Give a sensible diagnostic for
an invalid byte or line count.  Reported by Mikko Tuumanen.
2002-09-29 18:06:02 +00:00
Jim Meyering d27ac3d82a *** empty log message *** 2002-09-29 18:05:40 +00:00
Jim Meyering 9d9dbdb922 *** empty log message *** 2002-09-29 18:01:37 +00:00
Jim Meyering 0863bbf447 (main): Split a long line. 2002-09-29 18:00:28 +00:00
Jim Meyering e16b6e395b update from master 2002-09-29 17:26:38 +00:00
Jim Meyering c1d185f01c . 2002-09-29 17:26:18 +00:00
Jim Meyering d51cd50606 (TESTS): Add slink. 2002-09-29 17:26:09 +00:00
Jim Meyering 559a6d0f80 *** empty log message *** 2002-09-29 17:26:00 +00:00
Jim Meyering dcb8cc65fa *** empty log message *** 2002-09-29 17:25:43 +00:00
Jim Meyering 92a2cc65cb *** empty log message *** 2002-09-29 17:23:03 +00:00
Jim Meyering b7412e8bc0 *** empty log message *** 2002-09-29 17:17:28 +00:00
Jim Meyering 9e3fc21d11 . 2002-09-29 17:12:36 +00:00
Jim Meyering a3b479c91f . 2002-09-29 08:44:36 +00:00
Jim Meyering b928574bf6 *** empty log message *** 2002-09-29 08:43:24 +00:00
Jim Meyering 6daabb7578 In move mode, always first try to rename. Before, upon failure to
rename a directory, this code would never attempt to rename any
other file in that directory, but would thenceforth always copy.
On some systems (NetApp version ??), renaming a directory may fail
with EXDEV, yet renaming files within that directory to a newly-
created destination directory succeeds.

(copy_internal): Remove local, move_mode;
use x->move_mode instead.  Based on a patch from Tom Haynes.
2002-09-29 08:43:19 +00:00
Jim Meyering d7e2b7fa84 *** empty log message *** 2002-09-29 08:35:05 +00:00
Jim Meyering 9265193dd2 *** empty log message *** 2002-09-29 08:33:41 +00:00
Jim Meyering a20222cd22 . 2002-09-28 22:03:55 +00:00
Jim Meyering d7098ccf98 *** empty log message *** 2002-09-28 22:03:31 +00:00
Jim Meyering e5a2ac0f88 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
It's not necessary with autoconf-2.54.
2002-09-28 22:03:26 +00:00
Jim Meyering 885b7147cc (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2002-09-28 21:40:45 +00:00
Jim Meyering 9d78678c22 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
done via getgroups.m4's wrapper function.
2002-09-28 21:39:28 +00:00
Jim Meyering 30978dfadf update from master 2002-09-28 17:02:56 +00:00
Jim Meyering d83e894316 *** empty log message *** 2002-09-28 16:53:57 +00:00
Jim Meyering ccd5e413fb Remove file -- now it's part of autoconf-2.54 2002-09-28 16:53:25 +00:00
Jim Meyering 500ad9b9b1 *** empty log message *** 2002-09-28 16:50:43 +00:00
Jim Meyering fd5bc32835 (FAIL_ONLY_ONE_WAY): New macro. Factor out some duplication.
(main): Use it.
[case 'a']: Use strtoul rather than strtol to avoid compiler warnings.
2002-09-28 16:50:34 +00:00
Jim Meyering 6fee4452d3 *** empty log message *** 2002-09-28 16:32:31 +00:00
Jim Meyering 16b4b4f861 (begfield, limfield): Rearrange comparisons to avoid compiler warnings.
(fillbuf, keycompare): Cast literal `-1' to size_t in comparisons,
to avoid compiler warnings.
2002-09-28 16:32:23 +00:00
Jim Meyering 1060257446 (dopass): Use a uintmax_t temporary to avoid bogus compiler warnings. 2002-09-28 16:29:25 +00:00
Jim Meyering 475574011d (tail_bytes): Change type of bytes_remaining to off_t
to avoid overflow.  Reported by Hans Lermen.
2002-09-28 09:21:17 +00:00
Jim Meyering 876ff10b0c *** empty log message *** 2002-09-28 07:55:25 +00:00
Jim Meyering cd6ee8563b *** empty log message *** 2002-09-28 07:55:16 +00:00
Jim Meyering ddb038c033 (make_path): Restore umask *before* creating the final component. 2002-09-28 07:55:08 +00:00
Jim Meyering 8c10d25fd0 Fix things so `mkdir -p' can create very deep directories, e.g.,
mkdir -p $(perl -e 'print "a/" x 40000') now works.

(main): For --parents (-p), call make_path with the
entire directory name, so we don't ever require that file operations
like stat or chmod be performed on the entire command line argument.
2002-09-28 07:51:17 +00:00
Jim Meyering 7c8156ca73 *** empty log message *** 2002-09-26 08:40:44 +00:00
Jim Meyering 0327689de0 (get_ids): Use strtoul, not strtol. Remove some casts. 2002-09-26 08:39:20 +00:00
Jim Meyering d50e1a86b7 add a FIXME comment 2002-09-26 08:25:44 +00:00
Jim Meyering 2c6d700418 *** empty log message *** 2002-09-26 08:20:32 +00:00
Jim Meyering 4b0eb25d6d [! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
(UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro.
(PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than
int.  Work more efficiently if X is the same width as uintmax_t.
Do not compare X to -1, to avoid bogus compiler warning.
(get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast.
Don't assume that f_frsize and f_bsize are the same type.
2002-09-26 08:18:33 +00:00
Jim Meyering 9cc87603b9 Upgrade to gettext-0.11.5. 2002-09-25 14:34:59 +00:00