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
Jim Meyering
d4add26938
Add be (Belarusian).
2002-09-25 14:23:49 +00:00
Jim Meyering
4fcf036cb3
.
2002-09-25 14:23:02 +00:00
Jim Meyering
ca2302ece5
.
2002-09-25 14:19:03 +00:00
Jim Meyering
59e6528c22
.
2002-09-25 12:52:56 +00:00
Jim Meyering
b79c9e46a9
(jm_MACROS): Require gt_INTTYPES_PRI.
2002-09-25 12:52:45 +00:00
Jim Meyering
0b797ed056
(gt_INTTYPES_PRI): New file, mostly from gettext.
2002-09-25 12:52:24 +00:00
Jim Meyering
619a52f976
*** empty log message ***
2002-09-25 11:45:42 +00:00
Jim Meyering
b5a4f7671a
Remove unneeded parentheses around operands of `defined'.
2002-09-25 11:45:37 +00:00
Jim Meyering
d711a9e3be
*** empty log message ***
2002-09-25 08:29:57 +00:00
Jim Meyering
029b8ea75d
(safe_read): Make comment more precise: upon error, it returns -1.
2002-09-25 08:29:53 +00:00
Jim Meyering
34ba862f93
(eaccess): Change type of local `euid' from int to uid_t
...
and add a cast, to avoid a warning about `signed and unsigned type in
conditional expression'.
2002-09-25 08:23:54 +00:00
Jim Meyering
6b7e8621e2
*** empty log message ***
2002-09-24 08:50:24 +00:00
Jim Meyering
cc0a6e14fc
fmt's -s, -t, -c options didn't work properly for long lines.
...
Since get_line may end up calling put_paragraph (for long lines),
be sure to set global, `other_indent', before it is used there.
(set_other_indent): New function, factored out of...
(get_paragraph): ... here. Call it.
(get_line): Call set_other_indent before calling flush_paragraph,
which calls fmt_paragraph, which in turn calls put_paragraph,
which uses other_indent.
2002-09-24 08:50:20 +00:00
Jim Meyering
8683024a34
(make_path): Minor reformatting.
2002-09-22 07:40:28 +00:00
Jim Meyering
d8e1894335
*** empty log message ***
2002-09-22 06:59:21 +00:00
Jim Meyering
68527271a5
Include "dirname.h", for declaration of strip_trailing_slashes.
2002-09-22 06:59:13 +00:00
Jim Meyering
0f88878c11
*** empty log message ***
2002-09-22 06:48:35 +00:00
Jim Meyering
fab46cb466
(PRIdMAX, PRIuMAX): Remove definitions.
...
Now they're defined through system.h.
2002-09-22 06:48:28 +00:00