Jim Meyering
65d52b65f6
*** empty log message ***
2003-04-02 21:10:23 +00:00
Jim Meyering
bd10536e76
.
2003-04-02 21:09:04 +00:00
Jim Meyering
9d30201501
re-add it for 5.0
2003-04-02 21:08:54 +00:00
Jim Meyering
f84ed713c5
*** empty log message ***
2003-04-02 18:45:14 +00:00
Jim Meyering
8ab362dd32
*** empty log message ***
2003-04-02 18:42:12 +00:00
Jim Meyering
edba764d8f
*** empty log message ***
2003-04-02 18:22:14 +00:00
Jim Meyering
702cda63ad
*** empty log message ***
2003-04-02 18:19:56 +00:00
Jim Meyering
ba621e52e1
(false invocation): Note that false exits
...
unsuccessfully even with --help and --version.
2003-04-02 18:19:53 +00:00
Jim Meyering
0cb78db3f7
add lost log entry:
...
2002-07-20 Jim Meyering <jim@meyering.net >
* Makefile.am (false.c): Convert only the final EXIT_SUCCESS
into EXIT_FAILURE. Otherwise, false --help and false --version
would fail.
2003-04-02 18:14:04 +00:00
Jim Meyering
e78a54bc5a
*** empty log message ***
2003-04-02 18:06:39 +00:00
Jim Meyering
55277831b2
(TESTS): Add false.
2003-04-02 18:06:15 +00:00
Jim Meyering
ec3a2e9ece
.
2003-04-02 14:46:13 +00:00
Jim Meyering
78fc3d5f94
Redirect stderr to /dev/null for initial perl invocation.
2003-04-02 14:45:21 +00:00
Jim Meyering
7453dd8cba
*** empty log message ***
2003-04-02 14:43:48 +00:00
Jim Meyering
0bb2129733
(jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2003-04-02 14:43:41 +00:00
Jim Meyering
8c14c2f53f
.
2003-04-02 10:20:58 +00:00
Jim Meyering
33561fa3e4
*** empty log message ***
2003-04-02 10:11:09 +00:00
Jim Meyering
722a49ea0c
(TMPDIR): Make sure it's defined.
...
(my-distcheck): Build in $(TMPDIR), not `.'.
2003-04-02 10:10:58 +00:00
Jim Meyering
33ee26bc23
Bump version to 5.0.
2003-04-02 10:09:25 +00:00
Jim Meyering
a310f7be42
*** empty log message ***
2003-04-02 07:21:46 +00:00
Jim Meyering
206427cd38
(false.c): Change all occurrences of (EXIT_SUCCESS)' to (EXIT_FAILURE)'.
...
Reported by Paul Jarc,
2003-04-02 07:21:40 +00:00
Jim Meyering
c3c1ee6202
*** empty log message ***
2003-04-02 07:19:35 +00:00
Jim Meyering
9ec88c1b14
*** empty log message ***
2003-04-01 22:16:15 +00:00
Jim Meyering
5d5ceb37e8
(check-texinfo): Don't fail if perl is missing.
2003-04-01 22:16:10 +00:00
Jim Meyering
6f795227dc
.
2003-03-31 19:29:25 +00:00
Jim Meyering
4d6314bb53
*** empty log message ***
2003-03-31 10:59:40 +00:00
Jim Meyering
681e6be8f0
*** empty log message ***
2003-03-30 17:48:04 +00:00
Jim Meyering
727168d377
*** empty log message ***
2003-03-30 17:47:38 +00:00
Jim Meyering
f0865ef40c
Note the location of older NEWS files.
2003-03-30 17:47:26 +00:00
Jim Meyering
1d5528face
*** empty log message ***
2003-03-30 15:02:59 +00:00
Jim Meyering
bb726ef20b
(is_empty_dir): Don't let a failing closedir
...
clobber errno. Spotted by Arnold Robbins.
2003-03-30 15:02:55 +00:00
Jim Meyering
d4bac80f4d
*** empty log message ***
2003-03-30 14:04:19 +00:00
Jim Meyering
2ec96a5e83
Fix typo in comment.
2003-03-30 12:11:50 +00:00
Jim Meyering
6a1ff8af0c
.
2003-03-30 08:41:39 +00:00
Jim Meyering
99ba62166a
*** empty log message ***
2003-03-29 14:24:19 +00:00
Jim Meyering
030c740af1
Note to expect build problems for stat.c on Ultrix 4.3.
...
Note that there are some harmless test failures when running
`make check' as root on some systems.
2003-03-29 14:24:16 +00:00
Jim Meyering
44d5da2f7e
*** empty log message ***
2003-03-28 15:24:04 +00:00
Jim Meyering
5e8abb3891
Skip this test if stty can't get window size.
...
This happens when connecting to sparc-solaris2.7 via ssh from within
emacs. Reported by Karl Berry.
2003-03-28 15:23:58 +00:00
Jim Meyering
2a049a867f
*** empty log message ***
2003-03-28 14:03:26 +00:00
Jim Meyering
cf0fa2d930
Use seq, not `yes' to generate dir name.
...
Otherwise, on systems (DJGPP) that emulate pipes using files,
this test would never complete, waiting for `yes' to terminate.
2003-03-28 14:03:17 +00:00
Jim Meyering
98458bfd36
Use seq, not `yes' to generate link target.
...
Otherwise, on systems (DJGPP) that emulate pipes using files,
this test would never complete, waiting for `yes' to terminate.
2003-03-28 14:02:58 +00:00
Jim Meyering
e93c93de4e
generate 9000+ bytes, in case we ever go for 8KB of output
2003-03-28 12:55:04 +00:00
Jim Meyering
5165cd0f65
Use seq, not `yes' to generate 4KB of data.
...
Otherwise, on systems (DJGPP) that emulate pipes using files,
this test would never complete, waiting for `yes' to terminate.
2003-03-28 12:38:52 +00:00
Jim Meyering
2210b0a9de
*** empty log message ***
2003-03-28 12:29:57 +00:00
Jim Meyering
e41f61881b
*** empty log message ***
2003-03-28 10:28:52 +00:00
Jim Meyering
340ff6ec71
.
2003-03-28 10:23:28 +00:00
Jim Meyering
e8b4056312
*** empty log message ***
2003-03-28 09:44:17 +00:00
Jim Meyering
5e3a2ec4d0
*** empty log message ***
2003-03-28 09:38:54 +00:00
Jim Meyering
9864858156
*** empty log message ***
2003-03-28 09:32:21 +00:00
Jim Meyering
8bd4ff02af
*** empty log message ***
2003-03-28 09:30:46 +00:00
Jim Meyering
248735bfc4
*** empty log message ***
2003-03-28 09:18:40 +00:00
Jim Meyering
642939ab6a
*** empty log message ***
2003-03-28 07:35:50 +00:00
Jim Meyering
1040e672f1
add tests for Paul's change of Mar 24, 2003
2003-03-28 00:00:58 +00:00
Jim Meyering
b381b40c4b
*** empty log message ***
2003-03-28 00:00:34 +00:00
Jim Meyering
85ea0a3546
*** empty log message ***
2003-03-27 23:59:26 +00:00
Jim Meyering
7c740a55c6
Remove Arnold Robbins' obsolete e-mail address
...
from `written by...' comment, at his request.
2003-03-27 22:40:37 +00:00
Jim Meyering
b05fe59a8b
*** empty log message ***
2003-03-27 17:11:11 +00:00
Jim Meyering
41a6a3caff
*** empty log message ***
2003-03-27 15:55:58 +00:00
Jim Meyering
bfaee25d1f
(sort invocation): Describe sort's --stable (-s) option.
2003-03-27 15:55:55 +00:00
Jim Meyering
9ad2c98a28
*** empty log message ***
2003-03-27 14:59:37 +00:00
Jim Meyering
cb392d1022
Fix buffer overrun problem reported by TAKAI Kousuke, along
...
with some other POSIX incompatibilities.
(print_esc): Do not treat \x specially if
POSIXLY_CORRECT. Avoid buffer overrun if the format ends
in backslash. Treat incomplete escape sequences as strings
of characters, as POSIX requires.
(print_formatted): Allow multiple flags. Avoid buffer overrun
if the format is incomplete.
2003-03-27 14:59:26 +00:00
Jim Meyering
a89b7d3e83
tiny spelling fix
2003-03-27 14:00:45 +00:00
Jim Meyering
7c09897fcb
*** empty log message ***
2003-03-27 13:59:17 +00:00
Jim Meyering
fb9a0792d7
(printf invocation): Fix formatting bugs.
2003-03-27 13:59:13 +00:00
Jim Meyering
3988ba0038
*** empty log message ***
2003-03-27 10:55:18 +00:00
Jim Meyering
592a888d76
.
2003-03-27 09:50:29 +00:00
Jim Meyering
dd12de8477
.
2003-03-27 09:08:37 +00:00
Jim Meyering
8b4b8696ba
*** empty log message ***
2003-03-26 18:47:55 +00:00
Jim Meyering
2cd4a7d3cd
(struct cp_options): Add a comment.
2003-03-26 18:47:49 +00:00
Jim Meyering
8044f51ca3
Describe problem with 64-bit mode on HPUX 11.x,
...
with patch for /usr/include/inttypes.h.
2003-03-23 09:13:57 +00:00
Jim Meyering
585736ca42
Plan to add an autoconf test to work around the HPUX 11.x bug.
2003-03-23 09:13:36 +00:00
Jim Meyering
92b524013b
D'oh.
2003-03-22 22:32:12 +00:00
Jim Meyering
27b3065db1
*** empty log message ***
2003-03-22 21:32:34 +00:00
Jim Meyering
1bf7ea8fd1
Don't include <sys/sysmacros.h>.
...
That is already done via system.h. Otherwise, the multiple
inclusion would evoke redefinition warnings from Cray's /bin/cc
(Cray Standard C Version 4.0.3 (057126) Mar 22 2003 22:02:28).
(human_fstype): Factor some directives `up', out of this function.
Cast away `const' to avoid error from Cray's /bin/cc.
2003-03-22 21:32:22 +00:00
Jim Meyering
e08b6d5fe7
*** empty log message ***
2003-03-22 19:42:50 +00:00
Jim Meyering
06fc494da3
(widen): Cast alloca return value to proper type.
2003-03-22 19:42:42 +00:00
Jim Meyering
206ea8eee6
*** empty log message ***
2003-03-22 19:39:48 +00:00
Jim Meyering
d777b396b7
(NEW_PATTERN): Cast alloca to proper type.
...
Otherwise, it wouldn't compile with at least /bin/cc on
ymp-cray-unicos9.0.2.X.
Combine two mostly-identical uses of alloca into one.
2003-03-22 19:39:40 +00:00
Jim Meyering
fe2e2b71ea
*** empty log message ***
2003-03-22 19:38:00 +00:00
Jim Meyering
ed9f04cf64
*** empty log message ***
2003-03-21 15:26:21 +00:00
Jim Meyering
944ef7a2c1
*** empty log message ***
2003-03-20 17:43:16 +00:00
Jim Meyering
780ccddf5c
(print_changelog_deltas): Ensure that a newline precedes each row of `*'s.
2003-03-20 17:43:12 +00:00
Jim Meyering
9f4a054923
bump to 4.5.12 -- maybe to 5.0, later
2003-03-20 16:46:53 +00:00
Jim Meyering
c46b6369a9
.
2003-03-20 15:10:45 +00:00
Jim Meyering
216808be38
.
2003-03-20 14:56:19 +00:00
Jim Meyering
ffde892348
fix typo
2003-03-20 14:55:33 +00:00
Jim Meyering
b1b0860f20
.
2003-03-20 14:43:03 +00:00
Jim Meyering
b912c10f7a
*** empty log message ***
2003-03-20 13:52:03 +00:00
Jim Meyering
9e4472733b
*** empty log message ***
2003-03-20 13:49:42 +00:00
Jim Meyering
0568c4e2d4
(valid_format): Also accept ' and '' as valid
...
format flag characters.
Do not require that a field width be specified.
Do not fail when given a field width of `0'.
2003-03-20 13:49:39 +00:00
Jim Meyering
8fe825b787
add two more, using space flag character
2003-03-20 13:47:21 +00:00
Jim Meyering
991e476b56
.
2003-03-20 10:11:45 +00:00
Jim Meyering
8d65951aea
*** empty log message ***
2003-03-19 23:17:15 +00:00
Jim Meyering
bb6e39dc48
(all-local): Append $(EXEEXT) to use of `su'
...
(install-root): Likewise.
(install-exec-local): Likewise.
2003-03-19 23:17:12 +00:00
Jim Meyering
cf1a86162e
*** empty log message ***
2003-03-19 23:01:11 +00:00
Jim Meyering
0c7a413e4e
*** empty log message ***
2003-03-19 23:00:35 +00:00
Jim Meyering
ca85f1f994
(.x.1): Use $(LN_S) instead of 'ln -s',
...
because the DJGPP 2.03 port of 'ln -s' doesn't work.
Include $(EXEEXT) in program names.
Since $(LN_S) may degenerate to `cp -p', be careful
to invoke it from the destination directory.
Mostly from Richard Dawe.
2003-03-19 23:00:25 +00:00
Jim Meyering
3d8719b298
Use AC_PROG_LN_S.
2003-03-19 22:50:52 +00:00
Jim Meyering
d23db66508
*** empty log message ***
2003-03-19 19:38:34 +00:00
Jim Meyering
cd02bb1ec7
(AC_FUNC_FTW): Require AC_HEADER_STAT.
2003-03-19 19:38:30 +00:00
Jim Meyering
51d522533a
*** empty log message ***
2003-03-19 19:33:18 +00:00
Jim Meyering
c8e3afa388
DJGPP doesn't have S_ISLNK, so provide a replacement.
...
(S_IFMT): Define, if necessary.
[STAT_MACROS_BROKEN]: Undefine S_ISLNK.
(S_ISLNK): Define, if necessary.
2003-03-19 19:33:12 +00:00
Jim Meyering
04ac96ed14
*** empty log message ***
2003-03-19 09:11:59 +00:00
Jim Meyering
4554e2245d
*** empty log message ***
2003-03-19 09:10:42 +00:00
Jim Meyering
1564be8f74
.
2003-03-19 09:10:07 +00:00
Jim Meyering
d90ad399b7
*** empty log message ***
2003-03-19 09:09:41 +00:00
Jim Meyering
2c07dcd1e8
Include $(EXEEXT) in OPTIONAL_BIN_PROGS'
...
program names, since automake only adds $(EXEEXT) to programs
in its *_PROGRAMS. From Rich Dawe.
2003-03-19 09:06:40 +00:00
Jim Meyering
903c5ac7c9
.
2003-03-19 09:04:39 +00:00
Jim Meyering
a54791dc18
(jm_MACROS): Include $(EXEEXT) in DF_PROG's program
...
name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
Arrange to compile the corresponding stub function if fchdir is missing.
2003-03-19 09:03:40 +00:00
Jim Meyering
82fb517834
New file: trivial stub for fchdir.
...
From Rich Dawe.
2003-03-19 09:00:34 +00:00
Jim Meyering
620d2e40cc
*** empty log message ***
2003-03-19 08:15:28 +00:00
Jim Meyering
b01894ce34
Unset CDPATH. Otherwise, having the
...
CDPATH shell variable set could cause this test to fail.
2003-03-19 08:15:14 +00:00
Jim Meyering
7c76b720e8
*** empty log message ***
2003-03-19 08:14:04 +00:00
Jim Meyering
0cc6e2962d
Remove uses of `PARAMS'.
2003-03-19 08:14:02 +00:00
Jim Meyering
37e0f7ac18
(PARAMS): Remove definition and uses.
2003-03-19 08:12:47 +00:00
Jim Meyering
79feee4de5
*** empty log message ***
2003-03-19 08:11:10 +00:00
Jim Meyering
60e4df7191
Don't define __const.
...
(fnmatch): Use const, not __const in prototype.
2003-03-19 08:10:47 +00:00
Jim Meyering
c8dd553971
revert last change
2003-03-19 08:09:20 +00:00
Jim Meyering
e5f3393f3a
*** empty log message ***
2003-03-19 00:00:04 +00:00
Jim Meyering
0a72ec6c46
.
2003-03-18 19:16:34 +00:00
Jim Meyering
66937ee56b
*** empty log message ***
2003-03-18 19:12:57 +00:00
Jim Meyering
32a06622de
*** empty log message ***
2003-03-18 19:11:28 +00:00
Jim Meyering
97f17c1705
Remove lib/c-stack.c.
2003-03-18 19:11:25 +00:00
Jim Meyering
1fe585c5df
.
2003-03-18 17:48:02 +00:00
Jim Meyering
081b3c96ef
(read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
...
error from mntctl.
Use mntctl's return value to drive the entry-processing loop, since
we can't rely on the value of the vmt_length member in the last
entry. On some systems doing so could result in an infinite loop.
Based in part on a patch from Mike Jetzer.
2003-03-18 17:47:06 +00:00
Jim Meyering
f36cebb7df
*** empty log message ***
2003-03-18 17:14:42 +00:00
Jim Meyering
4e3aebb74a
(jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
...
test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
systems would end up using the latter. MOUNTED_GETMNTENT1 support
is inadequate on such systems: 1) detecting whether a file system
is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
merely /MOUNT_POINT. Reported by Mike Jetzer.
2003-03-18 17:14:31 +00:00
Jim Meyering
b9c866ac1a
undo mountlist.h change
2003-03-18 17:04:18 +00:00
Jim Meyering
5f4059d425
undo last change
2003-03-18 17:04:04 +00:00
Jim Meyering
8be6d87354
.
2003-03-18 15:40:34 +00:00
Jim Meyering
5f3bedb89a
(excluded_filename): Define and use typedef to
...
avoid type mismatch in conditional expression.
2003-03-18 15:40:13 +00:00
Jim Meyering
336a1e2dad
*** empty log message ***
2003-03-18 15:39:58 +00:00
Jim Meyering
dc872b1ebe
(ME_REMOTE): Recognize as remote any file system
...
that has an Fs_type with the `nfs' (any case) prefix.
This is necessary at least for AIX 5.1 when it uses the
MOUNTED_GETMNTENT1 code. Reported by Mike Jetzer.
2003-03-18 15:39:45 +00:00
Jim Meyering
3c13c953a8
.
2003-03-18 08:53:59 +00:00
Jim Meyering
837fc9bfa5
(quote_n): Fix typo in comment.
2003-03-18 08:49:12 +00:00
Jim Meyering
e94edefba1
*** empty log message ***
2003-03-18 08:44:07 +00:00
Jim Meyering
ba84092326
[struct Word] (paren, period, punct, final): Change the
...
type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1.
AIX 5.1's xlc could not compile the former.
2003-03-18 08:43:57 +00:00
Jim Meyering
8f33b715b1
*** empty log message ***
2003-03-18 08:27:50 +00:00
Jim Meyering
b596a7b153
*** empty log message ***
2003-03-17 21:50:33 +00:00
Jim Meyering
01b5986293
(raise): Rename from rpl_raise.
...
Without that change, systems lacking raise (SunOS4) would not be
able to link programs using raise. Reported by Volker Borchert.
2003-03-17 21:50:30 +00:00
Jim Meyering
d06c77002c
*** empty log message ***
2003-03-17 21:32:42 +00:00
Jim Meyering
be1c943e9a
*** empty log message ***
2003-03-17 21:03:17 +00:00
Jim Meyering
e01be0a128
(FTW_STAT): Rename from `STAT', to avoid conflict
...
with STAT definition from <sys/dir.h> on AIX 5.1.
2003-03-17 21:00:48 +00:00
Jim Meyering
67b77b54e5
*** empty log message ***
2003-03-17 19:47:45 +00:00
Jim Meyering
ad51076699
*** empty log message ***
2003-03-17 19:46:20 +00:00
Jim Meyering
947851c136
*** empty log message ***
2003-03-17 19:28:35 +00:00
Jim Meyering
70c7e4f3e8
(UTILS_FUNC_DIRFD): Test the cache variable, not one
...
that is guaranteed to be `no'. Use `no_such_member' to indicate
that condition, rather than `-1' which is slightly misleading.
Change the name of the cache variable to have the gl_ prefix.
Prompted by a patch from Richard Dawe for DJGPP.
2003-03-17 19:28:31 +00:00
Jim Meyering
49475d0eea
*** empty log message ***
2003-03-17 19:21:33 +00:00
Jim Meyering
bb0dd792a3
(readlink): Put function type on its own line.
2003-03-17 19:21:28 +00:00
Jim Meyering
f3ad658b98
(lstat): Put function type on its own line.
2003-03-17 19:21:13 +00:00
Jim Meyering
f9cfbe069c
(fchown): Put function type on its own line.
2003-03-17 19:21:01 +00:00
Jim Meyering
2de612e2d0
*** empty log message ***
2003-03-16 10:16:28 +00:00
Jim Meyering
5151ce79b2
(rm): Put two local variables in static storage,
...
so they can't be clobbered by the potential longjmp.
2003-03-16 10:16:14 +00:00
Jim Meyering
a32544a77f
.
2003-03-15 10:41:10 +00:00
Jim Meyering
3b424797bc
.
2003-03-15 10:40:43 +00:00
Jim Meyering
bc72fc72a1
*** empty log message ***
2003-03-15 10:20:18 +00:00
Jim Meyering
4dae9f5284
*** empty log message ***
2003-03-15 10:18:28 +00:00
Jim Meyering
ba8161db2b
(gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.
2003-03-15 10:18:21 +00:00
Jim Meyering
cb8af7fe26
remove unnecessary trailing backslash
2003-03-15 10:13:05 +00:00
Jim Meyering
58153c43df
(gnu_rel_host): Fix code to match the comment
...
so that a version number with a two-digit component can still count
as an alpha release.
2003-03-15 10:11:04 +00:00
Jim Meyering
fbf699624a
*** empty log message ***
2003-03-14 20:45:07 +00:00
Jim Meyering
2da403eb07
(jm_PREREQ): Also forbid the gl_[A-Z] prefix.
...
Don't require jm_PREREQ_C_STACK.
2003-03-14 20:45:03 +00:00
Jim Meyering
261df8b8d6
*** empty log message ***
2003-03-14 20:33:54 +00:00
Jim Meyering
518c982d88
(libfetish_a_SOURCES): Remove unused files: c-stack.c, c-stack.h.
2003-03-14 20:33:44 +00:00
Jim Meyering
b9fa45f2b0
remove ansi2knr junk
2003-03-14 20:23:12 +00:00
Jim Meyering
3a87bec119
*** empty log message ***
2003-03-14 20:15:32 +00:00
Jim Meyering
a37bc433f1
*** empty log message ***
2003-03-14 20:14:00 +00:00
Jim Meyering
4968b1607c
(AUTOMAKE_OPTIONS): Remove definition --
...
before it pointed to ../src/ansi2knr.
2003-03-14 20:11:41 +00:00
Jim Meyering
711674a112
*** empty log message ***
2003-03-14 20:10:33 +00:00
Jim Meyering
f406bff3f9
.
2003-03-14 20:10:15 +00:00
Jim Meyering
82faf15e5a
*** empty log message ***
2003-03-14 15:40:40 +00:00
Jim Meyering
daab2ee487
(prev_version_file): Don't use ?= for this particular
...
assignment, since it causes trouble with old versions of GNU make
(e.g. 3.76.1). The other uses of `?=' are inoffensive. Details here.
http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html
Patch from Alexandre Duret-Lutz.
2003-03-14 15:40:34 +00:00
Jim Meyering
a6fe60683e
*** empty log message ***
2003-03-14 13:56:33 +00:00
Jim Meyering
52ebb61da8
.
2003-03-14 13:54:36 +00:00
Jim Meyering
f69ed27d62
.
2003-03-14 13:16:21 +00:00
Jim Meyering
acf7bd48ce
*** empty log message ***
2003-03-14 12:52:19 +00:00
Jim Meyering
3cb04081fb
Include "xalloc.h".
2003-03-14 12:52:13 +00:00
Jim Meyering
766de40ee7
*** empty log message ***
2003-03-14 09:54:48 +00:00
Jim Meyering
dfd085aa0d
Merge changes from Bison.
...
(__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
2003-03-14 09:54:39 +00:00
Jim Meyering
ee3bda46f8
.
2003-03-14 09:50:49 +00:00
Jim Meyering
a85b65745b
[from gnulib]
...
(m4_quote): New macro.
(AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
Quote AC_FOREACH variable-expansions properly.
2003-03-14 09:50:43 +00:00
Jim Meyering
61d848b5c4
bump to 4.5.11
2003-03-14 09:45:37 +00:00
Jim Meyering
b1064596b4
(main): Label the compressed source URLs.
2003-03-14 09:44:59 +00:00
Jim Meyering
5b50817cd5
.
2003-03-14 08:37:36 +00:00
Jim Meyering
e50a5bac4a
.
2003-03-14 08:13:06 +00:00
Jim Meyering
e81983cdf2
*** empty log message ***
2003-03-14 07:56:15 +00:00
Jim Meyering
e4a76f1076
Relax the test for the `local'ness of a file system,
...
so that now it works also for tmpfs.
2003-03-14 07:56:09 +00:00
Jim Meyering
b38d8f4a44
Transform output from first du, so that this
...
test doesn't fail on file systems like tmpfs that order directory
entries differently.
2003-03-14 06:54:37 +00:00
Jim Meyering
4f6b47eb0b
sort du output, in case f1 and f2 are listed in a different order
2003-03-14 06:50:28 +00:00
Jim Meyering
37fce4800e
reformat a little
2003-03-14 06:48:13 +00:00
Jim Meyering
971302bb61
.
2003-03-13 21:25:48 +00:00
Jim Meyering
5cd9c80dff
*** empty log message ***
2003-03-13 21:06:06 +00:00
Jim Meyering
689922fc01
Work around what appears to be an NFS failure that
...
would make this test fail on some systems.
2003-03-13 21:05:59 +00:00
Jim Meyering
419e214799
.
2003-03-13 13:16:15 +00:00
Jim Meyering
4949f06ed4
*** empty log message ***
2003-03-13 13:16:04 +00:00
Jim Meyering
0a604bf564
tweak wording
2003-03-13 13:15:56 +00:00
Jim Meyering
814ec278fc
(shred invocation): Mention that --exact
...
is now the default for non-regular files.
2003-03-13 13:14:40 +00:00
Jim Meyering
0ac35ac0b7
*** empty log message ***
2003-03-13 13:08:19 +00:00
Jim Meyering
2e836b19be
*** empty log message ***
2003-03-13 13:07:15 +00:00
Jim Meyering
30593686a8
.
2003-03-13 13:07:11 +00:00
Jim Meyering
7bf2a1ab85
*** empty log message ***
2003-03-13 13:06:50 +00:00
Jim Meyering
4f5960c9fb
(jm_MACROS): Arrange to compile the corresponding stub
...
function if any of the following is missing: fchown, lstat, readlink.
From Richard Dawe.
2003-03-13 13:06:44 +00:00
Jim Meyering
2506805702
.
2003-03-12 23:14:15 +00:00
Jim Meyering
0baa107ac9
*** empty log message ***
2003-03-12 09:47:23 +00:00
Jim Meyering
95ca880e12
*** empty log message ***
2003-03-11 22:54:36 +00:00
Jim Meyering
97002b08a8
Make the test file exactly 4k bytes long.
2003-03-11 22:20:54 +00:00
Jim Meyering
73408e50af
*** empty log message ***
2003-03-11 22:12:42 +00:00
Jim Meyering
28a2492860
*** empty log message ***
2003-03-11 22:12:38 +00:00
Jim Meyering
a988982b19
(longopts): Don't hard-code `2' here.
...
Instead, just specify `&verbose', and ...
(main): ... remove the `case 2:' block for --verbose.
2003-03-11 20:48:36 +00:00
Jim Meyering
872d765633
*** empty log message ***
2003-03-11 20:34:29 +00:00
Jim Meyering
89c8181527
*** empty log message ***
2003-03-11 20:31:53 +00:00
Jim Meyering
257b85ca8e
Don't segfault for a negative field width or precision in format string.
...
(UNSPECIFIED): Define.
(print_direc): Use the special value, UNSPECIFIED, to indicate
that field_width or precision has not been specified.
(print_formatted): Fail if field_width or precision is the
special value, UNSPECIFIED.
2003-03-11 20:25:18 +00:00
Jim Meyering
09ad938a09
*** empty log message ***
2003-03-11 20:23:38 +00:00
Jim Meyering
4a3dc4c76c
Make the test larger than 64 bytes, so that we don't
...
immediately disqualify file systems (e.g., NetApp) on which smaller
files take up zero disk blocks.
2003-03-11 20:23:31 +00:00
Jim Meyering
3850874bf0
*** empty log message ***
2003-03-11 17:08:50 +00:00
Jim Meyering
a0528d8bf2
*** empty log message ***
2003-03-11 10:08:21 +00:00
Jim Meyering
d7103af2bc
Include <wchar.h>. Needed for UnixWare 7.1.1.
...
Reported by John Hughes, see
http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html
2003-03-11 10:08:15 +00:00
Jim Meyering
0f48190f5d
*** empty log message ***
2003-03-11 10:07:21 +00:00
Jim Meyering
c7cb614727
(EXIT_FAILURE): Define if the system doesn't.
...
Reported by Bruce Becker; see:
http://mail.gnu.org/archive/html/bug-bison/2003-03/msg00017.html
2003-03-11 10:07:17 +00:00
Jim Meyering
2cfe7f19eb
*** empty log message ***
2003-03-10 18:27:27 +00:00
Jim Meyering
1a91a03bd0
*** empty log message ***
2003-03-10 18:26:16 +00:00
Jim Meyering
f089969ec9
Add a test for the above-fixed bug.
2003-03-10 12:24:59 +00:00
Jim Meyering
b44a6e8565
(INT_MIN): Define, if necessary.
2003-03-10 10:41:24 +00:00
Jim Meyering
cbc5ba67a5
*** empty log message ***
2003-03-10 10:39:31 +00:00
Jim Meyering
f380405cb6
.
2003-03-10 07:53:39 +00:00
Jim Meyering
3d23ede4eb
Include "save-cwd.h".
...
(ftw_startup): Avoid use of getcwd, if possible.
Instead, use fopen/fchdir via save_cwd/restore_cwd.
2003-03-09 09:22:55 +00:00
Jim Meyering
ff47d1602f
*** empty log message ***
2003-03-09 09:14:25 +00:00
Jim Meyering
79cb935030
fix typo in comment
2003-03-09 07:56:29 +00:00
Jim Meyering
b834bcfc65
*** empty log message ***
2003-03-09 07:54:43 +00:00
Jim Meyering
ac6d593d59
*** empty log message ***
2003-03-09 07:14:28 +00:00
Jim Meyering
25697ff274
(AD_stack_pop): Cast sizeof... to int before changing its sign.
...
This avoids a warning from gcc on 64-bit systems.
(pop_dir): Reverse order of sign change and cast, to be consistent
with the above.
2003-03-09 07:14:19 +00:00
Jim Meyering
5a7ffbd8f9
*** empty log message ***
2003-03-08 21:22:40 +00:00
Jim Meyering
cf79b808df
(evar-check): Check for POSIXLY_CORRECT not as a
...
shell variable, but only in the environment. With /bin/sh->bash, the
shell variable is set to `y', and that would cause a spurious warning.
2003-03-08 21:22:25 +00:00
Jim Meyering
79d95ae843
*** empty log message ***
2003-03-08 21:04:11 +00:00
Jim Meyering
183fe2386d
*** empty log message ***
2003-03-08 19:02:46 +00:00
Jim Meyering
30ccf7222a
Require at least version 1.11 of Expect.pm.
...
Old versions of Expect.pm (e.g., 1.07) lack the log_user function.
Patch by Bob Proulx.
2003-03-08 19:02:38 +00:00
Jim Meyering
34a6d6e2dd
Before, when using shred on a device, one had to specify --exact,
...
or be careful to choose a size that would not be rounded up and
exceed the maximum value; that could result in a failure of
the final write.
(do_wipefd): --exact is now the default for non-regular
files. Suggestion from Ben Elliston.
(usage): Say it.
2003-03-08 16:57:55 +00:00
Jim Meyering
4dffef72e6
*** empty log message ***
2003-03-08 16:55:50 +00:00
Jim Meyering
9d3548a908
(check-root): Remove touch/fifo.
...
It doesn't appear to have to be run as root.
2003-03-08 16:55:42 +00:00
Jim Meyering
c440afd9f8
*** empty log message ***
2003-03-08 16:44:04 +00:00
Jim Meyering
e02625cb79
*** empty log message ***
2003-03-08 16:43:52 +00:00
Jim Meyering
c86bae2a59
*** empty log message ***
2003-03-08 16:43:48 +00:00
Jim Meyering
6df9b9041d
Rather than simply using the first non-root
...
username, make sure that the selected user name has a usable shell.
2003-03-08 16:43:43 +00:00
Jim Meyering
777ac50d21
*** empty log message ***
2003-03-08 15:47:57 +00:00
Jim Meyering
b01a17f9b4
*** empty log message ***
2003-03-08 15:32:23 +00:00
Jim Meyering
f31336c193
Also check for the log_user method, to avoid
...
spurious failure when using an old version of Expect.pm (e.g., 1.07).
Reported by Bob Proulx.
2003-03-08 15:32:17 +00:00
Jim Meyering
cb1dcb5818
.
2003-03-08 14:32:57 +00:00
Jim Meyering
3e9e352991
Remove now-unused #include and #define directives.
2003-03-08 14:30:28 +00:00
Jim Meyering
79065539dd
(check-misc): Check for use of `defined' in #define directives.
...
Change to $(srcdir) before running grep.
2003-03-08 14:30:14 +00:00
Jim Meyering
eff5758aaf
Don't use `defined' in a #define directive.
2003-03-08 14:26:48 +00:00
Jim Meyering
ec655b669f
*** empty log message ***
2003-03-08 10:28:41 +00:00
Jim Meyering
9d7d671604
.
2003-03-08 10:27:19 +00:00
Jim Meyering
5abd02fef6
*** empty log message ***
2003-03-08 10:26:32 +00:00
Jim Meyering
e4c02ba583
*** empty log message ***
2003-03-08 10:25:25 +00:00
Jim Meyering
a3a6a035d1
.
2003-03-08 10:24:00 +00:00
Jim Meyering
04c9a5c2e4
Ensure that hard links _are_ listed twice when using --count-links.
2003-03-08 10:23:45 +00:00
Jim Meyering
66bada849b
(process_file): If a file's size is not being counted
...
e.g., because it's a hard link to a file we've already counted,
then don't print a line for it.
2003-03-08 10:21:19 +00:00
Jim Meyering
07f4993bfb
*** empty log message ***
2003-03-08 10:18:26 +00:00
Jim Meyering
6c1a78b5d6
`du -S' didn't work
...
Revert most of the `reorganization' change of 2003-02-20,
and make the two-array approach work.
2003-03-08 10:18:19 +00:00
Jim Meyering
8f683f9314
*** empty log message ***
2003-03-08 10:14:33 +00:00
Jim Meyering
0da302c05a
*** empty log message ***
2003-03-08 10:10:59 +00:00
Jim Meyering
12a14ef034
*** empty log message ***
2003-03-08 10:10:09 +00:00
Jim Meyering
72dc1cec94
(TESTS): Add hard-link.
2003-03-08 09:56:14 +00:00
Jim Meyering
d53c43f440
*** empty log message ***
2003-03-08 09:50:12 +00:00
Jim Meyering
3ba019fec5
.
2003-03-08 09:48:27 +00:00
Jim Meyering
5fb608bc08
Correct/add tests for the above fix.
...
Set LC_ALL, etc, now that we use sort.
Check the block/size of a small file, too.
Correct expected results for simple dir1/dir2/file case.
Add another test of du -S.
2003-03-08 08:39:07 +00:00
Jim Meyering
e20876e2ca
.
2003-03-07 23:48:40 +00:00
Jim Meyering
7c8f779ea4
remove mmap-stack.c
2003-03-07 23:43:09 +00:00
Jim Meyering
a36e686371
*** empty log message ***
2003-03-07 23:42:35 +00:00
Jim Meyering
684f41944e
.
2003-03-07 23:37:10 +00:00
Jim Meyering
6d842c09f0
*** empty log message ***
2003-03-07 23:36:49 +00:00
Jim Meyering
c647d81837
*** empty log message ***
2003-03-07 23:26:35 +00:00
Jim Meyering
a1134e1eb6
(print_it): Use putchar, not fputs, to output a single character.
2003-03-07 23:24:53 +00:00
Jim Meyering
b24b4b4d59
(dired_dump_obstack): Use putchar, not fputs, to output a single character.
2003-03-07 23:22:54 +00:00
Jim Meyering
a98f67970e
(usage): Use putchar, not fputs, to output a single character.
2003-03-07 23:22:14 +00:00
Jim Meyering
aec039a4c1
(output_one_tex_line, output_one_dumb_line):
...
Use putchar, not fputs, to output a single character.
2003-03-07 23:21:45 +00:00
Jim Meyering
792f321a7a
*** empty log message ***
2003-03-07 20:01:46 +00:00
Jim Meyering
2b1a18e682
Remove everything associated with mmap-stack.c.
...
This reverts the two changes of 2003-02-21.
2003-03-07 20:01:35 +00:00
Jim Meyering
07434548fa
*** empty log message ***
2003-03-07 19:53:59 +00:00
Jim Meyering
3450fcb4f5
Don't require AC_SYS_MMAP_STACK.
2003-03-07 19:52:19 +00:00
Jim Meyering
f7fcb90822
(AC_LANG_SOURCE(C)): New macro.
2003-03-07 19:52:03 +00:00
Jim Meyering
cb79312b0c
.
2003-03-07 19:51:00 +00:00
Jim Meyering
b29dc802f7
(libfetish_a_SOURCES): Remove mmap-stack.h.
2003-03-07 19:49:56 +00:00
Jim Meyering
300807cd2f
.
2003-03-07 19:49:20 +00:00
Jim Meyering
bce28b3573
*** empty log message ***
2003-03-07 19:47:24 +00:00
Jim Meyering
6d1bd5a97d
Remove everything associated with mmap-stack.c.
...
This reverts the change of 2003-02-19.
2003-03-07 19:47:18 +00:00
Jim Meyering
9631f28a53
*** empty log message ***
2003-03-07 13:01:02 +00:00
Jim Meyering
3d3879d118
Test the -S option using a hierarchy containing files, too,
...
not just directories.
2003-03-07 12:59:30 +00:00
Jim Meyering
390a0fb48d
*** empty log message ***
2003-03-07 10:16:50 +00:00
Jim Meyering
5635524114
#undef getcwd only after *all* included header files.
...
Declare getcwd unconditionally.
2003-03-07 10:13:55 +00:00
Jim Meyering
5fb9e06a4a
*** empty log message ***
2003-03-07 09:57:33 +00:00
Jim Meyering
4c2704b8cd
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
2003-03-07 09:57:29 +00:00
Jim Meyering
80ddb4bed4
*** empty log message ***
2003-03-07 09:52:34 +00:00
Jim Meyering
32ae6e8565
(same_name): Remove unnecessary inclusion of config.h.
...
It also happened to lead to infinite recursion in getcwd.c.
(PARAMS): Remove definition and use.
2003-03-07 09:52:28 +00:00
Jim Meyering
473d0baa73
undo last change
2003-03-06 22:24:06 +00:00
Jim Meyering
b4e7a90ce6
#undef getcwd before including system headers.
...
This avoid a build failure on IRIX 6.5. Reported by Nelson Beebe.
2003-03-06 22:23:26 +00:00
Jim Meyering
08e9a37430
*** empty log message ***
2003-03-06 22:04:54 +00:00
Jim Meyering
a63a083879
[!HAVE_DECL_GETCWD]: Declare getcwd.
2003-03-06 22:04:45 +00:00
Jim Meyering
a319b6a626
*** empty log message ***
2003-03-06 22:04:23 +00:00
Jim Meyering
9f0f14d1d6
(GL_FUNC_GETCWD_PATH_MAX): Check for declaration of getcwd.
2003-03-06 22:04:19 +00:00
Jim Meyering
c71e43ce1d
*** empty log message ***
2003-03-06 14:14:22 +00:00
Jim Meyering
b70ecc4de1
Fix a bug that causes du to dump core on 64-bit systems.
...
(ftw_startup): Declare `func' parameter to be of type
NFTW_FUNC_T, not void* which may be smaller on 64-bit systems.
Remove now-unnecessary cast.
(FTW_NAME): Cast func argument to type `NFTW_FUNC_T'.
2003-03-06 14:14:16 +00:00
Jim Meyering
ce8758e12c
*** empty log message ***
2003-03-06 07:44:00 +00:00
Jim Meyering
00709b8fa2
Unset CDPATH. Otherwise, having the
...
CDPATH shell variable set could cause this test to fail.
2003-03-06 07:43:45 +00:00
Jim Meyering
4e38ca53ee
bump to 4.5.10
2003-03-05 20:46:39 +00:00
Jim Meyering
f4991fd3ca
.
2003-03-05 18:05:04 +00:00
Jim Meyering
a7135a8d95
.
2003-03-05 17:50:06 +00:00
Jim Meyering
57bdc54b21
(print_esc): Remove pointless comparison of unsigned
...
integer with zero, to avoid a warning from Intel's ecc.
2003-03-05 17:44:08 +00:00
Jim Meyering
8e111ca309
.
2003-03-05 13:12:02 +00:00
Jim Meyering
0b41ba4064
*** empty log message ***
2003-03-05 11:06:41 +00:00
Jim Meyering
09fb1e2d6e
(ARRAY_SIZE): Define it.
2003-03-05 11:06:18 +00:00
Jim Meyering
5bc14b90c6
add comment
2003-03-05 10:48:41 +00:00
Jim Meyering
9bd9db554a
fix logic error
2003-03-05 10:45:38 +00:00
Jim Meyering
4e8dbeb934
#undef mkdir to avoid link errors on
...
i386-unknown-netbsdelf1.6
2003-03-05 10:29:38 +00:00
Jim Meyering
3179bd60e7
.
2003-03-05 09:25:26 +00:00
Jim Meyering
3369a3e58c
.
2003-03-05 09:05:38 +00:00
Jim Meyering
e50251a361
more variable renaming: use gl_ prefix
2003-03-05 09:05:08 +00:00
Jim Meyering
9e4307423e
.
2003-03-05 09:04:43 +00:00
Jim Meyering
f5f28cd4a8
*** empty log message ***
2003-03-05 09:03:58 +00:00
Jim Meyering
ef2d0f022d
*** empty log message ***
2003-03-05 09:02:24 +00:00
Jim Meyering
c3410e9d59
*** empty log message ***
2003-03-05 08:58:20 +00:00
Jim Meyering
710f4eabd6
*** empty log message ***
2003-03-05 08:57:50 +00:00
Jim Meyering
cba636cfe0
rename
2003-03-05 08:36:35 +00:00
Jim Meyering
66d86350c4
name changes
...
add comments
fix logic
2003-03-05 08:35:36 +00:00
Jim Meyering
51a43a8c56
rename to GL_FUNC_GETCWD_PATH_MAX
2003-03-05 08:33:24 +00:00
Jim Meyering
60660ec79c
comments
2003-03-05 08:19:10 +00:00
Jim Meyering
fad0f0f131
*** empty log message ***
2003-03-05 08:13:34 +00:00
Jim Meyering
a82b32cb9a
.
2003-03-05 08:08:35 +00:00
Jim Meyering
b15bf36cee
*** empty log message ***
2003-03-05 07:43:36 +00:00
Jim Meyering
82fba3787f
use better sed expressions
2003-03-05 07:38:10 +00:00
Jim Meyering
c2c397d96f
.
2003-03-05 07:25:57 +00:00
Jim Meyering
998e0827e4
comments
2003-03-05 07:24:22 +00:00
Jim Meyering
6d53130e35
*** empty log message ***
2003-03-05 07:15:34 +00:00
Jim Meyering
f921b7474d
(TESTS): Add 8gb.
2003-03-05 07:15:30 +00:00
Jim Meyering
3fcd54f545
*** empty log message ***
2003-03-05 07:14:41 +00:00
Jim Meyering
64baf18b09
(process_file): Sizes must all be of type uintmax_t.
...
Otherwise, for files or totals that are too big, numbers would
be truncated. Patch mostly by Michael Stone.
2003-03-05 06:35:18 +00:00
Jim Meyering
05c18320d7
*** empty log message ***
2003-03-05 06:34:08 +00:00
Jim Meyering
53ad087cdb
*** empty log message ***
2003-03-04 23:02:42 +00:00
Jim Meyering
cd4c7725a8
*** empty log message ***
2003-03-04 23:02:16 +00:00
Jim Meyering
47fa65c648
(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.
2003-03-04 23:02:08 +00:00
Jim Meyering
68b5e00c0c
*** empty log message ***
2003-03-04 22:25:14 +00:00
Jim Meyering
eb399d45af
Refer new feature discussion to bug-coreutils@gnu.org, rather than
...
bug-gnu-utils, now that the former is better known.
2003-03-04 22:25:11 +00:00
Jim Meyering
b4f567deb9
(usage): Capitalize consistently.
2003-03-04 22:22:19 +00:00
Jim Meyering
18c3ace4b9
.
2003-03-04 22:02:42 +00:00
Jim Meyering
abac4c9182
*** empty log message ***
2003-03-04 21:58:11 +00:00
Jim Meyering
50f317767f
(rel-files): Include $(signatures), so that
...
those files are also copied into $(release_archive_dir).
2003-03-04 21:58:05 +00:00
Jim Meyering
72c2590f6f
*** empty log message ***
2003-03-04 21:53:04 +00:00
Jim Meyering
51c121e352
*** empty log message ***
2003-03-04 21:46:40 +00:00
Jim Meyering
0c0252d8fd
.
2003-03-04 21:44:07 +00:00
Jim Meyering
fa2e6d600c
*** empty log message ***
2003-03-04 21:42:29 +00:00
Jim Meyering
b71a7bfd31
.
2003-03-04 21:40:33 +00:00
Jim Meyering
ac44ebc2f7
*** empty log message ***
2003-03-04 21:30:34 +00:00
Jim Meyering
e628a56597
(AD_pop_and_chdir): Call error here, now that restore_cwd no longer does it.
2003-03-04 21:30:27 +00:00
Jim Meyering
5ef70ce637
(find_mount_point): Call error here, now that restore_cwd no longer does it.
2003-03-04 21:29:56 +00:00
Jim Meyering
541c6da4ba
*** empty log message ***
2003-03-04 21:29:16 +00:00
Jim Meyering
ca1b088722
(CLEANUP_CWD): Call error here, now that restore_cwd no longer does it.
2003-03-04 21:29:13 +00:00
Jim Meyering
6c08bfe83f
(restore_cwd): Update prototype.
2003-03-04 21:27:55 +00:00
Jim Meyering
7820b193f6
(restore_cwd): Remove two parameters.
...
Simplify. Don't call error upon failure. Let callers do that.
(save_cwd): Mention that Irix 5.3 has the same problem as SunOS4
when auditing is enabled. But don't bother updating the #if.
2003-03-04 21:27:34 +00:00
Jim Meyering
88410798e7
.
2003-03-04 19:53:40 +00:00
Jim Meyering
dc5916a65f
(TESTS): Add fail-2eperm.
2003-03-04 19:52:20 +00:00
Jim Meyering
25481dc08c
*** empty log message ***
2003-03-04 19:50:29 +00:00
Jim Meyering
1c4009dc9d
(check-root): Add fail-2eperm.
2003-03-04 19:50:23 +00:00
Jim Meyering
74d2292171
*** empty log message ***
2003-03-04 19:49:35 +00:00
Jim Meyering
4c1d653416
.
2003-03-04 19:35:41 +00:00
Jim Meyering
ed1780effe
*** empty log message ***
2003-03-04 18:08:06 +00:00
Jim Meyering
d68a9cf4e9
Improve comment.
2003-03-04 18:07:59 +00:00
Jim Meyering
59bd90b877
*** empty log message ***
2003-03-04 18:07:52 +00:00
Jim Meyering
d7b57a7571
*** empty log message ***
2003-03-04 18:00:42 +00:00
Jim Meyering
4b7f5815ef
*** empty log message ***
2003-03-04 17:54:19 +00:00
Jim Meyering
c4893e2b08
Require GL_FUNC_GETCWD_ROBUST.
2003-03-04 17:54:15 +00:00
Jim Meyering
6e31d6f5a5
add comment
2003-03-04 17:21:33 +00:00
Jim Meyering
618481ca0c
*** empty log message ***
2003-03-04 17:18:13 +00:00
Jim Meyering
59ae46343b
*** empty log message ***
2003-03-04 09:18:02 +00:00
Jim Meyering
f31ebeed31
`df /some/mount-point' no longer hangs when an unrelated hard-mount
...
is unavailable
[__GLIBC__]: GNU libc's statvfs stats each mount point in
/proc/mounts until it finds one with matching device number. This is
unnecessary when the FILE argument *is* a mount point. No stat call
is necessary in that case. So, disable the statvfs-testing code on
systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
as RedHat bug# 84846.
2003-03-04 09:16:35 +00:00
Jim Meyering
8617b0d590
*** empty log message ***
2003-03-04 09:16:11 +00:00
Jim Meyering
fa081ec19e
*** empty log message ***
2003-03-04 08:27:31 +00:00
Jim Meyering
224794bba6
*** empty log message ***
2003-03-03 20:04:20 +00:00
Jim Meyering
4756c070ad
(remove_cwd_entries): Include the full filename of
...
the offending file, not just the basename.
2003-03-03 20:03:43 +00:00
Jim Meyering
e7a2d01f98
*** empty log message ***
2003-03-03 10:39:15 +00:00
Jim Meyering
a6b030577b
Set $ME properly.
2003-03-03 10:39:02 +00:00
Jim Meyering
7b5ef3e75d
(tag-prev-version, prev-cvs-tag): Remove now-unused variables.
2003-03-03 09:49:37 +00:00
Jim Meyering
2f6403d671
(THIS_VERSION_REGEXP, PREV_VERSION_REGEXP): Remove now-unused variables.
2003-03-03 09:48:12 +00:00
Jim Meyering
872b3a4109
*** empty log message ***
2003-03-03 09:06:28 +00:00
Jim Meyering
1678b8382e
(remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give an
...
accurate diagnostic when failing to remove a file owned by some other
user. Reported by Ivo Timmermans via Michael Stone.
This fixes Debian bug# 178471.
2003-03-03 07:55:33 +00:00
Jim Meyering
5e9ae632a4
*** empty log message ***
2003-03-03 07:55:14 +00:00
Jim Meyering
2afb270a28
*** empty log message ***
2003-03-03 07:53:35 +00:00
Jim Meyering
23e0d08815
*** empty log message ***
2003-03-02 22:04:31 +00:00
Jim Meyering
76f851c979
fix typo in comment
2003-03-02 21:29:33 +00:00
Jim Meyering
af5c78f1c9
(TESTS): Add hard-3.
2003-03-02 21:27:48 +00:00
Jim Meyering
16403723ad
tweak wording in last change
2003-03-02 18:09:22 +00:00
Jim Meyering
f4d210ebe8
*** empty log message ***
2003-03-02 18:04:16 +00:00
Jim Meyering
345481344c
(Exit status): New section.
2003-03-02 18:04:03 +00:00
Jim Meyering
123cec6105
*** empty log message ***
2003-03-02 10:06:43 +00:00
Jim Meyering
49e5543e9d
*** empty log message ***
2003-03-02 10:06:00 +00:00
Jim Meyering
5d1c377779
.
2003-03-02 10:04:48 +00:00
Jim Meyering
b254cdd31d
*** empty log message ***
2003-03-02 06:09:39 +00:00
Jim Meyering
8c0f326660
(copy_internal) [un_backup]: When recovering from a
...
failure to create a hard link, do not remove the entry associating
the source dev/ino with the destination file name.
2003-03-02 06:09:28 +00:00
Jim Meyering
d8fd301dea
add comments
2003-03-02 05:59:23 +00:00
Jim Meyering
b1e5afbaef
fix tpyo
2003-03-01 21:28:39 +00:00
Jim Meyering
aa1ae08fc5
(print_header): Don't embed spaces in a separate `Type'
...
header string. Instead, put `Filesystem' and `Type' headers in the
same string, so translators can use horizontal space as needed.
2003-03-01 21:20:57 +00:00
Jim Meyering
5f80e10645
*** empty log message ***
2003-03-01 13:19:03 +00:00
Jim Meyering
25a2ac8e3e
*** empty log message ***
2003-03-01 13:18:25 +00:00
Jim Meyering
fa6cfd2ef3
*** empty log message ***
2003-02-28 21:46:49 +00:00
Jim Meyering
a1d2e330ec
(copy_internal): When link fails because of an
...
existing destination file, unlink that file and try again.
2003-02-28 21:36:18 +00:00
Jim Meyering
1fce29ae93
also test cp
2003-02-28 21:34:15 +00:00
Jim Meyering
4b08f97c49
*** empty log message ***
2003-02-28 21:24:49 +00:00
Jim Meyering
7323ae775c
(TESTS): Add hard-2.
2003-02-28 21:23:22 +00:00
Jim Meyering
b5c388739e
*** empty log message ***
2003-02-28 21:20:28 +00:00
Jim Meyering
ad9e0f6824
(ftw_startup): Return -1 if alloca fails.
2003-02-28 14:44:34 +00:00
Jim Meyering
e660be4d86
*** empty log message ***
2003-02-28 12:42:47 +00:00
Jim Meyering
4433c9a082
(fts_children): If opening `.' fails, set the fts_child
...
member to NULL before returning. From NetBSD.
2003-02-28 12:42:31 +00:00
Jim Meyering
3a4ac3a6a6
*** empty log message ***
2003-02-28 11:04:28 +00:00
Jim Meyering
fb428bedfc
(fts_children): If fchdir fails, close file descriptor
...
before returning. From NetBSD.
2003-02-28 11:04:18 +00:00
Jim Meyering
9fef9aa3eb
*** empty log message ***
2003-02-27 21:05:59 +00:00
Jim Meyering
901f7f3910
(jm_PREREQ_PHYSMEM): Also check for `table' function.
2003-02-27 21:05:55 +00:00
Jim Meyering
eb339c4303
*** empty log message ***
2003-02-27 20:21:24 +00:00
Jim Meyering
9c97727fb2
(physmem_total, physmem_available): Add comments.
2003-02-27 20:21:21 +00:00
Jim Meyering
5446a82008
.
2003-02-27 17:52:56 +00:00
Jim Meyering
1fc44fe183
*** empty log message ***
2003-02-27 17:52:41 +00:00
Jim Meyering
92fa74148d
Merge in portability changes from gcc/libiberty
...
to support AIX, Tru64, and Windows. See the ChangeLog there
for credits and details.
2003-02-27 17:52:37 +00:00
Jim Meyering
8e2b85814a
(gl_SYS__SYSTEM_CONFIGURATION): New function.
...
(jm_PREREQ_PHYSMEM): Check for new headers and functions.
Use gl_SYS__SYSTEM_CONFIGURATION.
2003-02-27 17:44:34 +00:00
Jim Meyering
8b9fe6bd80
*** empty log message ***
2003-02-26 18:09:11 +00:00
Jim Meyering
25dc498dab
*** empty log message ***
2003-02-26 17:51:38 +00:00
Jim Meyering
0ac5f83cf9
Don't test du's -b option here. Directory byte
...
counts are smaller (512 rather than 4096) on at least OSF/1 5.1
and IBM AIX 4.2.
2003-02-26 17:51:34 +00:00
Jim Meyering
486d1c7024
*** empty log message ***
2003-02-25 19:14:12 +00:00
Jim Meyering
441c736081
(announcement): Now that ChangeLog entries
...
are output by announce-gen, don't do it here.
2003-02-25 19:14:04 +00:00
Jim Meyering
8708902315
(print_changelog_deltas): New function.
...
(main): Use it.
2003-02-25 19:13:08 +00:00
Jim Meyering
66d8a81ef3
filter through cppi
2003-02-24 10:09:19 +00:00
Jim Meyering
0eb448466a
[__USE_FILE_OFFSET64]: Remove #error directive.
2003-02-24 10:08:57 +00:00
Jim Meyering
eb85acc63a
Include <search.h>.
...
(struct known_object): Define.
(object_compare, add_object, find_object): New functions, like
those in ftw.c.
(fts_open): Initialize new member.
(fts_close): Free memory allocated for new member.
(fts_stat): Detect a cycle in O(logN) time per directory processed.
2003-02-24 09:58:02 +00:00
Jim Meyering
06a0dc99c7
*** empty log message ***
2003-02-24 09:09:49 +00:00
Jim Meyering
b3cac1155b
[HAVE_CONFIG_H]: Include <config.h>.
...
Conditionalize inclusion of <sys/param.h>.
Conditionalize inclusion of <include/sys/stat.h> vs <sys/stat.h>.
Include autoconf-recommended block of dirent/NAMELEN-related
definitions and includes. Use NAMLEN throughout, rather than
_D_EXACT_NAMLEN.
[_LIBC] (close, closedir, fchdir, open, opendir): Define.
[_LIBC] (readdir, tdestroy, tfind, tsearch): Define.
Remove `__' prefix from all uses of the above. This will help
to merge *BSD changes.
[!_LIBC] (internal_function): Define.
[! _LIBC && ! LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define lstat.
(__set_errno): Define if not already defined.
2003-02-24 09:09:42 +00:00
Jim Meyering
4c283a1dc0
[struct FTS] (fts_dir_signatures): New, opaque member.
2003-02-24 08:57:06 +00:00
Jim Meyering
0818c3e24c
(fts_open): If fts_alloc returns NULL, don't dereference it.
...
(fts_read): If fts_safe_changedir fails because it is not
able to chdir into a subdirectory, then inform the caller.
2003-02-24 08:27:59 +00:00
Jim Meyering
f30cda6bd2
virgin copy from glibc
2003-02-24 08:24:59 +00:00
Jim Meyering
74432ad178
*** empty log message ***
2003-02-24 08:24:52 +00:00
Jim Meyering
6fcb6d17cf
doh
2003-02-24 08:24:48 +00:00
Jim Meyering
75a2b87d4d
*** empty log message ***
2003-02-24 08:21:39 +00:00
Jim Meyering
bf9a35319d
*** empty log message ***
2003-02-24 08:21:21 +00:00
Jim Meyering
f86c2b4f16
.
2003-02-23 12:07:50 +00:00
Jim Meyering
4c370827c8
*** empty log message ***
2003-02-22 16:52:51 +00:00
Jim Meyering
39a87c5201
New option: --release-type=TYPE
2003-02-22 16:52:45 +00:00
Jim Meyering
0731abb38c
(beta, major): New targets. Remove `release'.
...
Put them all together on a line.
Pass the release type (via RELEASE_TYPE envvar) to the MAKE
invocation of `announcement'.
(announcement): Invoke announce-gen with --release-type=$RELEASE_TYPE.
2003-02-22 16:52:36 +00:00
Jim Meyering
2f066fd511
(news-r1, news-r2): Remove now-unused definitions.
2003-02-22 16:35:32 +00:00
Jim Meyering
8d292b0f8a
add comment
2003-02-22 16:32:58 +00:00
Jim Meyering
94755d84aa
tweak comments
2003-02-22 16:31:12 +00:00
Jim Meyering
862609b1ec
tweak comments
2003-02-22 16:30:39 +00:00
Jim Meyering
36db69ff1c
Escape dots in regexps for $curr_version and $prev_version.
...
Fail if we find no lines in NEWS.
2003-02-22 16:30:28 +00:00
Jim Meyering
5c69cf2fea
(announcement): Now that NEWS entries are
...
extracted by announce-gen, don't do it here.
2003-02-22 16:24:36 +00:00
Jim Meyering
05fac90002
New option: --news=NEWS_FILE.
...
Extract NEWS entries here, not ...
2003-02-22 16:23:36 +00:00
Jim Meyering
7147909aef
*** empty log message ***
2003-02-22 07:55:21 +00:00
Jim Meyering
8030ecfee5
bump to 4.5.9
2003-02-22 07:55:11 +00:00
Jim Meyering
6c7b470774
.
2003-02-21 21:52:33 +00:00
Jim Meyering
f0c7211960
.
2003-02-21 21:37:12 +00:00
Jim Meyering
441007d004
*** empty log message ***
2003-02-21 21:34:14 +00:00
Jim Meyering
7ccb88fc0b
*** empty log message ***
2003-02-21 20:38:16 +00:00
Jim Meyering
ad478502ed
Merge in changes from autoconf's version of this file.
...
(www-gnu): Define.
(standards.texi-url_prefix): Use $(www-gnu).
(make-stds.texi-url_prefix): Likewise.
2003-02-21 20:38:10 +00:00
Jim Meyering
48437b2433
*** empty log message ***
2003-02-21 20:24:39 +00:00
Jim Meyering
19ae573dca
*** empty log message ***
2003-02-21 20:22:27 +00:00
Jim Meyering
a49b79b305
*** empty log message ***
2003-02-21 17:13:17 +00:00
Jim Meyering
8607700a75
Undefine HAVE_MMAP_STACK, thus disabling
...
this code on all systems.
2003-02-21 17:13:09 +00:00
Jim Meyering
d15cfc1025
.
2003-02-21 12:27:57 +00:00
Jim Meyering
25af1b321d
*** empty log message ***
2003-02-21 12:27:28 +00:00
Jim Meyering
a7b79d2a74
*** empty log message ***
2003-02-21 12:24:32 +00:00
Jim Meyering
27fad7ecec
(stat invocation): Describe %B.
2003-02-21 12:24:12 +00:00
Jim Meyering
fc5797807e
(usage): Tweak wording of %B description.
2003-02-21 12:23:48 +00:00
Jim Meyering
7215259bb0
*** empty log message ***
2003-02-21 12:16:34 +00:00
Jim Meyering
5e91595f93
Merge in some changes from GNU libc.
...
(md5_uintptr): Define.
2003-02-21 12:16:12 +00:00
Jim Meyering
0d0a14cd56
*** empty log message ***
2003-02-21 11:14:39 +00:00
Jim Meyering
d0301f3c12
*** empty log message ***
2003-02-21 11:12:53 +00:00
Jim Meyering
ab99f99f74
.
2003-02-21 11:12:46 +00:00
Jim Meyering
0586e6dbfc
(TESTS): Add basic.
2003-02-21 11:12:34 +00:00
Jim Meyering
3abab5f388
*** empty log message ***
2003-02-21 10:41:34 +00:00
Jim Meyering
4d34fabc8d
Include "mmap-stack.h".
...
(main): Invoke `run' through a macro that (when possible) runs it
with a large, mmap'd stack.
2003-02-21 10:41:27 +00:00
Jim Meyering
1771d1a11d
*** empty log message ***
2003-02-21 10:23:21 +00:00
Jim Meyering
7f51568be5
*** empty log message ***
2003-02-21 10:22:29 +00:00
Jim Meyering
0801bebeb4
(run_on_mmaped_stack): Allocate 256MB, not 1GB
2003-02-21 09:51:26 +00:00
Jim Meyering
49daa21e00
*** empty log message ***
2003-02-21 08:34:41 +00:00
Jim Meyering
6fe8f2a831
New option: --apparent-size.
...
(enum) [APPARENT_SIZE_OPTION]: New member.
(long_options): Add it.
(usage): Describe it.
(main): Handle it.
['b']: Set apparent_size.
2003-02-21 08:30:18 +00:00
Jim Meyering
7dc3ed2f04
*** empty log message ***
2003-02-21 08:27:09 +00:00
Jim Meyering
8a096b3518
(du invocation): Document --apparent-size.
...
Adjust documentation of --bytes (-b).
2003-02-21 08:25:59 +00:00
Jim Meyering
85cbe110d4
use printf, not echo
...
test -b
2003-02-21 08:02:33 +00:00
Jim Meyering
f1f8ca7ddc
(apparent_size): New global.
...
(print_only_size): Reflect the fact that we're printing byte counts,
not ST_NBLOCKSIZE-byte-block counts.
(print_size): Call print_only_size rather than duplicating its code.
(process_file): Accumulate byte counts, rather than block counts.
2003-02-21 07:47:06 +00:00
Jim Meyering
5cfcefdcf9
*** empty log message ***
2003-02-21 07:15:54 +00:00
Jim Meyering
12508c923f
(process_file): Always reset size_to_propagate_to_parent for
...
--separate-dirs (-S).
2003-02-21 07:15:16 +00:00
Jim Meyering
23e52c28fb
*** empty log message ***
2003-02-21 07:06:38 +00:00
Jim Meyering
7f2df50cee
Include <sys/types.h> before <dirent.h>.
...
This is required for Apple Darwin 6.3 (MacOS 10.2.3).
2003-02-21 07:06:33 +00:00
Jim Meyering
eb63743d48
(process_file): Reorganize the code to use only
...
one `sum' array, and change how -S works back to the way it was
before 2003-01-31. Patch by Bruno Haible.
2003-02-20 23:13:11 +00:00
Jim Meyering
4cf069e8a2
*** empty log message ***
2003-02-20 19:12:33 +00:00
Jim Meyering
46bfcaf2bb
*** empty log message ***
2003-02-20 19:11:08 +00:00
Jim Meyering
44e80d26cb
(usage) [%b]: Refer to %B.
2003-02-20 19:11:02 +00:00
Jim Meyering
409e7dd0b6
(print_stat): New format: %B (to print ST_NBLOCKSIZE).
...
(usage): Describe it.
2003-02-20 19:07:55 +00:00
Jim Meyering
4ebc314f18
.
2003-02-20 19:05:38 +00:00
Jim Meyering
4efd012fe0
*** empty log message ***
2003-02-20 17:59:37 +00:00
Jim Meyering
a4bbb4de7e
Add checks for the following:
...
BLOCK_SIZE, DU_BLOCK_SIZE, DF_BLOCK_SIZE, LS_BLOCK_SIZE.
2003-02-20 17:58:45 +00:00
Jim Meyering
9c46a8acf3
Rename phony target envvar-check to evar-check
...
so as not to conflict with the distributed file by the same name.
2003-02-20 17:52:11 +00:00
Jim Meyering
5c629d9ef4
(process_file): Set info->skip before any possible return.
...
Report correct usage for directories, not 0.
(process_file): Return for `file_type == FTW_DPRE'
_before_ recording the dev/ino of a directory.
2003-02-20 15:03:22 +00:00
Jim Meyering
c023e74aac
.
2003-02-20 13:45:48 +00:00
Jim Meyering
fca1c1173c
Now, df always displays the device file name corresponding to the
...
listed mount point under `Filesystem'. Before, for an unmounted
block- or character-special file argument, it would display the
command-line argument instead.
(show_disk): Return a value indicating whether
there was a match. Don't try to find a mount point here.
(show_entry): If show_disk doesn't find a match, call show_point.
2003-02-20 10:37:14 +00:00
Jim Meyering
59e474dc56
.
2003-02-20 10:36:52 +00:00
Jim Meyering
56644db507
*** empty log message ***
2003-02-20 10:35:27 +00:00
Jim Meyering
7d224e76de
*** empty log message ***
2003-02-20 10:34:21 +00:00
Jim Meyering
ac823e21c0
Include "mmap-stack.h".
...
(du_files): Add prototype with ATTRIBUTE_NORETURN.
Exit from this function, not from...
(main): ...here.
Instead, if possible, invoke du_files through a macro that
runs it with a large, mmap'd stack.
2003-02-19 22:20:45 +00:00
Jim Meyering
5c6facc555
*** empty log message ***
2003-02-19 19:09:06 +00:00
Jim Meyering
47de14a1c5
Merge in some clean-up and optimization changes from glibc's md5.c.
2003-02-19 19:09:01 +00:00
Jim Meyering
071bd2881a
Merge in some clean-up and optimization changes from glibc.
2003-02-19 19:08:49 +00:00
Jim Meyering
4738213e95
*** empty log message ***
2003-02-19 16:12:06 +00:00
Jim Meyering
7c9292d5c9
(usage): Change wording in --help output:
...
use FILENUM instead of `SIDE' and say what FILENUM means.
2003-02-19 16:11:39 +00:00
Jim Meyering
1860324779
*** empty log message ***
2003-02-19 16:06:34 +00:00
Jim Meyering
e2cd6ba3df
(print_header): Rather than using a hard-coded literal
...
string of spaces matching the length of the English `...Type' header,
output the right number of spaces to match the selected translation.
Reported by Yann Dirson and Jean Charles Delepine as Debian bug 131113.
2003-02-19 16:05:07 +00:00
Jim Meyering
efb6756c2e
*** empty log message ***
2003-02-19 16:02:44 +00:00
Jim Meyering
3a29026961
*** empty log message ***
2003-02-19 15:06:12 +00:00
Jim Meyering
44f8f70e7f
*** empty log message ***
2003-02-19 14:29:01 +00:00
Jim Meyering
23f6d41f94
Include "full-read.h".
...
(bytes_split, lines_split, line_bytes_split): Use full_read,
not safe_read. The way split was using the latter, a short read
could cause split to terminate before EOF.
(bytes_split): Remove unnecessary `else' after break.
(lines_split): Likewise. and correct misleading indentation.
2003-02-19 14:28:50 +00:00
Jim Meyering
d0944f6e8b
*** empty log message ***
2003-02-19 14:04:22 +00:00
Jim Meyering
07ef2a29cf
*** empty log message ***
2003-02-19 14:04:17 +00:00
Jim Meyering
af4ad8d695
fix comment
2003-02-19 14:03:44 +00:00
Jim Meyering
f0ecd05212
more clean-up. give more precise diagnostics
2003-02-19 14:02:43 +00:00
Jim Meyering
4d5aae90bb
*** empty log message ***
2003-02-19 12:59:31 +00:00
Jim Meyering
68f68b6bf2
(TESTS): Reflect renaming.
2003-02-19 12:59:14 +00:00
Jim Meyering
1b919c5c1e
new file. renamed from cat-tty-eof
2003-02-19 12:58:46 +00:00
Jim Meyering
4b26d67f58
Remove file. Rename to tty-eof.
2003-02-19 12:58:07 +00:00
Jim Meyering
f60bd3f4c8
comment out diagnostic
2003-02-19 12:56:37 +00:00
Jim Meyering
f3ecf0e5df
upgrade to automake-1.7.2b
2003-02-19 12:55:25 +00:00
Jim Meyering
49a3524823
*** empty log message ***
2003-02-19 08:44:45 +00:00
Jim Meyering
23bd5c8be5
*** empty log message ***
2003-02-19 08:40:10 +00:00
Jim Meyering
3ef0832f7a
(AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
...
to 1MB, so as not to render systems with no stack size limit (e.g.,
linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2003-02-19 08:39:55 +00:00
Jim Meyering
3ac28e3dee
*** empty log message ***
2003-02-18 21:17:11 +00:00
Jim Meyering
3bb9bacdd7
*** empty log message ***
2003-02-18 19:00:54 +00:00
Jim Meyering
714f398d7f
(sha_stream) [BLOCKSIZE]: Move definition to top of file.
...
Ensure that it is a multiple of 64.
Rearrange loop exit tests so as to avoid performing an
additional fread after encountering an error or EOF.
2003-02-18 19:00:40 +00:00
Jim Meyering
7496bc25b0
(md5_stream) [BLOCKSIZE]: Move definition to top of file.
...
Ensure that it is a multiple of 64.
Rearrange loop exit tests so as to avoid performing an
additional fread after encountering an error or EOF.
2003-02-18 19:00:16 +00:00
Jim Meyering
38b90cb669
*** empty log message ***
2003-02-18 14:01:32 +00:00
Jim Meyering
ae993355b7
(CLEANFILES): Remove ftw.h and search.h.
...
(DISTCLEANFILES): Add them here.
Add fnmatch.h, too.
2003-02-18 14:01:25 +00:00
Jim Meyering
d2c4a4e44d
cksum would perform an extra read after encountering EOF
...
(cksum): Exit the loop upon EOF, too.
Patch by Michael Bacarella.
2003-02-18 08:05:02 +00:00
Jim Meyering
b47c09ad60
*** empty log message ***
2003-02-18 08:02:41 +00:00
Jim Meyering
33c62fcef3
Generalize, clean-up, and test for
...
cat, cksum, md5sum, and sha1sum all in the same loop.
2003-02-18 07:59:58 +00:00
Jim Meyering
d3dbf68beb
.
2003-02-17 17:21:37 +00:00
Jim Meyering
072015e870
*** empty log message ***
2003-02-17 17:21:05 +00:00
Jim Meyering
143bca6b80
(RUN_WITH_BIG_STACK_4): Define.
2003-02-17 17:21:00 +00:00
Jim Meyering
3db0886789
.
2003-02-17 17:17:43 +00:00
Jim Meyering
f6b9999548
*** empty log message ***
2003-02-17 16:58:34 +00:00
Jim Meyering
22e376e2e1
Undo most of last change.
...
Use sysmp instead, since it provides a cleaner interface.
2003-02-17 16:58:28 +00:00
Jim Meyering
3f4e77fdd6
*** empty log message ***
2003-02-17 16:55:44 +00:00
Jim Meyering
87be2f14b1
(jm_PREREQ_PHYSMEM): Undo last change, since
...
Kaveh Ghazi found a better way to get the required information.
Add check for sys/sysmp.h.
2003-02-17 16:55:40 +00:00
Jim Meyering
2bb32c98a5
(run): New function, preparing for use of
...
RUN_WITH_BIG_STACK_*
2003-02-17 08:39:20 +00:00
Jim Meyering
49cda05bd3
tweak comment
2003-02-17 08:27:26 +00:00
Jim Meyering
f8741e7214
*** empty log message ***
2003-02-16 21:00:07 +00:00
Jim Meyering
9cba3efc8a
Add Finnish (fi).
2003-02-16 21:00:01 +00:00
Jim Meyering
b57469df43
version: 4.5.7
2003-02-16 20:59:16 +00:00
Jim Meyering
3eb96248f7
*** empty log message ***
2003-02-16 09:00:13 +00:00
Jim Meyering
c270a888e9
(libfetish_a_SOURCES): Add mmap-stack.h.
2003-02-16 09:00:08 +00:00
Jim Meyering
382b502ccf
*** empty log message ***
2003-02-16 08:59:20 +00:00
Jim Meyering
c276ca6e49
(MAP_ANONYMOUS): Use MAP_ANON, if possible.
...
Initialize `fd' to -1, so Solaris' mmap works with MAP_ANON.
2003-02-16 08:59:15 +00:00
Jim Meyering
e58f9df1b3
add an assertion
2003-02-15 22:38:32 +00:00
Jim Meyering
d71265c2e3
*** empty log message ***
2003-02-15 22:33:18 +00:00
Jim Meyering
5b16ce70fb
*** empty log message ***
2003-02-15 22:31:22 +00:00
Jim Meyering
e52bb403b5
*** empty log message ***
2003-02-15 22:30:46 +00:00
Jim Meyering
fa6fd21580
Require AC_SYS_MMAP_STACK.
2003-02-15 22:29:52 +00:00
Jim Meyering
434cd73a81
*** empty log message ***
2003-02-15 22:29:37 +00:00
Jim Meyering
958da3fffd
I meant mmap-stack.h, not mmap-stack.c.
2003-02-15 22:23:33 +00:00
Jim Meyering
51037cbd96
Add lib/mmap-stack.c
2003-02-15 22:19:49 +00:00
Jim Meyering
edcf77bcb1
*** empty log message ***
2003-02-15 22:08:59 +00:00
Jim Meyering
1588508be2
*** empty log message ***
2003-02-15 10:15:49 +00:00
Jim Meyering
2b62137426
(main) [DEBUG]: New function.
2003-02-15 09:59:27 +00:00
Jim Meyering
c1604ca5a7
Clean up change of a minute ago.
2003-02-15 09:11:49 +00:00
Jim Meyering
c911821af7
*** empty log message ***
2003-02-15 09:06:13 +00:00
Jim Meyering
16b37b5c9d
Add Irix6 support to physmem.c.
...
(jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
and sys/sysinfo.h.
Also check for sysget.
2003-02-15 09:06:05 +00:00
Jim Meyering
d017693646
*** empty log message ***
2003-02-15 09:05:51 +00:00
Jim Meyering
bdf738b1a1
Add Irix6 support to physmem.c.
...
(irix_sysget): New function.
(IRIX_SYSGET_TOTAL, IRIX_SYSGET_AVAILABLE): New macros.
(physmem_total, physmem_available): Use them.
2003-02-15 09:05:16 +00:00
Jim Meyering
5aeb13149e
*** empty log message ***
2003-02-14 07:41:42 +00:00
Jim Meyering
49eda1bead
Include "euidaccess.h".
...
Remove declaration of euidaccess.
2003-02-14 07:41:27 +00:00
Jim Meyering
1656a5880b
hacked from the versions in glibc
2003-02-13 21:28:58 +00:00
Jim Meyering
f95d4f7696
tweak comment
2003-02-12 20:48:49 +00:00
Jim Meyering
e0935a3fc9
*** empty log message ***
2003-02-12 17:47:55 +00:00
Jim Meyering
98b0c66968
(ACX_C_RESTRICT): Remove #ifndef -- so now this
...
macro also checks for support when using a C++ compiler.
Also, remove the test for SGI's __restrict.
Suggested by Steven G. Johnson.
2003-02-12 17:47:51 +00:00
Jim Meyering
60279d3bab
*** empty log message ***
2003-02-12 09:27:32 +00:00
Jim Meyering
aaaba62077
*** empty log message ***
2003-02-12 09:24:28 +00:00
Jim Meyering
67e430edda
(jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
2003-02-12 09:24:23 +00:00
Jim Meyering
be6a1bab4f
(portable_chars_only): Remove unnecessary `const'
...
in cast to avoid warning from icc. Reported by Alexandre Duret-Lutz.
2003-02-12 09:20:47 +00:00
Jim Meyering
4839fcb1c0
*** empty log message ***
2003-02-12 09:11:35 +00:00
Jim Meyering
21910fd8af
*** empty log message ***
2003-02-12 09:03:49 +00:00
Jim Meyering
887ad2d358
(ACX_C_RESTRICT): Minor syntactic changes:
...
Split long lines, use AC_COMPILE_IFELSE, use `case' instead of
nested `if's, remove unnecessary quotes.
2003-02-12 08:57:34 +00:00
Jim Meyering
ac3db7d319
verbatim from the URL in the comment
2003-02-12 08:54:20 +00:00
Jim Meyering
17cef92ec0
*** empty log message ***
2003-02-12 08:24:40 +00:00
Jim Meyering
97156c6dcf
*** empty log message ***
2003-02-10 23:01:58 +00:00
Jim Meyering
136bb0265b
(libfetish_a_SOURCES): Add euidaccess.h.
2003-02-10 23:01:53 +00:00
Jim Meyering
53b11c2b17
Include "euidaccess.h".
2003-02-10 22:47:30 +00:00
Jim Meyering
f18e3f9fae
*** empty log message ***
2003-02-10 22:47:24 +00:00
Jim Meyering
da6e10d0c5
*** empty log message ***
2003-02-10 22:46:44 +00:00
Jim Meyering
348adf65ab
doh
2003-02-10 22:45:59 +00:00
Jim Meyering
8e480afae3
.
2003-02-10 22:45:40 +00:00
Jim Meyering
e046d32e51
*** empty log message ***
2003-02-10 13:23:50 +00:00
Jim Meyering
81b7f5a407
add comments and fix dumb typos
2003-02-10 13:19:00 +00:00
Jim Meyering
c2597b6041
Don't include group-member.h.
...
Include euidaccess.h.
(eaccess): Rewrite function to set the real uid and gid temporarily
to the effective uid and gid, then invoke 'access', and then set the
real uid and gid back. On systems that lack setreuid or setregid,
fall back on the kludges in euidaccess. Before, it would not work
for e.g., files with ACLs, files that were marked immutable,
or on file systems mounted read-only.
2003-02-10 09:01:48 +00:00
Jim Meyering
bf95c4519c
*** empty log message ***
2003-02-09 08:40:12 +00:00
Jim Meyering
22319b98fc
(jm_CHECK_DECLS): Add euidaccess.
2003-02-09 08:40:09 +00:00
Jim Meyering
8f69eadada
(test_stat): Remove function. It's job is done (only
...
when necessary) by the wrapper in lib/stat.c.
2003-02-09 08:28:59 +00:00
Jim Meyering
aa2142ded2
bump to4.5.8
2003-02-09 07:55:15 +00:00
Jim Meyering
4e3b901743
.
2003-02-08 21:23:24 +00:00
Jim Meyering
4e94149b49
.
2003-02-08 20:49:00 +00:00
Jim Meyering
1faf44aaa8
.
2003-02-08 20:33:03 +00:00
Jim Meyering
fd4716fb7f
*** empty log message ***
2003-02-08 20:31:56 +00:00
Jim Meyering
6c4ad568f5
(Mode Structure): Mention filesystem-specific
...
permissions and that mounting a filesystem as read-only may
override actual file permissions. Use @command instead
of @code for program names.
2003-02-08 20:31:48 +00:00
Jim Meyering
a70e8c6a64
*** empty log message ***
2003-02-08 20:09:36 +00:00
Jim Meyering
6a79d4805e
Don't assume that the file owner username length is less than 9
...
in ls output: instead, omit that field altogether.
2003-02-08 20:08:55 +00:00
Jim Meyering
8aa60ca867
.
2003-02-08 20:01:19 +00:00
Jim Meyering
905c870f3a
.
2003-02-08 20:00:53 +00:00
Jim Meyering
cf5d5f5789
*** empty log message ***
2003-02-08 18:20:01 +00:00
Jim Meyering
5c13851e62
(ftw_startup): Don't shadow outer declaration of save_err.
...
Merge inconsequential changes from libc.
2003-02-08 18:19:57 +00:00
Jim Meyering
f3e0faa64c
*** empty log message ***
2003-02-08 18:11:17 +00:00
Jim Meyering
a9bf908eb3
.
2003-02-08 18:08:54 +00:00
Jim Meyering
77f6e91e99
*** empty log message ***
2003-02-08 18:08:20 +00:00
Jim Meyering
47276b7f94
(TESTS): Add restore-wd.
2003-02-08 18:08:16 +00:00
Jim Meyering
d60aa22957
New test for just-fixed bug in ftw.c.
2003-02-08 18:07:45 +00:00
Jim Meyering
981efef893
*** empty log message ***
2003-02-08 17:07:41 +00:00
Jim Meyering
f99cc7ac67
(ftw_startup): When using FTW_CHDIR, always remember
...
the current directory, not just when DIR contains a slash.
2003-02-08 17:07:38 +00:00
Jim Meyering
14608aae3c
*** empty log message ***
2003-02-08 16:50:06 +00:00
Jim Meyering
712c6ceded
Correct now-invalid comment about cycle-detection.
2003-02-08 16:50:00 +00:00
Jim Meyering
7e82ca8927
Use @command instead of @code for program names.
2003-02-07 18:00:19 +00:00
Jim Meyering
828c363c22
fix typo in entry from 2003-02-02
2003-02-07 09:39:57 +00:00
Jim Meyering
58fac09294
*** empty log message ***
2003-02-07 09:28:58 +00:00
Jim Meyering
0876c5bbd3
Merge inconsequential changes from libc.
...
Include limits.h earlier.
Move PATH_MAX definition `down' a little; add comment.
Rename local, saved_errno to save_err.
2003-02-07 09:28:50 +00:00
Jim Meyering
4f1c8d7e88
.
2003-02-06 20:59:02 +00:00
Jim Meyering
68f8003de8
add entries from old/*/NEWS
...
from fileutils-4.1 through 4.1.11 and
from sh-utils-2.0 through 2.0.15.
Thanks, Karl.
2003-02-06 14:36:26 +00:00
Jim Meyering
9bf618e9cb
*** empty log message ***
2003-02-06 14:29:03 +00:00
Jim Meyering
bf9322b7ac
bump to 4.5.7
2003-02-06 14:28:53 +00:00
Jim Meyering
1a210d0f64
*** empty log message ***
2003-02-06 14:28:19 +00:00
Jim Meyering
e5afe1995e
Adjust alignment and mention `file, text, shell'
...
on the `* Coreutils:...' dirently line. From Karl Berry.
2003-02-06 14:27:14 +00:00
Jim Meyering
eacacadc1b
.
2003-02-06 13:22:53 +00:00
Jim Meyering
ac0fd8b58f
*** empty log message ***
2003-02-06 13:06:33 +00:00
Jim Meyering
784604222e
Include <unistd.h>. On some systems,
...
it is required for the definition of _SC_PAGESIZE.
2003-02-06 13:06:29 +00:00
Jim Meyering
524ed3ce44
Remove declaration of statfs.
...
It conflicted with one from OSF/1 5.1 in <sys/mount.h>.
2003-02-06 10:25:43 +00:00
Jim Meyering
0468afd28f
*** empty log message ***
2003-02-06 10:25:21 +00:00
Jim Meyering
ae0cb229f2
(FTW_DPRE) [enum]: New member and definition.
...
(struct FTW) [skip]: New member.
2003-02-06 10:24:57 +00:00
Jim Meyering
adb8e94a33
(print_boottime, print_deadprocs, print_runlevel):
...
Fix memory allocation arithmetic.
2003-02-06 10:22:12 +00:00
Jim Meyering
4138c9ef9f
*** empty log message ***
2003-02-06 10:13:35 +00:00
Jim Meyering
ac0250af06
(__restrict): Define to `restrict' or to nothing.
2003-02-06 10:13:28 +00:00
Jim Meyering
0e4da9fc4f
*** empty log message ***
2003-02-06 08:14:13 +00:00
Jim Meyering
a47615d2ed
(process_file): Don't return early for excluded files
...
or for files whose dev/inode we've already seen.
2003-02-06 08:14:01 +00:00
Jim Meyering
505f652d9e
Require non-root.
2003-02-06 08:09:53 +00:00
Jim Meyering
73eae2675d
Require non-root.
2003-02-06 08:09:18 +00:00
Jim Meyering
692e0b022f
.
2003-02-06 08:08:42 +00:00
Jim Meyering
09137743d5
*** empty log message ***
2003-02-05 22:54:21 +00:00
Jim Meyering
6b18df4826
*** empty log message ***
2003-02-05 22:52:46 +00:00
Jim Meyering
33bb552cee
*** empty log message ***
2003-02-05 22:22:11 +00:00
Jim Meyering
89bcff9cf4
put POSIX back in direntry description of cksum
2003-02-05 20:40:39 +00:00
Jim Meyering
ed83326eb6
*** empty log message ***
2003-02-05 20:40:04 +00:00
Jim Meyering
c21649c777
use this delta after all
2003-02-05 20:39:59 +00:00
Jim Meyering
c42eb7b832
*** empty log message ***
2003-02-05 20:37:29 +00:00
Jim Meyering
621f949258
Use new form of @direntry.
...
Put unlink in its proper place. Adjust wording in some
dir entry descriptions, mainly so they fit in 80 columns.
Don't use mark-up like @acronym{POSIX} in direntries.
2003-02-05 20:37:22 +00:00
Jim Meyering
11b2bb7b15
undo last change
2003-02-05 20:32:12 +00:00
Jim Meyering
0b1bd09499
revert last change: I am removing POSIX from the offending (cksum) line altogether
2003-02-05 20:31:59 +00:00
Jim Meyering
bfa5d2583c
*** empty log message ***
2003-02-05 20:29:17 +00:00
Jim Meyering
55b9fdf667
(check-texinfo): Allow bare `POSIX' to be used on direntry lines.
2003-02-05 20:29:14 +00:00
Jim Meyering
66fce3b572
*** empty log message ***
2003-02-05 20:19:46 +00:00
Jim Meyering
5a5f1c2340
(ftw_startup): When using FTW_DEPTH, call `func', the
...
user-supplied callback, once for the current directory before calling
ftw_dir, in case that part of the hierarchy should be pruned.
`func' does that by setting `data->skip'.
2003-02-05 20:19:31 +00:00
Jim Meyering
03975e728d
Include <limits.h>.
...
(PATH_MAX): Define to 1024, if not already defined.
(process_entry): Allocate enough space to hold the resulting
file name. Don't presume that 2*dirbufsize is enough.
(ftw_startup): Always use PATH_MAX to compute buffer size, now that
it is guaranteed to be defined.
2003-02-05 16:35:07 +00:00
Jim Meyering
6e6188765a
(process_entry): When using FTW_DEPTH, call `func',
...
the user-supplied callback, once before any of its entries,
in case that part of the hierarchy should be pruned. `func'
does that by setting `data->skip'.
2003-02-05 15:08:15 +00:00
Jim Meyering
862ae182e1
make sure excluding an entire hierarchy works
2003-02-05 14:29:59 +00:00
Jim Meyering
c7a61822f6
*** empty log message ***
2003-02-05 09:47:23 +00:00
Jim Meyering
031d89674a
(TESTS): Add exclude.
2003-02-05 09:47:17 +00:00
Jim Meyering
7b86ff9268
don't use diff -u
2003-02-05 09:18:43 +00:00
Jim Meyering
6f9963b8ac
typos
2003-02-05 09:18:33 +00:00
Jim Meyering
a5f617b2b4
*** empty log message ***
2003-02-05 09:17:22 +00:00
Jim Meyering
3c1dbea18f
(show_entry): Update sole use of show_disk.
2003-02-05 07:01:27 +00:00
Jim Meyering
4d97bfa966
*** empty log message ***
2003-02-04 16:36:18 +00:00
Jim Meyering
e5860d52f8
*** empty log message ***
2003-02-04 11:48:40 +00:00
Jim Meyering
e295f4f388
`df /dev/block-or-char-device-file--not-mounted' now reports
...
the name of the file system on which the file resides, usually `/'.
Before, it would leave the `Mounted on' field blank.
(show_disk): Add parameter: STATP.
If we don't find a matching device name, then resort to calling
find_mount_point.
2003-02-04 11:48:27 +00:00
Jim Meyering
144418cd9d
(show_disk): Move function to precede find_mount_point.
2003-02-04 10:28:23 +00:00
Jim Meyering
dc4a9398cb
bump to 4.5.6
2003-02-03 13:57:21 +00:00
Jim Meyering
2eb4b97607
.
2003-02-02 23:16:49 +00:00
Jim Meyering
ca5fe741ff
.
2003-02-02 22:11:13 +00:00
Jim Meyering
2e881206e3
duh
2003-02-02 22:10:41 +00:00
Jim Meyering
c0e51beb61
.
2003-02-02 21:48:00 +00:00
Jim Meyering
c7366d9a4b
Remove junk that somehow was improperly pasted into an entry from 2002-10-12.
2003-02-02 20:53:56 +00:00
Jim Meyering
54f1fd99a4
add a couple newlines
2003-02-02 20:51:24 +00:00
Jim Meyering
bd9a1a92b4
*** empty log message ***
2003-02-02 20:35:15 +00:00
Jim Meyering
92248c4bc9
.
2003-02-02 20:34:45 +00:00
Jim Meyering
a3fb0cc75a
(check-x-vs-1): Use @PATH_SEPARATOR@, not `:'.
2003-02-02 20:34:20 +00:00
Jim Meyering
4ac006af69
(makefile_path_separator_check): New rule.
...
(local-check): Add it to the list.
2003-02-02 20:31:48 +00:00
Jim Meyering
b535cc4171
*** empty log message ***
2003-02-02 20:17:21 +00:00
Jim Meyering
7ffbf3d56a
*** empty log message ***
2003-02-02 20:17:04 +00:00
Jim Meyering
89fc480602
*** empty log message ***
2003-02-02 20:15:11 +00:00
Jim Meyering
08b6275885
Use @PATH_SEPARATOR@ instead of hard-coding the path-separator.
...
Also double-quote the new PATH, to avoid problems when the
path-separator is a semi-colon or when `pwd` contains e.g. a space.
2003-02-02 20:14:53 +00:00
Jim Meyering
62631d8844
*** empty log message ***
2003-02-02 20:14:20 +00:00
Jim Meyering
183659bb72
*** empty log message ***
2003-02-02 20:14:00 +00:00
Jim Meyering
d9ad189ff7
Use @PATH_SEPARATOR@ instead of hard-coding the path-separator.
...
Also double-quote the new PATH, to avoid problems when the
path-separator is a semi-colon or when `pwd` contains e.g. a space.
2003-02-02 20:11:33 +00:00
Jim Meyering
a9a663e42b
tweak syntax to make it consistent with others
2003-02-02 19:36:48 +00:00
Jim Meyering
7be64fb687
*** empty log message ***
2003-02-02 18:25:33 +00:00
Jim Meyering
6426d38820
.
2003-02-02 18:25:22 +00:00
Jim Meyering
45698f01ec
*** empty log message ***
2003-02-02 18:24:09 +00:00
Jim Meyering
f25f4c7cf3
.
2003-02-02 18:23:56 +00:00
Jim Meyering
977ac31797
*** empty log message ***
2003-02-02 18:18:47 +00:00
Jim Meyering
4747fbf9b4
(jm_PREREQ_REGEX): Remove.
2003-02-02 18:18:43 +00:00
Jim Meyering
1facca4380
(jm_PREREQ_REGEX): New function, from gnulib.
...
(jm_INCLUDED_REGEX): Use it.
2003-02-02 18:18:05 +00:00
Jim Meyering
50d375102f
*** empty log message ***
2003-02-02 17:15:01 +00:00
Jim Meyering
670e4e061a
(lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
2003-02-02 17:14:59 +00:00
Jim Meyering
2d5342fb94
Require jm_FUNC_LSTAT.
2003-02-02 17:10:25 +00:00
Jim Meyering
a881942cca
Don't put decl after non-decl.
2003-02-01 22:52:45 +00:00
Jim Meyering
7df6daf8a4
*** empty log message ***
2003-02-01 15:21:45 +00:00
Jim Meyering
1a26ff6e02
.
2003-02-01 15:21:29 +00:00
Jim Meyering
a7eac7f5fd
*** empty log message ***
2003-02-01 15:21:18 +00:00
Jim Meyering
d606b47598
(MAX_N_DESCRIPTORS): Define.
2003-02-01 15:20:36 +00:00
Jim Meyering
07d3a99375
*** empty log message ***
2003-02-01 11:05:25 +00:00
Jim Meyering
8323669455
(jm_MACROS): Require UTILS_SYS_OPEN_MAX.
2003-02-01 11:05:23 +00:00
Jim Meyering
5acb27d993
.
2003-02-01 11:04:50 +00:00
Jim Meyering
be0c9150a0
.
2003-02-01 11:03:57 +00:00
Jim Meyering
40bc15c132
tweak syntax. duh
2003-02-01 11:03:28 +00:00
Jim Meyering
228544d08c
Whoops. Swap fail/cross-compile cases.
2003-02-01 11:03:04 +00:00
Jim Meyering
ba61c1af86
add comments
2003-02-01 11:00:45 +00:00
Jim Meyering
1973da17d0
*** empty log message ***
2003-02-01 09:59:17 +00:00
Jim Meyering
442dbd2429
(G_fail): New global.
...
(human_time): Diagnose failed localtime, not failed nstrftime.
(main): Fail if G_fail is set.
2003-02-01 09:59:09 +00:00
Jim Meyering
3507d9868f
*** empty log message ***
2003-01-31 18:28:43 +00:00
Jim Meyering
4686f1f3fd
Include "file-type.h"
...
(print_human_type): Remove function.
(human_access): Rename from print_human_access. Return a string.
(human_time): Rename from print_human_time. Return a string.
(print_stat): Arrange so that field width and an alignment specifier
are honored for the %A, %F, %x, %y, and %z formats.
[%F]: Use file_type; this gives slightly different file type strings,
e.g., `directory' instead of `Directory' and `regular file' or
`regular empty file' instead of `Regular file'.
2003-01-31 18:28:39 +00:00
Jim Meyering
fb9e95e6c3
(print_stat): Use S_ISLNK rather than an explicit
...
test using S_IFMT and S_IFLNK. S_IFLNK may not be defined.
2003-01-31 13:52:18 +00:00
Jim Meyering
d060450cc8
*** empty log message ***
2003-01-31 13:37:16 +00:00
Jim Meyering
d85b93c0fb
ditto for invalid options
2003-01-31 13:37:08 +00:00
Jim Meyering
4bee27ae43
(main): Upon processing a bad --exclude-from or --max-depth
...
option argument, don't exit right away, in case there are others.
Rather record the failure and exit after processing other options.
2003-01-31 13:35:25 +00:00
Jim Meyering
aaf8697ee9
*** empty log message ***
2003-01-31 10:43:35 +00:00
Jim Meyering
d92da7460e
(TAR_OPTIONS): Set and export, in order to make
...
tar archive easier to reproduce.
2003-01-31 10:43:29 +00:00
Jim Meyering
3f026f0448
*** empty log message ***
2003-01-31 10:39:47 +00:00
Jim Meyering
de49951491
Rewrite to perform directory traversal using nftw.
...
Include "dirname.h", "ftw.h", and "quotearg.h".
(AUTHORS): Add self.
(opt_one_file_system): Move global into `main'.
(path, xstat, exit_status): Remove declarations.
(arg_length, suffix_length): New globals.
(G_fail): New global, sort of like the old `exit_status'.
(IS_FTW_DIR_TYPE): Define.
(print_only_size): New function.
(process_file): New function.
(str_init, ensure_space, str_copyc, str_concatc): Remove functions.
(str_trunc, pop_dir, count_entry): Likewise.
(du_files): Rewrite to use nftw.
2003-01-31 10:39:33 +00:00
Jim Meyering
129c735cda
*** empty log message ***
2003-01-30 20:23:29 +00:00
Jim Meyering
9f90080b95
Ensure that with -L we get the same results even without the trailing slash.
2003-01-30 19:40:09 +00:00
Jim Meyering
1c976d1966
get latest
2003-01-30 13:55:20 +00:00
Jim Meyering
c96b23c2ff
*** empty log message ***
2003-01-30 10:42:45 +00:00
Jim Meyering
594fe72be0
no backticks in C comments
2003-01-29 20:52:02 +00:00
Jim Meyering
0267e219b7
*** empty log message ***
2003-01-29 20:36:41 +00:00
Jim Meyering
f5ded0090d
*** empty log message ***
2003-01-29 20:36:18 +00:00
Jim Meyering
651da6950f
*** empty log message ***
2003-01-29 20:20:40 +00:00
Jim Meyering
a3d30ef951
Detect broken re_search in e.g. glibc-2.2.93.
2003-01-29 20:20:36 +00:00
Jim Meyering
1c5a98512f
.
2003-01-28 17:55:23 +00:00
Jim Meyering
88b5eb8ef1
.
2003-01-28 17:54:46 +00:00
Jim Meyering
09b1a0014b
comments
2003-01-28 17:40:56 +00:00
Jim Meyering
77e740fff6
*** empty log message ***
2003-01-27 18:06:38 +00:00
Jim Meyering
fd51c35ed6
*** empty log message ***
2003-01-27 18:04:46 +00:00
Jim Meyering
3ba60a0bc5
add comments
2003-01-27 15:16:01 +00:00
Jim Meyering
96332f0a7e
(FTW_DCH, FTW_DCHP): Better comments.
2003-01-27 15:00:22 +00:00
Jim Meyering
336827087f
(quote_name): Add fourth parameter, width, into which to
...
store the screen columns, and return the number of bytes instead.
(print_dir): Pass NULL as fourth parameter of quote_name.
(print_name_with_quoting): Likewise.
(length_of_file_name_and_frills): Get the width from the fourth
parameter of quote_name instead of return value.
2003-01-27 13:42:26 +00:00
Jim Meyering
b9f33a9f76
*** empty log message ***
2003-01-27 13:40:47 +00:00
Jim Meyering
d28d7b1814
(check-misc): Check for st_blocks, too.
2003-01-27 13:40:43 +00:00
Jim Meyering
88a5f079b4
(print_stat): Use ST_NBLOCKS rather than `->st_blocks'.
2003-01-27 13:32:44 +00:00
Jim Meyering
2a22320430
.
2003-01-27 13:26:45 +00:00
Jim Meyering
3ab066a0d6
*** empty log message ***
2003-01-27 10:45:51 +00:00
Jim Meyering
7f93a5421a
(decode_switches): If `dired' is set without
...
`format == long_format', then silently reset dired. This doesn't
change the behavior of ls (all prior uses of dired were protected
by `&& format == long_format'), and lets us...
(DIRED_INDENT): ... remove `format == long_format' conjunct.
(PUSH_CURRENT_DIRED_POS): Likewise.
(main): Likewise.
2003-01-27 10:45:48 +00:00
Jim Meyering
ab43d63c3a
*** empty log message ***
2003-01-26 11:05:46 +00:00
Jim Meyering
fe443ea297
*** empty log message ***
2003-01-26 11:03:44 +00:00
Jim Meyering
91b31aa87c
[_LIBC] (ISSLASH, FILESYSTEM_PREFIX_LEN): Define.
...
(base_name): New function.
(ftw_startup): Don't strip trailing slashes.
Use base_name to find the offset of the basename.
2003-01-25 20:32:44 +00:00
Jim Meyering
431d1b6241
(object_compare): Compare inode numbers before device numbers.
...
The former is much more likely to differ for any two given file objects.
2003-01-25 16:44:07 +00:00
Jim Meyering
29faf21e94
*** empty log message ***
2003-01-25 16:31:35 +00:00
Jim Meyering
68c1da4150
(cut invocation): Describe new functionality of --output-delimiter=STR.
2003-01-25 16:31:23 +00:00
Jim Meyering
d8ab1cdcfb
.
2003-01-25 08:00:05 +00:00
Jim Meyering
b998bbef74
Tweak mysql output to match input :-) From Jan.
2003-01-24 14:58:38 +00:00
Jim Meyering
cae8997185
*** empty log message ***
2003-01-24 14:49:47 +00:00
Jim Meyering
2c4d6da0a4
*** empty log message ***
2003-01-24 13:49:41 +00:00
Jim Meyering
588979c4ae
Change each use of Core-utils' to Coreutils'.
2003-01-24 13:49:38 +00:00
Jim Meyering
dcbd546bf2
*** empty log message ***
2003-01-24 13:48:16 +00:00
Jim Meyering
0644a66901
(Formatting file timestamps): Fix typo: s/%M:S/%M:%S/.
2003-01-24 13:48:11 +00:00
Jim Meyering
d57cca6de0
(The cut command): Extend the new example a little.
2003-01-24 13:47:21 +00:00
Jim Meyering
527715894f
(The cut command): Give an example of using cut -c
...
with an output delimiter. From Jan Nieuwenhuizen.
2003-01-24 13:46:28 +00:00
Jim Meyering
37ac1f18f1
*** empty log message ***
2003-01-23 20:49:21 +00:00
Jim Meyering
2cceacc8fc
*** empty log message ***
2003-01-23 20:13:48 +00:00
Jim Meyering
89beded7d0
[HAVE_CONFIG_H]: Include <config.h>.
...
Add autoconf-recommended block of alloca-related code.
Cast each use of alloca to the required type, (node**).
2003-01-23 20:13:42 +00:00
Jim Meyering
07dad3b45d
*** empty log message ***
2003-01-23 20:12:12 +00:00
Jim Meyering
0eb62f18b3
Add autoconf-recommended block of alloca-related code.
...
[!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
2003-01-23 20:12:08 +00:00
Jim Meyering
4d80abb25a
update from master sources
2003-01-23 18:51:54 +00:00
Jim Meyering
2e4d3d565b
*** empty log message ***
2003-01-23 17:56:16 +00:00
Jim Meyering
a8f272fc4e
(UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
2003-01-23 17:55:17 +00:00
Jim Meyering
537676b8fd
*** empty log message ***
2003-01-23 17:50:48 +00:00
Jim Meyering
4f045ded1c
Correct typo: s/-1/no/ that kept this from working
...
on at least Irix and OSF1/Tru64.
2003-01-23 17:50:42 +00:00
Jim Meyering
bf7bd8329e
*** empty log message ***
2003-01-22 20:46:11 +00:00
Jim Meyering
1f91d7b6de
(find_object): Don't use c99-style struct initializer.
2003-01-22 20:46:08 +00:00
Jim Meyering
4a4db048f8
*** empty log message ***
2003-01-22 20:33:29 +00:00
Jim Meyering
8414999524
Change all uses of __const to const.
2003-01-22 20:33:26 +00:00
Jim Meyering
5eb68d6330
*** empty log message ***
2003-01-22 20:32:23 +00:00
Jim Meyering
a3d541f8f1
Change all uses of __const to const.
2003-01-22 20:32:16 +00:00
Jim Meyering
81d6349ec5
Require FTW_DCH and FTW_DCHP, too.
2003-01-22 20:28:25 +00:00
Jim Meyering
586bfb65d6
*** empty log message ***
2003-01-22 15:55:21 +00:00
Jim Meyering
5245b864d7
.
2003-01-22 15:51:46 +00:00
Jim Meyering
c7753e456b
.
2003-01-22 15:50:54 +00:00
Jim Meyering
6046409989
*** empty log message ***
2003-01-22 15:50:07 +00:00
Jim Meyering
b88e308839
(CLEANFILES): Add generated files: ftw.h search.h.
2003-01-22 15:50:00 +00:00
Jim Meyering
4e26fbcb07
*** empty log message ***
2003-01-22 15:46:42 +00:00
Jim Meyering
3ead987ffc
[anon enum] (FTW_DCHP): New member.
...
(FTW_DCHP): Define.
2003-01-22 15:46:38 +00:00
Jim Meyering
f0a528b13a
(process_entry): Handle FTW_DCHP.
...
(ftw_dir): Handle FTW_DCH.
2003-01-22 15:45:48 +00:00
Jim Meyering
5b7ab2372d
[!_LIBC && !__USE_XOPEN_EXTENDED]: Define __USE_XOPEN_EXTENDED
...
and FTW_H_STANDALONE.
[ enum] (FTW_DCH): New member.
(FTW_DCH): Define.
2003-01-22 13:27:20 +00:00
Jim Meyering
eb7d21ab94
Include autoconf-recommended block of dirent/NAMELEN
...
related definitions and includes. Use NAMELEN throughout,
rather than _D_EXACT_NAMLEN.
[_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
(stpcpy): Declare, if necessary.
(mempcpy): Define, if necessary.
[!_LIBC] (__stpcpy, __mempcpy): Define.
[!_LIBC] (LXSTAT, XSTAT): Define.
2003-01-22 13:13:04 +00:00
Jim Meyering
d4fb8aaf40
.
2003-01-22 12:49:46 +00:00
Jim Meyering
9c54e95335
(TESTS): Add no-x.
2003-01-22 12:49:37 +00:00
Jim Meyering
047c26a588
*** empty log message ***
2003-01-22 12:49:12 +00:00
Jim Meyering
997c341e37
New test, for functionality added to lib/ftw.c.
2003-01-22 12:49:08 +00:00
Jim Meyering
85d03af23a
*** empty log message ***
2003-01-21 18:50:00 +00:00
Jim Meyering
c59a8e2d32
(remove_entry) [ROOT_CAN_UNLINK_DIRS && HAVE_STRUCT_DIRENT_D_TYPE]: If a file
...
has d_type == DT_UNKNOWN it may still be a directory -- or not (e.g., with
FreeBSD on an NFS-mounted file system), so resort to calling lstat to find out.
2003-01-21 18:49:49 +00:00
Jim Meyering
2b2a4a83de
*** empty log message ***
2003-01-21 18:47:12 +00:00
Jim Meyering
0257e76d36
*** empty log message ***
2003-01-21 12:39:17 +00:00
Jim Meyering
d1b342cd01
*** empty log message ***
2003-01-21 12:38:45 +00:00
Jim Meyering
8b32e1089e
Add comment, and remove now-unnecessary -l option.
2003-01-21 12:38:38 +00:00
Jim Meyering
59670ee05b
Don't assume that the file owner username
...
length is less than 9 in ls output: instead, omit that field
altogether. Reported by, and suggested fix from, Ferdinand.
2003-01-21 12:36:56 +00:00
Jim Meyering
8cdd6ee1d6
*** empty log message ***
2003-01-21 12:35:27 +00:00
Jim Meyering
5ece3f7020
.
2003-01-21 09:00:34 +00:00
Jim Meyering
cd36829ef0
*** empty log message ***
2003-01-21 08:57:58 +00:00
Jim Meyering
89c0589166
*** empty log message ***
2003-01-21 08:57:26 +00:00
Jim Meyering
3631c1d814
[! weak_alias]: Define __-prefixed names to publicized ones.
...
[! defined _LIBC]: Define-away weak_alias and internal_function.
[defined weak_alias]: Guard each use of weak_alias.
2003-01-21 08:57:13 +00:00
Jim Meyering
c9f1ed5f93
*** empty log message ***
2003-01-21 08:53:17 +00:00
Jim Meyering
0044a44ce4
New file, from GNU libc.
2003-01-21 08:52:53 +00:00
Jim Meyering
f6cabef722
Link search.h to search_.h if we use our tsearch.c.
2003-01-21 08:26:59 +00:00
Jim Meyering
24ad07391c
*** empty log message ***
2003-01-20 20:17:06 +00:00
Jim Meyering
307a4ecdb5
*** empty log message ***
2003-01-20 20:01:18 +00:00
Jim Meyering
829a063ea6
.
2003-01-20 18:55:27 +00:00
Jim Meyering
97a68bfd65
change test name to wide-fmt
2003-01-20 18:20:22 +00:00
Jim Meyering
2023a466b3
*** empty log message ***
2003-01-20 18:20:13 +00:00
Jim Meyering
3429138fc9
*** empty log message ***
2003-01-20 18:20:09 +00:00
Jim Meyering
dcd7703911
(bignum): New test to demonstrate that large
...
format widths no longer smash strftime's stack and cause infloop.
2003-01-20 18:19:50 +00:00
Jim Meyering
9cfc4300cd
*** empty log message ***
2003-01-20 16:41:31 +00:00
Jim Meyering
dadc92d2a9
Include "path-concat.h".
2003-01-20 16:41:19 +00:00
Jim Meyering
6eedcbbf3d
remove the temporary directory
2003-01-20 16:38:41 +00:00
Jim Meyering
f501ec73d7
see if we can do it without rpl_ftw
2003-01-20 16:31:28 +00:00
Jim Meyering
abe155b043
New file, from GNU libc.
2003-01-20 16:30:59 +00:00
Jim Meyering
8a9ca6d9d7
*** empty log message ***
2003-01-20 16:30:49 +00:00
Jim Meyering
b266d99497
*** empty log message ***
2003-01-20 16:30:39 +00:00
Jim Meyering
009241b037
*** empty log message ***
2003-01-20 16:29:27 +00:00
Jim Meyering
538f8ebc40
(libfetish_a_SOURCES): Use ftw_.h here, too.
2003-01-20 16:28:34 +00:00
Jim Meyering
a325c0219b
*** empty log message ***
2003-01-20 16:28:04 +00:00
Jim Meyering
b7d8a28ca4
renamed to ftw_.h
2003-01-20 16:27:35 +00:00
Jim Meyering
a9660519e8
renamed from ftw.h
2003-01-20 16:27:35 +00:00
Jim Meyering
b138fd4ef8
define ftw to rpl_ftw
2003-01-20 16:19:28 +00:00
Jim Meyering
5bbba381fd
*** empty log message ***
2003-01-20 15:45:57 +00:00
Jim Meyering
6918da4447
(obstack_object_size): Declare temporary, __o, to be const.
...
(obstack_room): Likewise.
(obstack_empty_p): Likewise.
2003-01-20 15:45:53 +00:00
Jim Meyering
8df5caa414
Rename type: DS -> Dirstack_state.
2003-01-20 15:43:03 +00:00
Jim Meyering
3c7f4321a0
Remove some unnecessary parentheses.
2003-01-20 15:40:25 +00:00
Jim Meyering
ae5862eecf
*** empty log message ***
2003-01-20 15:06:38 +00:00
Jim Meyering
ff5b51afdd
(mail_gpg_sign_cookie): Remove now-unused definition.
2003-01-20 15:06:28 +00:00
Jim Meyering
787138d638
*** empty log message ***
2003-01-20 15:04:56 +00:00
Jim Meyering
01dfd68984
From GNU libc.
...
(my_strftime): Handle very large width
specifications for numeric values correctly. Improve checks for
overflow.
2003-01-20 15:04:51 +00:00
Jim Meyering
3fa2b8a8eb
*** empty log message ***
2003-01-20 15:03:12 +00:00
Jim Meyering
7565faca35
Merge in changes from libc
...
Eliminate many `#ifdef USE_IN_LIBIO' conditionals.
2003-01-20 15:03:04 +00:00
Jim Meyering
73af65ef56
Include config.h.
...
Add copyright.
2003-01-19 16:42:45 +00:00
Jim Meyering
1fab123c3c
*** empty log message ***
2003-01-19 16:14:47 +00:00
Jim Meyering
17c68905a0
Include "canonicalize.h".
2003-01-19 16:14:41 +00:00
Jim Meyering
8e5aabe259
duh. fix typo
2003-01-19 16:06:13 +00:00
Jim Meyering
56b3c75e63
(widen) [COMPILE_WIDE]: Merge nearly-identical definitions.
...
(nl_get_alt_digit) [! defined my_strftime]: Define.
(my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
_nl_get_alt_digit and _nl_get_walt_digit.
2003-01-19 13:01:35 +00:00
Jim Meyering
7c9bd0e59c
(my_strftime): Merge in locale-related changes from libc.
...
These changes have no effect outside of _LIBC.
2003-01-19 11:51:32 +00:00
Jim Meyering
eb5cd04ce2
*** empty log message ***
2003-01-19 08:52:25 +00:00
Jim Meyering
2a5b4f1761
(Which files are listed): Document new option:
...
--dereference-command-line-symlink-to-dir.
2003-01-19 08:52:20 +00:00
Jim Meyering
825c8d1155
*** empty log message ***
2003-01-18 18:36:17 +00:00
Jim Meyering
cdb4bba0e6
(Dereference_symlink) [DEREF_COMMAND_LINE_SYMLINK_TO_DIR]: New member.
...
(enum) [DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION]: New member.
(long_options): Add option --dereference-command-line-symlink-to-dir.
(main): Make DEREF_COMMAND_LINE_SYMLINK_TO_DIR be the default,
rather than DEREF_COMMAND_LINE_ARGUMENTS, when none of the
-d, -F, -l options is specified.
(decode_switches): Handle --dereference-command-line-symlink-to-dir.
(gobble_file): Honor DEREF_COMMAND_LINE_SYMLINK_TO_DIR.
Change --dereference-command-line (-H) to dereference *all*
command line arguments, including broken symlinks.
2003-01-18 18:36:13 +00:00
Jim Meyering
be33a434cb
reflect change in how ls -H works
2003-01-18 18:06:38 +00:00
Jim Meyering
ba2b351bbf
Change ls -H back to the way it was yesterday, since this is
...
compatible with FreeBSD and the POSIX spec is confusing
and somewhat contradictory.
(DEREF_COMMAND_LINE_ARGUMENTS): Change name back
from DEREF_COMMAND_LINE_SYMLINK_TO_DIR, updating all uses.
(long_options): Change the long option name back.
(usage): Change the usage back.
(gobble_file): When -H is specified, dereference a top-level
arg even if it points to a non-directory.
2003-01-18 18:01:51 +00:00
Jim Meyering
f0110096ac
ls [4.1.1]: Mention that --dereference-command-line (-H) is now the default,
...
unless one of the -d, -F, or -l options are given.
From Paul Eggert
2003-01-18 08:41:06 +00:00
Jim Meyering
328b32a49d
.
2003-01-17 15:14:21 +00:00
Jim Meyering
d615969812
update from automake/lib
2003-01-17 14:53:19 +00:00
Jim Meyering
308e04e326
.
2003-01-16 22:28:13 +00:00
Jim Meyering
d3e2cd0783
*** empty log message ***
2003-01-16 19:03:42 +00:00
Jim Meyering
060c09c357
*** empty log message ***
2003-01-16 19:02:49 +00:00
Jim Meyering
496cd263e7
(Which files are listed, General output formatting): Undo last change.
2003-01-16 19:01:56 +00:00
Jim Meyering
86c7ef826a
move prerequisites to precede AC_CACHE_CHECK
2003-01-16 18:23:18 +00:00
Jim Meyering
a578d7d8e9
*** empty log message ***
2003-01-16 17:34:04 +00:00
Jim Meyering
ba53003e9f
The `regex' struct is both input and output.
...
Initialize it before each use. Patch by Tim Waugh.
2003-01-16 17:33:52 +00:00
Jim Meyering
950fed888a
rename variable
2003-01-15 21:12:19 +00:00
Jim Meyering
d7d13fa5c2
Add tsearch.o IFF we have to use the replacement ftw.c.
2003-01-15 21:11:27 +00:00
Jim Meyering
d24ceb3b32
Check for declaration of stpcpy.
2003-01-15 17:32:13 +00:00
Jim Meyering
a2c75df256
*** empty log message ***
2003-01-15 13:11:31 +00:00
Jim Meyering
a1850bde1a
*** empty log message ***
2003-01-15 13:09:04 +00:00
Jim Meyering
0ba481441f
(General output formatting): Reflect option name change:
...
s/--dereference-command-line/--dereference-command-line-symlink-to-dir/.
Say that this option changes how ls treats only symlinks to directories
specified on the command line.
2003-01-15 13:09:00 +00:00
Jim Meyering
23b5ef6146
*** empty log message ***
2003-01-15 12:24:54 +00:00
Jim Meyering
e1f1be8559
*** empty log message ***
2003-01-15 12:24:04 +00:00
Jim Meyering
3786638a49
*** empty log message ***
2003-01-15 12:23:34 +00:00
Jim Meyering
ea4d81f366
.
2003-01-15 12:14:38 +00:00
Jim Meyering
3e2ec9890b
Require AC_FUNC_FTW.
2003-01-15 12:14:29 +00:00
Jim Meyering
ddd1b52c1c
.
2003-01-15 12:13:34 +00:00
Jim Meyering
800f3a1e77
(gobble_file): Fall back on using lstat when required:
...
when --dereference (-L) is not specified, and
- when operating on a dangling symlink
- when operating on command-line-symlink-to-directories
This fixes numerous problems. Here are examples:
- `ls dangling-symlink' would fail with `no such file...'
Now it prints `dangling-symlink'.
- `ls -i symlink' would mistakenly print the inode of the referent.
Now it prints the inode of the symlink. Likewise for --size (-s).
Based on a patch from Michael Stone.
Reported by Deepak Goel as Debian bug #173793 .
2003-01-15 11:59:07 +00:00
Jim Meyering
b1ebf2a383
*** empty log message ***
2003-01-15 11:58:26 +00:00
Jim Meyering
b6dcca8662
*** empty log message ***
2003-01-15 11:58:02 +00:00
Jim Meyering
c4abcd5882
*** empty log message ***
2003-01-15 11:32:59 +00:00
Jim Meyering
5c68fbd9a3
Rename ls's --dereference-command-line (-H)
...
option to --dereference-command-line-symlink-to-dir.
[enum Dereference_symlink]
(DEREF_COMMAND_LINE_SYMLINK_TO_DIR): Rename from
DEREF_COMMAND_LINE_ARGUMENTS. Update all uses.
(long_options): Rename the option.
(usage): Say that --dereference-... changes how ls treats
only symlinks to directories specified on the command line.
2003-01-15 11:32:47 +00:00
Jim Meyering
64a58d4cdd
*** empty log message ***
2003-01-14 21:10:26 +00:00
Jim Meyering
78c9c2c7fa
(TESTS): Add dangle and inode.
2003-01-14 21:10:12 +00:00
Jim Meyering
4d76e1e857
*** empty log message ***
2003-01-14 20:51:25 +00:00
Jim Meyering
a57532aeac
remove diff's -u
2003-01-14 19:04:28 +00:00
Jim Meyering
fbc1a9a299
*** empty log message ***
2003-01-14 19:03:00 +00:00
Jim Meyering
c4384e7af5
*** empty log message ***
2003-01-14 16:23:03 +00:00
Jim Meyering
642bc1acfb
(gobble_file): Fix a bug introduced in 4.5.4 that made it
...
so that ls --color would no longer highlight the names of files with
the execute bit set when not specified on the command line.
Patch by Michael Stone. Reported by Stephen Depooter as
Debian bug 175135.
2003-01-14 16:22:55 +00:00
Jim Meyering
0c28dd9808
*** empty log message ***
2003-01-14 16:20:54 +00:00
Jim Meyering
caf5671edc
factor a little
2003-01-14 16:19:09 +00:00
Jim Meyering
fb056f448a
duh: close file handle
2003-01-14 15:50:18 +00:00
Jim Meyering
6c1ccdaf7f
(color-exe): New test, for the above fix.
2003-01-14 15:38:23 +00:00
Jim Meyering
a5c0405752
fix typo in comment
2003-01-14 15:10:41 +00:00
Jim Meyering
0568a21a8d
*** empty log message ***
2003-01-14 15:09:00 +00:00
Jim Meyering
cbe7e9daec
(same_name): Declare *_basename locals to be `const'.
...
Consolidate declarations and initializations of *_base* locals.
2003-01-14 15:07:24 +00:00
Jim Meyering
ee45aa56cb
*** empty log message ***
2003-01-14 14:44:33 +00:00
Jim Meyering
cbf24b40e3
(same_name): Reorder tests so as to avoid calling stat()
...
when a string comparison is sufficient.
2003-01-14 14:44:29 +00:00
Jim Meyering
72bca87dba
*** empty log message ***
2003-01-14 14:15:44 +00:00
Jim Meyering
0e87cb139e
(readtoken): Cast character to 'unsigned char', not 'unsigned int'.
2003-01-14 14:15:37 +00:00
Jim Meyering
ff0e20e30e
*** empty log message ***
2003-01-14 12:58:27 +00:00
Jim Meyering
92602ead01
Merge in Ulrich's and my changes from libc.
2003-01-14 12:58:22 +00:00
Jim Meyering
7da8f5c488
*** empty log message ***
2003-01-13 15:33:43 +00:00
Jim Meyering
58c625df5d
*** empty log message ***
2003-01-13 15:33:17 +00:00
Jim Meyering
12cb8887bc
*** empty log message ***
2003-01-13 15:27:08 +00:00
Jim Meyering
495b91c2d1
*** empty log message ***
2003-01-13 13:44:14 +00:00
Jim Meyering
64977d2baa
Also test for just fixed bug with --zero.
2003-01-13 13:44:11 +00:00
Jim Meyering
ebc3717c9d
*** empty log message ***
2003-01-13 13:40:04 +00:00
Jim Meyering
cca0153946
*** empty log message ***
2003-01-13 13:39:44 +00:00
Jim Meyering
8355da5492
(long_opts): --zero does not require an argument.
...
Patch by Michael Stone.
2003-01-13 13:35:17 +00:00
Jim Meyering
01f012f2f5
*** empty log message ***
2003-01-12 18:29:54 +00:00
Jim Meyering
c5ee2230b0
*** empty log message ***
2003-01-12 18:29:32 +00:00
Jim Meyering
398ca04327
tweak comments
2003-01-12 18:16:31 +00:00
Jim Meyering
73bb03d0a6
*** empty log message ***
2003-01-12 18:03:52 +00:00
Jim Meyering
4e95cd2dff
Also work on systems that have `struct direct', using autoconf's AC_HEADER_DIRENT.
2003-01-12 18:03:48 +00:00
Jim Meyering
67b5ecf8ab
*** empty log message ***
2003-01-12 17:01:53 +00:00
Jim Meyering
376e889123
(ftw_startup): Rename local-shadowing local to pacify gcc.
2003-01-12 17:01:48 +00:00
Jim Meyering
cce1b15448
New file, from glibc/io.
2003-01-12 16:48:56 +00:00
Jim Meyering
0b6a1829be
New file, from glibc/io.
2003-01-12 16:48:31 +00:00
Jim Meyering
d3b1d606c5
(libfetish_a_SOURCES): Add ftw.h.
2003-01-12 16:47:20 +00:00
Jim Meyering
b121bd6e31
exit nonzero for any failure
2003-01-12 13:18:16 +00:00
Jim Meyering
304728fb95
*** empty log message ***
2003-01-12 13:17:29 +00:00
Jim Meyering
9bb12a2a33
(cvs-update): Skip any file with local modifications.
2003-01-12 13:11:14 +00:00
Jim Meyering
b0312e15d4
*** empty log message ***
2003-01-12 11:52:38 +00:00
Jim Meyering
131a8fecb3
*** empty log message ***
2003-01-12 11:51:43 +00:00
Jim Meyering
65a9e6a065
Lots of syntactic clean-up, mostly from Karl Berry.
...
Use consistent indentation, two spaces per level.
(scriptversion): New variable.
Change initializations like `variable=""' to `variable='.
(usage): New variable.
Use `test', not `['.
Use `test -n "$var"', not `[ x"$var" = x ]'.
Use `test -z "$var"', not `[ x"$var" != x ]'.
Alphabetize case entries.
Accept --help and --version options.
Remove unnecessary `else :' clauses.
Add a `Local variables' eval block to help emacs users update
the time-stamp variable added above.
2003-01-12 11:51:36 +00:00
Jim Meyering
60ad866925
*** empty log message ***
2003-01-12 09:04:16 +00:00
Jim Meyering
932bf8f214
*** empty log message ***
2003-01-12 08:59:19 +00:00
Jim Meyering
42594a0e4a
(usage): Document --first-only and mention that --tabs=N (-t) enables --all (-a).
2003-01-12 08:59:00 +00:00
Jim Meyering
079dc69267
(libfetish_a_SOURCES): Add canonicalize.h.
2003-01-12 08:57:11 +00:00
Jim Meyering
664a205be6
*** empty log message ***
2003-01-11 09:44:28 +00:00
Jim Meyering
b734cbf724
Don't test HAVE_ERRNO_H. It's not necessary.
2003-01-11 09:44:23 +00:00
Jim Meyering
7287520d21
*** empty log message ***
2003-01-11 09:43:50 +00:00
Jim Meyering
5e74b3cb3b
*** empty log message ***
2003-01-11 09:39:45 +00:00
Jim Meyering
35d5499fca
Include "canonicalize.h".
...
Use canonicalize_file_name unconditionally.
2003-01-11 09:39:40 +00:00
Jim Meyering
8a5ad5c78c
*** empty log message ***
2003-01-11 09:37:31 +00:00
Jim Meyering
96a72cddd1
Require AC_FUNC_CANONICALIZE_FILE_NAME.
...
(jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
2003-01-11 09:37:18 +00:00
Jim Meyering
a49cb29dc1
*** empty log message ***
2003-01-11 09:36:07 +00:00
Jim Meyering
23ad418ba6
add prereqs
2003-01-11 09:35:55 +00:00
Jim Meyering
5d33b7498f
*** empty log message ***
2003-01-11 09:35:07 +00:00
Jim Meyering
c7463c38f8
Don't test HAVE_ERRNO_H. It's not necessary.
...
Don't test HAVE_STDDEF_H. It's not necessary.
Use definition of PTR_INT_TYPE from obstack.h.
2003-01-11 09:32:48 +00:00
Jim Meyering
eb04d885c2
From Dmitry Levin.
2003-01-11 08:29:46 +00:00
Jim Meyering
c600ace840
(AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
2003-01-11 08:16:56 +00:00
Jim Meyering
8920dfdb57
Require AC_FUNC_CANONICALIZE_FILE_NAME.
2003-01-11 08:16:46 +00:00
Jim Meyering
85bcabcba2
*** empty log message ***
2003-01-10 23:17:23 +00:00
Jim Meyering
52855f6e36
*** empty log message ***
2003-01-10 23:07:12 +00:00
Jim Meyering
b6c0821009
Don't include xalloc.h.
...
It's already included via system.h.
2003-01-10 23:07:04 +00:00
Jim Meyering
3bc2ea6982
*** empty log message ***
2003-01-10 23:03:18 +00:00
Jim Meyering
774f38050e
Add src/readlink.c.
2003-01-10 23:03:13 +00:00
Jim Meyering
8ba73f51a0
*** empty log message ***
2003-01-10 22:55:49 +00:00
Jim Meyering
44b0813e1e
Include "xgetcwd.h".
2003-01-10 22:55:33 +00:00
Jim Meyering
251cad0c9c
*** empty log message ***
2003-01-10 22:48:28 +00:00
Jim Meyering
77f6ad8381
Include "xgetcwd.h".
2003-01-10 22:48:02 +00:00
Jim Meyering
76ee8c435c
(libfetish_a_SOURCES): Add xgetcwd.h.
2003-01-10 22:47:38 +00:00
Jim Meyering
9805d6c5cc
Remove uses of PARAMS.
2003-01-10 22:46:11 +00:00
Jim Meyering
784d409601
Include xgetcwd.h.
2003-01-10 22:45:14 +00:00
Jim Meyering
e690564cc9
*** empty log message ***
2003-01-10 22:32:08 +00:00
Jim Meyering
418e181ad8
Don't declare functions declared by xalloc.h.
...
Include "xalloc.h" instead.
2003-01-10 21:46:37 +00:00
Jim Meyering
4ac2ebda98
Don't declare directly functions declared by xalloc.h.
...
Include "xalloc.h" instead.
2003-01-10 21:45:21 +00:00
Jim Meyering
3242594f7b
Don't declare directly functions declared by xalloc.h.
...
Include "xalloc.h" instead.
2003-01-10 21:44:56 +00:00
Jim Meyering
200a73de4f
Don't declare xmalloc directly.
...
Include "xalloc.h" instead.
2003-01-10 21:38:20 +00:00
Jim Meyering
2e62c8ab03
.
2003-01-10 21:37:19 +00:00
Jim Meyering
8088407c6c
.
2003-01-10 13:21:14 +00:00
Jim Meyering
3617805acb
Remove declaration of xstrdup.
...
Instead, include "xalloc.h".
2003-01-10 08:41:28 +00:00
Jim Meyering
6f45173dec
.
2003-01-09 20:59:09 +00:00
Jim Meyering
b1b0565faf
Document readlink.
2003-01-09 20:53:40 +00:00
Jim Meyering
acd9f2ab3b
copyright
2003-01-09 20:45:06 +00:00
Jim Meyering
3b3ff7872c
*** empty log message ***
2003-01-09 20:43:05 +00:00
Jim Meyering
9681c225cb
Include other part of Dmitry's patch.
...
(dist_man_MANS): Add readlink.1.
2003-01-09 20:42:33 +00:00
Jim Meyering
51accd1c5e
*** empty log message ***
2003-01-09 20:39:43 +00:00
Jim Meyering
07a2a5a4be
*** empty log message ***
2003-01-09 20:39:04 +00:00
Jim Meyering
30e7a37b70
Add readlink.
2003-01-09 20:38:48 +00:00
Jim Meyering
f3f599f657
Add readlink.
2003-01-09 20:37:41 +00:00
Jim Meyering
6b0465359f
*** empty log message ***
2003-01-09 20:36:55 +00:00
Jim Meyering
229031ed3f
(bin_PROGRAMS): Add readlink.
2003-01-09 20:36:37 +00:00
Jim Meyering
2ae02ab5b9
New program, by Dmitry V. Levin.
2003-01-09 20:35:13 +00:00
Jim Meyering
8ee5d881b1
(out-delim1, ..., out-delim5): Test new functionality.
2003-01-09 20:30:40 +00:00
Jim Meyering
322ee6e302
When selecting ranges of byte offsets (as opposed to ranges of fields)
...
and when --output-delimiter=STRING is specified, output STRING between
ranges of selected bytes.
(RANGE_START_SENTINEL): Define.
(output_delimiter_specified): New global.
(print_kth): Add parameter. Adjust all callers.
(set_fields): Mark each range-start index with RANGE_START_SENTINEL.
(cut_bytes): When requested, output STRING between ranges of
selected bytes.
(main): Make a diagnostic a little clearer.
Based on a patch from Jan Nieuwenhuizen.
2003-01-09 20:16:58 +00:00
Jim Meyering
ba5be82b7e
*** empty log message ***
2003-01-09 20:14:08 +00:00
Jim Meyering
a215ab54d3
*** empty log message ***
2003-01-09 19:30:28 +00:00
Jim Meyering
e66ab953ef
(set_fields): Make code agree with comment:
...
Don't merge abutting ranges like 4- and 2-3. This makes no
difference currently, but is required to support an upcoming change.
2003-01-09 19:30:22 +00:00
Jim Meyering
bc49481933
*** empty log message ***
2003-01-08 17:36:51 +00:00
Jim Meyering
8ca0769584
Undefine and define-away `const' after inclusion
...
of errno.h, not before. Suggestion from Bruno Haible.
2003-01-08 17:36:35 +00:00
Jim Meyering
0f19450208
*** empty log message ***
2003-01-07 22:40:34 +00:00
Jim Meyering
0f076ebc12
*** empty log message ***
2003-01-07 17:12:16 +00:00
Jim Meyering
7d1c764098
(set_fields): Fix typo in comment.
2003-01-07 17:12:11 +00:00
Jim Meyering
d31fd7a77e
tweak comment
2003-01-07 16:36:45 +00:00
Jim Meyering
1ef6e79882
add a comment
2003-01-07 16:06:56 +00:00
Jim Meyering
d14b4f476c
*** empty log message ***
2003-01-07 15:59:48 +00:00
Jim Meyering
06ed252866
*** empty log message ***
2003-01-07 15:54:53 +00:00
Jim Meyering
819147ade4
(TESTS): Add not-owner.
2003-01-07 15:36:17 +00:00
Jim Meyering
6068858986
*** empty log message ***
2003-01-07 15:34:51 +00:00
Jim Meyering
6580a55aeb
Remove the test for non-owner diagnostic.
...
Now, this tests only the nonexistent-directory diagnostic.
2003-01-07 15:34:34 +00:00
Jim Meyering
8586d4652e
New test, mostly extracted from fail-diag.
2003-01-07 15:34:20 +00:00
Jim Meyering
0d07d1b2b7
*** empty log message ***
2003-01-07 14:44:54 +00:00
Jim Meyering
84cdbe6529
Fix typo: s/ld/ls/.
2003-01-07 14:44:45 +00:00
Jim Meyering
72d00a1c57
.
2003-01-07 14:12:30 +00:00
Jim Meyering
6a4d25740c
tweak comment
2003-01-07 14:09:37 +00:00
Jim Meyering
fbb3b7b80c
*** empty log message ***
2003-01-07 14:03:21 +00:00
Jim Meyering
e76d578bad
Rework so that it may serve to define full_read, too.
2003-01-07 14:03:15 +00:00
Jim Meyering
0f0a65766e
Simply #define FULL_READ and include full-write.c.
2003-01-07 14:03:05 +00:00
Jim Meyering
9d89ba4161
2002-12-10 Paul Eggert <eggert@twinsun.com>
...
Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
(FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not
defined (e.g., a pure POSIX system).
(EXCLUDE_macros_do_not_collide_with_FNM_macros): Use FNM_PATHNAME
instead of FNM_FILE_NAME, for compatibility with pure POSIX sytems.
2003-01-06 13:17:48 +00:00
Jim Meyering
783186bced
2002-12-10 Paul Eggert <eggert@twinsun.com>
...
Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
Choose values that are less likely to collide with system fnmatch
options.
2003-01-06 13:17:27 +00:00
Jim Meyering
cc334674f6
(libfetish_a_SOURCES): Add full-read.c and full-read.h.
2003-01-06 13:14:55 +00:00
Jim Meyering
685ac06eef
.
2003-01-06 13:08:59 +00:00
Jim Meyering
dd02096234
Include full_read.h.
...
(get_fs_usage): Use full_read instead of safe_read.
2003-01-06 13:08:19 +00:00
Jim Meyering
a66b8da8d5
*** empty log message ***
2003-01-06 13:05:24 +00:00
Jim Meyering
b9ba08e368
(strdup): Remove unused declaration.
2003-01-06 13:04:50 +00:00
Jim Meyering
a7bed0741a
(get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
2003-01-06 13:02:33 +00:00
Jim Meyering
d509325269
(utime_null): No need to call ftruncate if the file was
...
nonempty. Patch by Bruno Haible.
(utime_null): Use SAFE_READ_ERROR.
2003-01-06 12:58:35 +00:00
Jim Meyering
e7ad638593
*** empty log message ***
2003-01-04 10:51:46 +00:00
Jim Meyering
7de3755878
Update copyright date.
2003-01-04 10:51:31 +00:00
Jim Meyering
79ea5a059c
(TESTS): Add no-deref.
2003-01-04 10:46:56 +00:00
Jim Meyering
2076d0231d
.
2003-01-04 10:45:42 +00:00
Jim Meyering
dc90551359
*** empty log message ***
2003-01-04 10:36:24 +00:00
Jim Meyering
7a1c2309c2
*** empty log message ***
2003-01-04 10:35:13 +00:00
Jim Meyering
a2b9cb05b7
Remove use of PARAMS.
2003-01-04 10:34:59 +00:00
Jim Meyering
a6b5021004
Remove use of PARAMS.
2003-01-04 10:33:01 +00:00
Jim Meyering
6df04c9288
Remove use of PARAMS.
2003-01-04 10:32:21 +00:00
Jim Meyering
83593d5f3a
*** empty log message ***
2003-01-04 10:08:07 +00:00
Jim Meyering
8b6b22bcef
rm could be tricked into mistakenly reporting a cycle.
...
* src/remove.c: [cycle_check_state]: New global.
(remove_cwd_entries): Adapt to new semantics of cycle_check.
(rm): Call cycle_check_init and cycle_check_free for each file.
When rm detects a cycle, don't abort the entire command,
but rather just the affected command line argument.
* src/remove.c: Include <setjmp.h>
(struct dirstack_state) [current_arg_jumpbuf]: New member.
(remove_cwd_entries): Call longjmp if we detect a cycle.
(rm): Call setjmp here.
* src/remove.c (cycle_check, is_power_of_two): Remove functions.
Instead, include cycle-check.h and use it.
2003-01-04 10:07:44 +00:00
Jim Meyering
e2b894c771
(struct dev_ino): Remove declaration.
2003-01-04 09:53:20 +00:00
Jim Meyering
a3e6d3aa63
Don't include trailing /. in diagnostics about directories.
...
(full_filename_): When FILENAME is just `.'
and there is a nonempty directory-name part, don't append `/.'.
2003-01-04 09:45:54 +00:00
Jim Meyering
b09da5c9d0
(remove_cwd_entries): Fix typos in comment.
2003-01-04 09:42:53 +00:00
Jim Meyering
2432611646
*** empty log message ***
2003-01-04 09:41:35 +00:00
Jim Meyering
818c25f686
(struct dirstack_state): Define.
...
To be used in place of these file-scoped globals ...
(dir_stack, len_stack, Active_dir): Remove globals.
(ds_init, ds_free): New functions.
(full_filename): Define.
(full_filename_): Rename from full_filename.
Begin to make AD_* functions more generic.
(AD_push_initial): Don't set status to RM_OK here.
(AD_push): Likewise.
(AD_INIT_OTHER_MEMBERS): Define.
(remove_dir): Define the `status' member manually after each
call to AD_push or AD_push_initial.
2003-01-04 09:41:24 +00:00
Jim Meyering
7e4c16df3d
(TESTS): Add cycle.
2003-01-04 09:09:48 +00:00
Jim Meyering
c146a76b5d
Remove trailing /. from diagnostic.
2003-01-04 09:03:45 +00:00
Jim Meyering
874f367c0a
Enable this test -- now that we have the --presume-input-tty option.
2003-01-04 09:03:02 +00:00
Jim Meyering
432a5017a2
rm could be tricked into mistakenly reporting a cycle
2003-01-04 09:01:04 +00:00
Jim Meyering
5a0e8b1ab1
*** empty log message ***
2003-01-04 08:59:19 +00:00
Jim Meyering
10a0b7c14d
(check-misc): New rule, to ensure that no more
...
S_IS* macro definitions sneak into the code.
(check): Depend on check-misc.
2003-01-04 08:59:15 +00:00
Jim Meyering
33ca4e1f5a
[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
...
They're already defined in sys2.h.
2003-01-04 08:58:12 +00:00
Jim Meyering
fd5d4e6d54
remove blank line
2003-01-04 08:55:30 +00:00
Jim Meyering
1cf764991f
(count_entry) [S_ISLNK]: Don't define.
...
It's already defined in sys2.h.
2003-01-04 08:55:19 +00:00
Jim Meyering
a4efa35cd7
[S_ISLNK]: Don't define. It's already defined in sys2.h.
2003-01-04 08:44:11 +00:00
Jim Meyering
9434608b2b
.
2003-01-04 08:42:26 +00:00
Jim Meyering
0bce0bb6f4
*** empty log message ***
2003-01-03 21:38:33 +00:00
Jim Meyering
08cf9aee8b
Add copyright.
...
(AUTHORS): I suppose I've written it.
2003-01-03 21:38:27 +00:00
Jim Meyering
8256faecd8
*** empty log message ***
2003-01-03 21:34:16 +00:00
Jim Meyering
d45f740edc
(false.c): Make the generated file be read-only.
2003-01-03 21:34:06 +00:00
Jim Meyering
8cce263649
.
2003-01-03 21:05:51 +00:00
Jim Meyering
d517c8fa79
(do_copy): Tweak diagnostic to be consistent with the one
...
from mv: s/missing file arguments/missing file argument/.
With --target-directory=DIR, cp and mv work with a single file argument.
Reported by Karl Berry.
2003-01-03 19:34:22 +00:00
Jim Meyering
820fd625f3
*** empty log message ***
2003-01-03 19:33:59 +00:00
Jim Meyering
1b6b9abd55
Include "dev-ino.h".
...
[struct dev_ino]: Remove declaration.
2003-01-03 19:33:52 +00:00
Jim Meyering
8e4c2127af
*** empty log message ***
2003-01-03 19:31:10 +00:00
Jim Meyering
fe688e3d91
(libfetish_a_SOURCES): Add cycle-check.c, cycle-check.h, and dev-ino.h.
2003-01-03 19:31:01 +00:00
Jim Meyering
fab52f550d
.
2003-01-03 19:30:29 +00:00
Jim Meyering
5ed7d34ed8
*** empty log message ***
2002-12-21 14:53:26 +00:00
Jim Meyering
e3c1118ce1
Generate MML-formatted announcement.
...
This makes it a *lot* harder to send stale MD5/SHA1 signatures.
2002-12-21 14:53:18 +00:00
Jim Meyering
317fa67e1e
.
2002-12-21 14:50:45 +00:00
Jim Meyering
3156fcf62a
*** empty log message ***
2002-12-21 14:42:02 +00:00
Jim Meyering
374d2948bc
.
2002-12-21 14:41:58 +00:00
Jim Meyering
bb42dae7f2
*** empty log message ***
2002-12-20 20:10:59 +00:00
Jim Meyering
f331e1389c
(touch): Change the wording of a diagnostic so
...
that it makes sense both when the file exists and when it doesn't.
2002-12-20 20:10:48 +00:00
Jim Meyering
5fcf19366e
.
2002-12-19 20:30:39 +00:00
Jim Meyering
302165d602
(valid_options): Declare to be static.
2002-12-18 08:54:01 +00:00
Jim Meyering
7d29906690
.
2002-12-16 07:43:45 +00:00
Jim Meyering
4c14b0f08e
.
2002-12-16 07:43:25 +00:00
Jim Meyering
63c56a6444
*** empty log message ***
2002-12-15 21:41:08 +00:00
Jim Meyering
dd2b357234
.
2002-12-15 21:40:56 +00:00
Jim Meyering
e7ff31d2ac
Remove rules related to generating m4/jm-glibc-io.m4.
2002-12-15 21:40:30 +00:00
Jim Meyering
0a8353f85e
*** empty log message ***
2002-12-15 21:39:41 +00:00
Jim Meyering
c7bc5000c9
Remove now-unused file.
2002-12-15 21:39:28 +00:00
Jim Meyering
a734df6426
(Makefile.am): Remove jm-glibc-io.m4 and jm-glibc-io.m4n.
2002-12-15 21:38:44 +00:00
Jim Meyering
97ce59e3bc
(libfetish_a_SOURCES): Add strftime.h.
2002-12-15 21:33:42 +00:00
Jim Meyering
5da39e8d5c
*** empty log message ***
2002-12-15 21:33:35 +00:00
Jim Meyering
470a990b59
New file, for declaration of nstrftime.
2002-12-15 21:33:29 +00:00
Jim Meyering
8aaa230726
*** empty log message ***
2002-12-15 20:55:20 +00:00
Jim Meyering
a05f170290
*** empty log message ***
2002-12-15 20:55:15 +00:00
Jim Meyering
85b26cb44d
*** empty log message ***
2002-12-15 20:54:49 +00:00
Jim Meyering
a5f14f167e
Remove all uses of `PARAMS'.
2002-12-15 20:54:29 +00:00
Jim Meyering
b7e390ca09
(PARAMS): Remove definition.
2002-12-15 20:53:36 +00:00
Jim Meyering
a6561c4753
(PARAMS): Remove definition.
2002-12-15 20:48:26 +00:00
Jim Meyering
a896d0a426
*** empty log message ***
2002-12-15 20:46:06 +00:00
Jim Meyering
eb4832a29c
Remove declaration of nstrftime.
...
Include strftime.h instead.
2002-12-15 20:45:36 +00:00
Jim Meyering
576dca2909
.
2002-12-15 19:21:40 +00:00
Jim Meyering
60d48b0f32
*** empty log message ***
2002-12-15 08:40:42 +00:00
Jim Meyering
b647a582c0
*** empty log message ***
2002-12-15 07:43:12 +00:00
Jim Meyering
fda1cba3bf
*** empty log message ***
2002-12-14 19:51:04 +00:00
Jim Meyering
e5855b15f1
($(url_dir_list)): Use .../coreutils, not .../fetish.
2002-12-14 19:50:29 +00:00
Jim Meyering
3a0bfd5cda
*** empty log message ***
2002-12-14 17:34:21 +00:00
Jim Meyering
ec2a27c16b
[! HAVE_DECL_MEMRCHR]: Declare memrchr.
...
This is necessary at least for Irix6.5 when using c89.
Reported by Nelson Beebe.
2002-12-14 17:34:13 +00:00
Jim Meyering
80579847f4
*** empty log message ***
2002-12-14 17:21:32 +00:00
Jim Meyering
a50dbaf78c
(TESTS): Add cat-tty-eof.
2002-12-14 17:21:25 +00:00
Jim Meyering
e4b01add78
*** empty log message ***
2002-12-14 17:21:04 +00:00
Jim Meyering
c5e036dcd4
test for a bug that appeared in cat from using a bad version of safe-read.c
2002-12-14 17:19:32 +00:00
Jim Meyering
5b372bd3cc
*** empty log message ***
2002-12-14 16:29:11 +00:00
Jim Meyering
facdf8937d
*** empty log message ***
2002-12-14 14:15:43 +00:00
Jim Meyering
6073421583
(usage): Specify how major and minor mode numbers are interpreted.
...
Remove now-redundant usage-specifying comment.
2002-12-14 14:15:38 +00:00
Jim Meyering
d09d7750ea
*** empty log message ***
2002-12-14 14:14:25 +00:00
Jim Meyering
8ed95f0a9d
*** empty log message ***
2002-12-14 13:31:05 +00:00
Jim Meyering
fcb430c20c
*** empty log message ***
2002-12-14 13:27:59 +00:00
Jim Meyering
35ffb9714d
(mknod invocation): Specify how major and minor mode numbers are interpreted.
2002-12-14 13:27:53 +00:00
Jim Meyering
98986162e7
bump to 4.5.5
2002-12-14 12:45:57 +00:00
Jim Meyering
0801186cb1
.
2002-12-13 22:34:11 +00:00
Jim Meyering
382b921d64
*** empty log message ***
2002-12-13 22:13:05 +00:00
Jim Meyering
6f8678a3ec
*** empty log message ***
2002-12-13 22:11:32 +00:00
Jim Meyering
7d00f03b1f
Allow for a directory of size `0'.
...
That happens at least on file systems of type tmpfs on linux-2.4.18.
2002-12-13 22:11:28 +00:00
Jim Meyering
1e966014d0
.
2002-12-13 21:03:55 +00:00
Jim Meyering
3a550fd99a
.
2002-12-13 20:46:19 +00:00
Jim Meyering
e1ecc43b28
.
2002-12-13 20:25:24 +00:00
Jim Meyering
7861a52f98
remove Ascend::Init
2002-12-13 20:24:02 +00:00
Jim Meyering
93758bb4d9
(announcement): Invoke announce-gen.
2002-12-13 20:23:39 +00:00
Jim Meyering
3643096a84
(EXTRA_DIST): Add announce-gen.
2002-12-13 20:23:29 +00:00
Jim Meyering
1ac9a613b3
*** empty log message ***
2002-12-13 20:20:39 +00:00
Jim Meyering
db26c228ed
.
2002-12-13 19:52:05 +00:00
Jim Meyering
d88598865b
*** empty log message ***
2002-12-13 09:15:09 +00:00
Jim Meyering
edc5c8412f
(TESTS): Add preserve-2.
2002-12-13 09:15:00 +00:00
Jim Meyering
22bf522917
New file/test, for latest fix.
2002-12-13 09:14:36 +00:00
Jim Meyering
1d6fcb7121
update
2002-12-13 09:07:38 +00:00
Jim Meyering
50547ce12d
*** empty log message ***
2002-12-11 23:46:04 +00:00
Jim Meyering
7ba3e40970
Fix a bug whereby cp would fail to parse an option like
...
--preserve=mode,ownership.
(decode_preserve_arg): Advance `comma' to
point the character following the comma.
2002-12-11 23:44:23 +00:00
Jim Meyering
990f8082fd
*** empty log message ***
2002-12-11 13:40:59 +00:00
Jim Meyering
a8bdf659cc
.
2002-12-11 10:12:41 +00:00
Jim Meyering
f551da2212
*** empty log message ***
2002-12-11 10:01:00 +00:00
Jim Meyering
bd385df70a
(NEED_PATHCONF_WRAPPER): Undefine before defining,
...
in case it's already defined.
2002-12-11 10:00:57 +00:00
Jim Meyering
b8b8ba810c
.
2002-12-11 07:25:05 +00:00
Jim Meyering
5e71874cd7
*** empty log message ***
2002-12-11 07:21:46 +00:00
Jim Meyering
839df841d3
Sync from gnulib.
2002-12-11 07:21:42 +00:00
Jim Meyering
c15db5ab2a
*** empty log message ***
2002-12-11 07:21:20 +00:00
Jim Meyering
6e04172718
Maintain this file manually rather than generating it.
...
Generating it caused too much trouble. From gnulib.
2002-12-11 07:21:14 +00:00
Jim Meyering
8e5b4e9c2b
update from gnulib
2002-12-09 10:30:01 +00:00
Jim Meyering
b16ec81def
*** empty log message ***
2002-12-09 09:42:08 +00:00
Jim Meyering
294a26c23c
Don't get a test failure if /no exists.
...
Instead, evoke a framework failure if /no-$$ exists.
2002-12-09 09:41:53 +00:00
Jim Meyering
833afe42f0
*** empty log message ***
2002-12-08 20:55:37 +00:00
Jim Meyering
8cf6e02841
*** empty log message ***
2002-12-08 20:55:02 +00:00
Jim Meyering
f2af80ecd0
*** empty log message ***
2002-12-08 20:51:59 +00:00
Jim Meyering
7b352458d0
(lstat) [! LSTAT_FOLLOWS_SLASHED_SYMLINK]:
...
Define to rpl_lstat, so that even on systems like Solaris 5.8,
du honors (per POSIX) the trailing slash on an argument referring
to a symlink-to-directory.
2002-12-08 20:51:55 +00:00
Jim Meyering
abf1b2450f
*** empty log message ***
2002-12-06 15:42:31 +00:00
Jim Meyering
ccb20835c1
.
2002-12-06 15:42:12 +00:00
Jim Meyering
a461cf1008
add a FIXME comment
2002-12-06 15:38:34 +00:00
Jim Meyering
b48a49d0f7
*** empty log message ***
2002-12-06 15:38:26 +00:00
Jim Meyering
2eae3898bf
*** empty log message ***
2002-12-06 14:28:02 +00:00
Jim Meyering
08301486f0
(TESTS): Add file-type.
2002-12-06 14:27:58 +00:00
Jim Meyering
0338d23883
from gnulib
2002-12-06 14:24:22 +00:00
Jim Meyering
ebb4bf20aa
*** empty log message ***
2002-12-06 14:23:44 +00:00
Jim Meyering
fc670bfb38
*** empty log message ***
2002-12-06 14:16:13 +00:00
Jim Meyering
10fc9c5ee9
(gobble_file): Also stat the file if it's a
...
regular file and --indicator-style=classify (aka -F).
2002-12-06 14:16:09 +00:00
Jim Meyering
93968df340
*** empty log message ***
2002-12-06 13:47:50 +00:00
Jim Meyering
431c521fef
A test to contrast ls -F and ls --indicator-style=file-type.
2002-12-06 13:47:40 +00:00
Jim Meyering
0d35ee704b
Add copyright notice.
...
(libfetish_a_SOURCES): Add unlocked-io.h.
(BUILT_SOURCES, all-local): Remove unlocked-io.h.
(DISTCLEANFILES, io_functions): Remove macros.
(EXTRA_DIST): Remove gen_uio.
(unlocked-io.h): Remove rule.
2002-12-06 13:38:15 +00:00
Jim Meyering
6fe922b850
remove, now that unlocked-io.h is maintained manually
2002-12-06 13:37:49 +00:00
Jim Meyering
5d1b828601
*** empty log message ***
2002-12-06 13:37:15 +00:00
Jim Meyering
76fd0dbc45
New file, but with proper copyright notice and
...
attribution. Note: this is *not* the same as the file in gnulib.
This uses #if HAVE_FUNC_UNLOCKED for each `FUNC', rather than
HAVE_DECL_FUNC_UNLOCKED. This usage is consistent with the autoconf
macro in ../m4/jm-glibc-io.m4. Modulo comments, this file still
contains exactly what was generated by gen-uio.
2002-12-06 13:37:11 +00:00
Jim Meyering
e84a62d126
.
2002-12-06 13:33:23 +00:00
Jim Meyering
b9e8939e0f
*** empty log message ***
2002-12-06 08:33:28 +00:00
Jim Meyering
c8a0110617
this is the old, generated version
2002-12-06 08:28:58 +00:00
Jim Meyering
5327503574
*** empty log message ***
2002-12-06 08:23:55 +00:00
Jim Meyering
1252175d43
[defined emacs]: Include "lisp.h".
...
(xalloc_die) [defined emacs]: New macro.
(free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE.
[! defined emacs]: Include <xalloc.h>.
(POINTER_TYPE) [!defined POINTER_TYPE]: New macro.
(pointer): Typedef to POINTER_TYPE *.
(malloc): Remove decl; we now always use xmalloc.
(alloca): Use old-style definition, since Emacs needs this.
Check for arithmetic overflow when computing combined size.
2002-12-06 08:23:28 +00:00
Jim Meyering
1e4ba6c553
update copyright from gnulib
2002-12-06 08:09:12 +00:00
Jim Meyering
663374c9b6
.
2002-12-06 07:36:39 +00:00
Jim Meyering
ada9db6db9
update comment
2002-12-04 19:33:57 +00:00
Jim Meyering
f0675b7477
*** empty log message ***
2002-12-04 19:29:46 +00:00
Jim Meyering
2a825723f1
whoops. Add -F
2002-12-04 19:28:22 +00:00
Jim Meyering
7c42947dc5
Make sure the symlink was created.
...
Richard Dawe reported that `ln -s link link' succeeds, but creates
no file on systems running some version of the DJGPP libc.
2002-12-04 19:23:33 +00:00
Jim Meyering
75a84d6f4a
*** empty log message ***
2002-12-04 10:07:59 +00:00
Jim Meyering
08e032083c
.
2002-12-04 08:59:41 +00:00
Jim Meyering
47d074ba3f
Reflect the fact that stat.c and lstat.c are no longer generated.
...
(BUILT_SOURCES): Remove stat.c and lstat.c.
(DISTCLEANFILES): Likewise.
(EXTRA_DIST): Likewise.
(all_local): Don't depend on stat.c or lstat.c.
(stat.c, lstat.c): Remove rules.
(EXTRA_DIST): Remove xstat.in.
2002-12-04 08:59:13 +00:00
Jim Meyering
f2cb00a54a
author hardly matters here :-)
2002-12-04 08:56:58 +00:00
Jim Meyering
16c87869c6
Simply #define LSTAT and include stat.c.
2002-12-04 08:55:54 +00:00
Jim Meyering
598a3babd5
Rework so that it may serve to define rpl_lstat, too.
2002-12-04 08:55:32 +00:00
Jim Meyering
962bfcd672
Remove file. Contents moved into stat.c.
2002-12-04 08:16:02 +00:00
Jim Meyering
4890f411f0
*** empty log message ***
2002-12-04 07:55:38 +00:00
Jim Meyering
c68d6cafca
Simply #define SAFE_WRITE and include safe-read.c.
2002-12-04 07:51:45 +00:00
Jim Meyering
c0ff7df8cb
Rework so that it may serve to define safe_write, too.
2002-12-04 07:50:55 +00:00
Jim Meyering
c5a4e28e9b
.
2002-12-04 07:43:18 +00:00
Jim Meyering
a1f5754a17
New file, from which to generate safe-read.c and safe-write.c.
2002-12-03 18:30:29 +00:00
Jim Meyering
ef97c32946
s/const void */void const */
2002-12-03 18:20:38 +00:00
Jim Meyering
7cec5a7e3c
*** empty log message ***
2002-12-03 18:19:51 +00:00
Jim Meyering
3d81ed14e1
Update from gnulib (add comments, include stddef.h).
2002-12-03 18:19:45 +00:00
Jim Meyering
d4d54b4878
regenerate using automake-1.7.1b
2002-12-03 18:17:18 +00:00
Jim Meyering
c526cbabe0
no more ansi2nkr
2002-12-03 18:03:53 +00:00
Jim Meyering
7ae465f167
.
2002-12-03 17:50:46 +00:00
Jim Meyering
2e1a0e16ed
*** empty log message ***
2002-12-03 17:36:34 +00:00
Jim Meyering
3fbff01425
(AUTOMAKE_OPTIONS): Remove definition (to ansi2knr)
...
since this package no longer panders to K&R compilers.
2002-12-03 17:36:26 +00:00
Jim Meyering
b3e08a0a69
tweak comment
2002-12-03 12:03:55 +00:00
Jim Meyering
01d5814091
tweak comment
2002-12-03 12:02:19 +00:00
Jim Meyering
90723c47a0
Add dummy stmt in `then' branch.
2002-12-03 09:50:16 +00:00
Jim Meyering
047c948de4
*** empty log message ***
2002-12-02 17:46:00 +00:00
Jim Meyering
a2ff596c1f
Skip this test if `.' is on a non-local file system.
2002-12-02 17:45:54 +00:00
Jim Meyering
0d387e7ff2
*** empty log message ***
2002-12-02 17:28:21 +00:00
Jim Meyering
cba2225ce6
.
2002-12-02 09:31:04 +00:00
Jim Meyering
dadcc49a8e
*** empty log message ***
2002-12-02 09:30:47 +00:00
Jim Meyering
19b3648d15
(_at_replace): Do the substitution only if there's something to replace.
2002-12-02 09:30:41 +00:00
Jim Meyering
7570cb86a6
(EINTR): Define.
...
(safe_read): Rewrite to loop IFF read fails with EINTR.
2002-12-02 08:11:45 +00:00
Jim Meyering
c9c5c4c3e1
*** empty log message ***
2002-12-01 17:04:49 +00:00
Jim Meyering
32b9f22700
(safe_read): Also exit the loop when read returns zero.
2002-12-01 17:04:35 +00:00
Jim Meyering
0937f50e9e
comment tweak
2002-12-01 12:10:41 +00:00
Jim Meyering
3b6cb24f4b
*** empty log message ***
2002-12-01 12:04:35 +00:00
Jim Meyering
b1cfe31057
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.
2002-12-01 12:04:17 +00:00
Jim Meyering
4c6c221ee2
Merge from gnulib.
2002-12-01 11:53:02 +00:00
Jim Meyering
ef266f5a81
from gnulib
2002-12-01 11:36:50 +00:00
Jim Meyering
68fd2c3b68
(libfetish_a_SOURCES): Add safe-write.c and safe-write.h.
2002-12-01 11:36:32 +00:00
Jim Meyering
e04f07c363
*** empty log message ***
2002-12-01 10:57:07 +00:00
Jim Meyering
7730fc35b7
Update from gnulib (trivial changes).
2002-12-01 10:56:47 +00:00
Jim Meyering
61bbb627cc
Update from gnulib (trivial changes).
2002-12-01 10:54:01 +00:00
Jim Meyering
1ed5b3df2d
Add Copyright comment.
2002-12-01 10:44:15 +00:00
Jim Meyering
3447cf0995
Add Copyright comment.
2002-12-01 10:43:35 +00:00
Jim Meyering
6cffb5b26e
*** empty log message ***
2002-12-01 10:42:17 +00:00
Jim Meyering
c198111648
Update from gnulib (trivial changes).
2002-12-01 10:42:12 +00:00
Jim Meyering
422e4b4c3a
*** empty log message ***
2002-12-01 10:41:22 +00:00
Jim Meyering
43aee8594d
Update from gnulib (trivial changes).
2002-12-01 10:41:09 +00:00
Jim Meyering
3bd828af53
Update from gnulib (trivial changes).
2002-12-01 10:38:59 +00:00
Jim Meyering
440bb68abd
*** empty log message ***
2002-12-01 10:37:02 +00:00
Jim Meyering
cffed30681
update from gnulib
2002-12-01 10:36:33 +00:00
Jim Meyering
d7f4b28a19
*** empty log message ***
2002-12-01 10:22:45 +00:00
Jim Meyering
fbb44634f7
*** empty log message ***
2002-12-01 10:20:24 +00:00
Jim Meyering
a372a5debe
*** empty log message ***
2002-12-01 10:18:39 +00:00
Jim Meyering
f40bc170b0
Don't include <ctype.h>.
...
That's already done via system.h.
2002-12-01 10:18:34 +00:00
Jim Meyering
98ae1bbb58
*** empty log message ***
2002-12-01 10:15:32 +00:00
Jim Meyering
78f06398b8
*** empty log message ***
2002-12-01 09:58:26 +00:00
Jim Meyering
dcc3108267
*** empty log message ***
2002-12-01 09:57:39 +00:00
Jim Meyering
cb173ced29
Don't include <string.h> or <ctype.h>.
...
That's already done via system.h.
2002-12-01 09:49:01 +00:00
Jim Meyering
275bdd3966
update from master
2002-12-01 08:59:05 +00:00
Jim Meyering
067fc3f4ef
*** empty log message ***
2002-12-01 08:57:31 +00:00
Jim Meyering
4966d758f2
ls is now more efficient: it no longer needs to stat each directory
...
entry on systems with valid dirent.d_type.
(print_dir): Add DT_LNK and DT_REG.
(main): Make --recursive set format_needs_type, not format_needs_stat.
(gobble_file): Remove a FIXME comment, now that this is fixed.
2002-12-01 08:57:26 +00:00
Jim Meyering
7274f62b83
(gobble_file): Remove the block of code that caused
...
`ls --color -F symlink-to-dir' to list the files in
`symlink-to-dir/.'. Now, it prints `symlink-to-dir@',
(just like `ls -F symlink-to-dir') but with the addition
of highlighting.
2002-12-01 08:55:45 +00:00
Jim Meyering
d577b81792
add comment
2002-11-30 22:35:37 +00:00
Jim Meyering
6c1d1df92f
(sl-F-color, sl-dF-color): New tests for the above.
2002-11-30 22:34:59 +00:00
Jim Meyering
ab1fbe7dda
*** empty log message ***
2002-11-30 17:13:33 +00:00
Jim Meyering
42a42f7e4f
*** empty log message ***
2002-11-30 16:34:20 +00:00
Jim Meyering
95cb2ed037
.
2002-11-30 16:17:29 +00:00
Jim Meyering
7f190fb12b
*** empty log message ***
2002-11-28 09:48:47 +00:00
Jim Meyering
015aa7dfc4
Merge from gnulib/libc, for a slightly uglier solution.
2002-11-28 09:48:40 +00:00
Jim Meyering
80cff991e8
.
2002-11-28 09:38:06 +00:00
Jim Meyering
2dc7779bce
(STATIC): Remvoe definitions.
2002-11-28 09:37:58 +00:00
Jim Meyering
8f5674daf9
Merge some more, in preparation for merge back into libc.
...
(_): Define only if not already defined.
Move definition to follow all #include directives.
Include unlocked-io.h only if !_LIBC.
2002-11-28 09:19:26 +00:00
Jim Meyering
bb07ab9b5c
*** empty log message ***
2002-11-28 09:09:55 +00:00
Jim Meyering
d604ec9937
Merge in changes from libc.
...
[_LIBC]: Include <libio/libioP.h>.
[USE_IN_LIBIO]: Include <libio/iolibio.h>
(fflush): Tweak definition to use INTUSE.
(putc): Define.
2002-11-28 09:09:29 +00:00
Jim Meyering
e1938a7929
*** empty log message ***
2002-11-24 16:59:41 +00:00
Jim Meyering
d22a04e396
*** empty log message ***
2002-11-24 16:58:50 +00:00
Jim Meyering
8601971967
(TESTS): Add trailing-slash.
2002-11-24 16:53:59 +00:00
Jim Meyering
5857813649
*** empty log message ***
2002-11-24 16:53:06 +00:00
Jim Meyering
ce2fb08258
More clean-up, not that / means /.
2002-11-24 16:25:26 +00:00
Jim Meyering
4b8fa5d8ad
(du_files): Don't strip any trailing slash.
...
Rewrite so that `/' is no longer represented internally as
the empty string.
(count_entry): When appending a file name component,
account for the fact that the current path may end in `/'.
Franois Pinard reported that `du symlink-to-dir/' was not
equivalent to `du symlink-to-dir/.'. Now it is.
2002-11-24 16:12:52 +00:00
Jim Meyering
6f5375c038
*** empty log message ***
2002-11-24 16:12:28 +00:00
Jim Meyering
40d8af4244
*** empty log message ***
2002-11-24 16:03:14 +00:00
Jim Meyering
4d314289c3
Remove 2002 from copyright line,
...
to sync with gnulib.
2002-11-24 10:01:15 +00:00
Jim Meyering
c82be3d2ce
.
2002-11-23 16:45:51 +00:00
Jim Meyering
5649aebdef
(decode_switches): Use case-sensitive matching to
...
decode the QUOTING_STYLE environment variable. This is more
consistent with the documentation, and with --quoting-style.
2002-11-23 16:43:49 +00:00
Jim Meyering
0c64e08266
*** empty log message ***
2002-11-23 16:28:52 +00:00
Jim Meyering
6533eac241
(output): Declare some local variables to be of type size_t,
...
rather than `int' to avoid warnings from gcc.
2002-11-23 16:28:44 +00:00
Jim Meyering
8442061b30
*** empty log message ***
2002-11-23 15:44:59 +00:00
Jim Meyering
f10340e27b
Include gettext.h instead of <libintl.h>.
2002-11-23 15:44:51 +00:00
Jim Meyering
d6fac2ac6c
*** empty log message ***
2002-11-23 15:44:07 +00:00
Jim Meyering
a14ac3568f
Include gettext.h instead of <libintl.h>.
2002-11-23 15:44:01 +00:00
Jim Meyering
42cd3beba9
*** empty log message ***
2002-11-23 15:43:16 +00:00
Jim Meyering
5bd75e7682
Include gettext.h instead of <libintl.h>.
2002-11-23 15:43:13 +00:00
Jim Meyering
4372bf5619
Update from gnulib.
2002-11-23 15:42:11 +00:00
Jim Meyering
01ff25beb7
*** empty log message ***
2002-11-23 15:42:04 +00:00
Jim Meyering
4cab2486a5
*** empty log message ***
2002-11-23 15:40:44 +00:00
Jim Meyering
70212bf28b
Include gettext.h instead of <libintl.h>.
2002-11-23 15:40:40 +00:00
Jim Meyering
cc7aeee22c
*** empty log message ***
2002-11-23 15:38:47 +00:00
Jim Meyering
83415a7c5f
Include gettext.h instead of <libintl.h>.
2002-11-23 15:38:42 +00:00
Jim Meyering
ac63441825
*** empty log message ***
2002-11-23 15:05:52 +00:00
Jim Meyering
ebd76c09f4
From gnulib, by Bruno Haible
...
Include gettext.h instead of <libintl.h>.
2002-11-23 15:05:32 +00:00
Jim Meyering
f1b9a8744c
From gnulib, by Bruno Haible
...
* closeout.c: Include gettext.h instead of <libintl.h>.
2002-11-23 15:03:40 +00:00
Jim Meyering
98e5192525
.
2002-11-23 15:00:17 +00:00
Jim Meyering
ba986c2928
Update from gnulib.
2002-11-23 14:59:39 +00:00
Jim Meyering
34c25ed945
*** empty log message ***
2002-11-23 07:10:25 +00:00
Jim Meyering
08228013af
Allow multiple inclusion by surrounding with
...
"#ifndef QUOTEARG_H_". Include <stddef.h>, for size_t,
so that we can be included first.
(PARAMS): Remove; we now assume C89 or later. All uses removed.
2002-11-23 07:10:19 +00:00
Jim Meyering
a328e26342
Include quotearg.h immediately after config.h.
...
No need to include stddef.h or sys/types.h any more.
Surround local include files with "", not "<>".
Assume HAVE_LIMITS_H unconditionally, as we assume C89.
Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
(ISPRINT): Remove; no longer needed now that we assume C89.
(clone_quoting_options, quotearg_buffer, quotearg_n_options):
Preserve errno.
(quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
quotearg_char): Use SIZE_MAX rather than
(size_t) -1 when we are talking about "infinity".
(quotearg_buffer_restyled): Fix bug when quoting trigraphs.
2002-11-23 07:08:50 +00:00
Jim Meyering
38ba9564d1
*** empty log message ***
2002-11-22 13:23:55 +00:00
Jim Meyering
17bbb9bcb1
From gnulib:
...
Don't include <sys/types.h>. It's unnecessary.
2002-11-22 13:23:52 +00:00
Jim Meyering
d81d040dea
fix typo in comment
2002-11-22 11:13:32 +00:00
Jim Meyering
8aa90d8488
*** empty log message ***
2002-11-22 11:07:31 +00:00
Jim Meyering
d60ce1ccab
*** empty log message ***
2002-11-22 11:04:05 +00:00
Jim Meyering
3858ed5bad
Remove case insensitive option matching.
...
(argcasematch): Remove declaration.
(ARGCASEMATCH): Remove macro.
(__xargmatch_internal): Remove case_sensitive argument.
(XARGMATCH): Update.
(XARGCASEMATCH): Remove macro.
2002-11-22 11:04:01 +00:00
Jim Meyering
13fb4290db
Include gettext.h instead of <locale.h> and <libintl.h>.
...
Remove case insensitive option matching.
(argmatch): Renamed from __argmatch_internal. Remove
case_sensitive argument.
(argcasematch): Remove function.
(__xargmatch_internal): Remove case_sensitive argument.
(main): Use XARGMATCH instead of XARGCASEMATCH.
2002-11-22 11:03:26 +00:00
Jim Meyering
4c9c50bf72
*** empty log message ***
2002-11-22 10:28:50 +00:00
Jim Meyering
70641e502d
Change compile-time error message. Add comment about
...
required autoconf version.
Include gettext.h instead of <libintl.h>.
(textdomain): Remove definition.
2002-11-22 10:28:44 +00:00
Jim Meyering
cc92325877
*** empty log message ***
2002-11-21 19:17:26 +00:00
Jim Meyering
b2f999fdbb
Add ms (Malay).
2002-11-21 19:17:22 +00:00
Jim Meyering
b3d845869a
version: 4.5.3
2002-11-21 19:16:44 +00:00
Jim Meyering
d09524c338
*** empty log message ***
2002-11-21 13:31:07 +00:00
Jim Meyering
cae292f583
(strdup): Merge in changes from gnulib; mainly to
...
use memcpy rather than strcpy.
2002-11-21 13:31:03 +00:00
Jim Meyering
1a1ce790d8
*** empty log message ***
2002-11-21 13:25:31 +00:00
Jim Meyering
c8a8d77816
Update from gnulib.
2002-11-21 13:25:22 +00:00
Jim Meyering
944a426ade
*** empty log message ***
2002-11-21 13:18:07 +00:00
Jim Meyering
44ad4f8ed4
(str2signum): Use unsigned, not size_t.
2002-11-21 13:17:47 +00:00
Jim Meyering
b38b96b80c
*** empty log message ***
2002-11-21 13:16:49 +00:00
Jim Meyering
8281103ea4
Use "'s when including quotearg.h and xalloc.h, not the <...>' notation.
...
Include <errno.h> and declare errno if necessary.
2002-11-21 13:16:04 +00:00
Jim Meyering
145d77b61a
*** empty log message ***
2002-11-21 12:22:56 +00:00
Jim Meyering
6c0efc5fa8
*** empty log message ***
2002-11-21 12:22:03 +00:00
Jim Meyering
e688809a5c
stty doesn't support all baud rates available in current Linux kernels.
...
When trying to set a high baud rate using stty, it says "invalid
argument". When the high rate is already configured, "stty -a"
returns 0 instead of the true baud rate.
(struct speeds): Add support for all baud rates defined
in linux-2.4.19.
2002-11-21 12:21:55 +00:00
Jim Meyering
d80aa4a03f
.
2002-11-21 10:56:27 +00:00
Jim Meyering
dcb7d1cee9
*** empty log message ***
2002-11-21 10:22:10 +00:00
Jim Meyering
cb83b79ab2
*** empty log message ***
2002-11-21 10:21:01 +00:00
Jim Meyering
91d98d2baf
update copyright date
2002-11-21 09:39:58 +00:00
Jim Meyering
96a2f00434
*** empty log message ***
2002-11-21 09:36:25 +00:00
Jim Meyering
aca318c51e
Merge argmatch cleanups from Bison. Assume C89.
...
Do not include <config.h> or <sys/types.h>.
Include <stddef.h> instead, since it's all we need for size_t.
(PARAMS): Remove. All uses removed.
(ARRAY_CARDINALITY): Do not bother to #undef.
(ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Remove unnecessary parentheses.
(ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Insert necessary parentheses.
(ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
(ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.
2002-11-21 09:35:51 +00:00
Jim Meyering
3aed4c5505
Merge argmatch cleanups from Bison. Assume C89.
...
Include config.h here, not in argmatch.h.
Include stdlib.h, for EXIT_FAILURE.
Always include <string.h>, since we assume C89.
(EXIT_FAILURE): Remove pre-C89 bug workaround.
2002-11-21 09:24:43 +00:00
Jim Meyering
501358c106
*** empty log message ***
2002-11-21 08:48:08 +00:00
Jim Meyering
449872c53a
(quotearg_buffer_restyled): If mbrtowc returns
...
`(size_t) -1' (at which point it would also set errno to EILSEQ),
then restore errno to its previous value.
Reported by Phillip Jones via Tim Waugh as
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76334 .
2002-11-21 08:47:44 +00:00
Jim Meyering
9e96a0b09c
sort
2002-11-21 08:46:39 +00:00
Jim Meyering
c411cd6b01
*** empty log message ***
2002-11-21 08:45:10 +00:00
Jim Meyering
57263e2a95
Update from gnulib.
2002-11-21 08:45:05 +00:00
Jim Meyering
46d38d7c12
*** empty log message ***
2002-11-21 08:35:24 +00:00
Jim Meyering
6bc244f431
*** empty log message ***
2002-11-21 08:32:28 +00:00
Jim Meyering
cf9a5e9196
*** empty log message ***
2002-11-19 14:08:50 +00:00
Jim Meyering
39926c6c6e
Export LC_ALL=C, to avoid failure when run in a UTF locale.
...
Report and suggested fix by Bruno Haible.
2002-11-19 14:08:45 +00:00
Jim Meyering
32872d2edf
*** empty log message ***
2002-11-19 14:08:20 +00:00
Jim Meyering
d38c17cdbc
Export LC_ALL=C, to avoid failure when run in a UTF locale.
...
Report and suggested fix by Bruno Haible.
2002-11-19 14:07:20 +00:00
Jim Meyering
6ba0925f2d
*** empty log message ***
2002-11-19 10:15:25 +00:00
Jim Meyering
cbb48b90dd
*** empty log message ***
2002-11-19 09:14:24 +00:00
Jim Meyering
6de64db890
Require Autoconf-2.56.
2002-11-19 09:14:18 +00:00
Jim Meyering
abd9a99711
*** empty log message ***
2002-11-19 08:05:34 +00:00
Jim Meyering
66943316b4
Avoid a link-time failure on some Linux systems.
...
(STATIC): Define to be empty (_LIBC) or `static' (otherwise).
(__mon_yday): Declare with the STATIC attribute.
(__mktime_internal): Likewise.
Based on a report from Greg Schafer.
2002-11-19 08:05:29 +00:00
Jim Meyering
7808c81c06
*** empty log message ***
2002-11-19 07:50:44 +00:00
Jim Meyering
8954b35cf0
.
2002-11-17 10:14:40 +00:00
Jim Meyering
2f2b29bf9a
*** empty log message ***
2002-11-17 10:11:40 +00:00
Jim Meyering
ab79e3ad72
Update via autoupdate.
...
Add `AM_GNU_GETTEXT_VERSION(0.11.5)'.
2002-11-17 10:10:26 +00:00
Jim Meyering
0a5f591c89
*** empty log message ***
2002-11-17 09:59:34 +00:00
Jim Meyering
47161ee7d5
(movefile): Don't remove trailing slashes from SOURCE.
2002-11-17 09:41:34 +00:00
Jim Meyering
f5c148c983
*** empty log message ***
2002-11-17 09:36:43 +00:00
Jim Meyering
fda6e5a9a8
*** empty log message ***
2002-11-16 16:45:36 +00:00
Jim Meyering
428a02b86a
Use AC_REQUIRE everywhere it is possible.
...
(jm_PREREQ_CANON_HOST): Remove duplicates.
2002-11-16 16:45:30 +00:00
Jim Meyering
f85ea30f21
*** empty log message ***
2002-11-15 21:02:16 +00:00
Jim Meyering
2aee9e8a9b
(gnu_rel_host): Define.
...
(url_dir_list): Choose from (alpha|ftp).gnu.org depending
on whether $(VERSION) looks like a major release number.
2002-11-15 21:02:04 +00:00
Jim Meyering
c07eca7caa
(mail_gpg_sign_cookie): Backslash-escape `#'.
...
(release): Rename from `alpha'.
(alpha): Depend on release.
2002-11-15 20:59:56 +00:00
Jim Meyering
086c161966
*** empty log message ***
2002-11-15 10:19:09 +00:00
Jim Meyering
4716e59ab4
(signatures): Define with ?=, so it's easy to override.
2002-11-15 10:19:02 +00:00
Jim Meyering
d421906870
.
2002-11-15 08:36:57 +00:00
Jim Meyering
fc152acf79
.
2002-11-15 08:19:10 +00:00
Jim Meyering
fcb6c411f0
*** empty log message ***
2002-11-14 14:38:23 +00:00
Jim Meyering
f9362b8897
Don't include libintl.h, and don't define `_' -- they're not used.
2002-11-14 14:38:03 +00:00
Jim Meyering
e946e96a84
update from master sources
2002-11-14 14:26:05 +00:00
Jim Meyering
c908728ac8
Remove lib/long-options.c and lib/same.c.
...
Although each defines `_', neither actually used it.
2002-11-14 12:46:17 +00:00
Jim Meyering
1f0ec2c2ad
*** empty log message ***
2002-11-14 12:37:49 +00:00
Jim Meyering
d9b899db94
Duh. change use, too.
2002-11-14 12:37:27 +00:00
Jim Meyering
01606b7988
(mail_gpg_sign_cookie): Rename to use _'s, not -'s.
2002-11-14 12:32:57 +00:00
Jim Meyering
be7e030ca9
*** empty log message ***
2002-11-14 12:20:09 +00:00
Jim Meyering
500f37f119
(mail-gpg-sign-cookie): Make optional.
...
(announcement): Use the new variable.
2002-11-14 12:20:01 +00:00
Jim Meyering
8bbe97528d
*** empty log message ***
2002-11-14 12:09:42 +00:00
Jim Meyering
f6af345922
Sync with Bison, i.e.:
...
(po-check): Scan .l and .y files instead of the
.c and the .h files that they generate. This fixes the bug
reported by Tim Van Holder in:
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html >
Look for N_ as well as for _. Try to avoid matching #define for
N_ and _.
From Paul Eggert.
2002-11-14 12:09:16 +00:00
Jim Meyering
c3d9348a86
*** empty log message ***
2002-11-13 09:50:22 +00:00
Jim Meyering
23b4046380
(Examples of expr): Remove bogus `^'s.
2002-11-13 09:50:16 +00:00
Jim Meyering
e08ebb3e61
*** empty log message ***
2002-11-13 09:49:41 +00:00
Jim Meyering
8bd460c1b7
*** empty log message ***
2002-11-12 08:31:16 +00:00
Jim Meyering
3048fb4d0f
(HAVE_SYMLINKS): Remove unnecessary macro definition.
...
Replace sole use with equivalent `#ifdef S_ISLNK'.
Inconsistency reported by Dmitry V. Levin.
2002-11-12 08:31:05 +00:00
Jim Meyering
1cd5cc1b70
*** empty log message ***
2002-11-11 13:39:02 +00:00
Jim Meyering
e8f4c08e14
Ensure that `ls -dF --color symlink-to-dir' works properly.
2002-11-11 13:38:48 +00:00
Jim Meyering
f29777ab29
*** empty log message ***
2002-11-11 09:15:35 +00:00
Jim Meyering
f1bfccb00b
*** empty log message ***
2002-11-11 09:15:08 +00:00
Jim Meyering
092a0520eb
*** empty log message ***
2002-11-11 09:10:39 +00:00
Jim Meyering
864e2eb4e2
*** empty log message ***
2002-11-10 23:25:13 +00:00
Jim Meyering
f2308f74e8
(usage): Transform --help output via s/ - / /,
...
so that help2man produces properly formatted man pages.
2002-11-10 23:24:52 +00:00
Jim Meyering
9bec2462e8
*** empty log message ***
2002-11-10 20:15:59 +00:00
Jim Meyering
f549fc269c
(sighandler): Handle SIGTSTP specially.
...
Based on suggestions from Solar Designer and Dmitry V. Levin.
Add comments.
2002-11-10 20:15:54 +00:00
Jim Meyering
7acacbf29a
*** empty log message ***
2002-11-10 14:34:29 +00:00
Jim Meyering
8056e2607f
(cvs_files): Define. From autoconf.
...
(local_updates): Likewise.
2002-11-10 14:34:23 +00:00
Jim Meyering
f740d054ae
*** empty log message ***
2002-11-10 13:33:04 +00:00
Jim Meyering
99ad3e326a
.
2002-11-10 11:12:13 +00:00
Jim Meyering
ecf915a6a4
*** empty log message ***
2002-11-10 11:11:39 +00:00
Jim Meyering
bb38561062
(restore_default_color_handler, sigtstp_handler): Remove functions.
...
(sighandler): New function, based on the one in sort.c.
(main): Use sigaction, if possible; otherwise signal.
Handle these signals:
SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
Don't register our handler if the signal is already being ignored.
2002-11-10 11:11:34 +00:00
Jim Meyering
20282f4992
(main): Also declare `i' to be unsigned, not int.
2002-11-10 10:23:41 +00:00
Jim Meyering
8988c3acb3
*** empty log message ***
2002-11-10 09:56:28 +00:00
Jim Meyering
a040c8e428
(sighandler): Use raise, rather than kill+getpid.
...
(main): Declare `nsigs' to be unsigned, not int.
2002-11-10 09:56:19 +00:00
Jim Meyering
faf852d2dd
(interrupt_handler): Use raise, rather than kill+getpid.
2002-11-10 09:54:37 +00:00
Jim Meyering
2ebcd575a0
(interrupt_handler): Use raise, rather than kill+getpid.
2002-11-10 09:53:57 +00:00
Jim Meyering
34ed452d0a
Use a return stmt. This isn't Perl.
2002-11-10 09:51:37 +00:00
Jim Meyering
a0a7aef8bd
Duh. add missing semicolon
...
Include unistd.h.
2002-11-10 09:50:59 +00:00
Jim Meyering
f63f39031e
*** empty log message ***
2002-11-10 09:46:14 +00:00
Jim Meyering
f84d927787
(jm_MACROS): Add AC_REPLACE_FUNCS(raise).
2002-11-10 09:46:10 +00:00
Jim Meyering
bd03362ebb
*** empty log message ***
2002-11-10 09:44:05 +00:00
Jim Meyering
b52870d14f
correct indentation
2002-11-09 22:36:58 +00:00
Jim Meyering
85490682b7
ls --color: restore terminal state (color) upon signal.
...
Include "full-write.h" and <signal.h>.
(restore_default_color, restore_default_color_handler): New functions.
(sigtstp_handler, put_indicator_direct): New functions.
(main) [print_with_color]: Register signal handlers.
Patch mostly by Solar Designer and Stanislav Ievlev.
2002-11-09 22:27:27 +00:00
Jim Meyering
cd0013e0ea
*** empty log message ***
2002-11-09 22:21:31 +00:00
Jim Meyering
bb1c17a762
.
2002-11-09 22:01:56 +00:00
Jim Meyering
f559a4c800
(human_readable): Revamp to avoid warning about unused
...
variable 'amt'. Unfortunately this means using some gotos.
2002-11-09 21:46:45 +00:00
Jim Meyering
2f1a2669e5
*** empty log message ***
2002-11-09 19:53:46 +00:00
Jim Meyering
440b2cb3f3
(What information is listed): Correct parts of --dired description.
...
Include a lot more description, with examples.
2002-11-09 19:53:25 +00:00
Jim Meyering
dfd742c6e1
*** empty log message ***
2002-11-09 16:40:00 +00:00
Jim Meyering
2ea36bfc5c
(EXTRA_LOCALE_CATEGORIES): Add LC_TIME.
...
Patch by Tim Waugh for Red Hat bug #73669 .
2002-11-09 16:39:53 +00:00
Jim Meyering
143ae88b8f
*** empty log message ***
2002-11-09 12:39:42 +00:00
Jim Meyering
2a75a0092f
Make it work even when names contain spaces or shell metachars.
...
Write diagnostics to stderr, not stdout.
Normalize spacing in diagnostics: use one space (not two, and not a TAB)
after the leading `install:'.
Add double quotes around `$src' here: $doit $instcmd "$src" "$dsttmp"
2002-11-09 12:39:34 +00:00
Jim Meyering
8ce53c2d14
Merge in some changes from the version in automake.
...
Remove unnecessary quotes around `case' argument.
Use `[ cond1 ] || [ cond2 ]' rather than `[ cond1 -o cond2 ]'.
Use `:' rather than `true'.
2002-11-09 12:34:27 +00:00
Jim Meyering
82bd49565b
.
2002-11-09 11:36:51 +00:00
Jim Meyering
fd57b979a9
*** empty log message ***
2002-11-09 11:34:57 +00:00
Jim Meyering
aa43311efb
Update from autoconf.
...
(AMTAR): Remove definition.
(update, cvs-update, po-update, do-po-update): New rules.
(wget-update): Update (thus renaming to cvs-update).
(automake_repo): Use anoncvs@sources.redhat.com .
2002-11-09 11:34:42 +00:00
Jim Meyering
371a455589
.
2002-11-09 00:34:25 +00:00
Jim Meyering
868a8152e3
*** empty log message ***
2002-11-09 00:30:37 +00:00
Jim Meyering
52b5ba1af5
(jm_FUNC_GETGROUPS):
...
Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
2002-11-09 00:30:33 +00:00
Jim Meyering
d84c4c3354
*** empty log message ***
2002-11-08 23:20:38 +00:00
Jim Meyering
e3d3dee1b6
*** empty log message ***
2002-11-08 22:59:57 +00:00
Jim Meyering
83a7b1049d
(jm_PREREQ_HUMAN): Check for locale.h, localeconv,
...
AC_HEADER_STDBOOL. No need to check for limits.h since it's in
freestanding C89. No need to check for stdlib.h or string.h since
autoconf does this now.
2002-11-08 22:59:53 +00:00
Jim Meyering
5dd24d18e2
use only my permanent address
2002-11-08 17:13:51 +00:00
Jim Meyering
24ba72493d
use only my permanent address
2002-11-08 17:12:51 +00:00
Jim Meyering
7695925177
Use only my permanent address.
2002-11-08 17:12:27 +00:00
Jim Meyering
7676cbc5ce
*** empty log message ***
2002-11-08 15:33:58 +00:00
Jim Meyering
554ecec785
(human_readable): Avoid warnings from gcc -Wshadow.
2002-11-08 15:33:30 +00:00
Jim Meyering
2c3bb203cd
(human_output_opts): New var.
...
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes. All uses changed.
2002-11-08 09:41:37 +00:00
Jim Meyering
95b50fa1ac
(print_header): Use primitives from inttostr.h, not
...
human.h, to print large numbers simply.
(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes. All uses changed.
(print_header): In the header line, prefer SI to human
representation if it's shorter; if neither is shorter, try to
intuit what the user would prefer.
2002-11-08 09:39:36 +00:00
Jim Meyering
98f748e64c
update from master
2002-11-07 00:29:24 +00:00
Jim Meyering
bd89283b97
update from master
2002-11-07 00:28:52 +00:00
Jim Meyering
8fd93e0867
*** empty log message ***
2002-11-06 16:27:45 +00:00
Jim Meyering
fad42afa02
(automake_repo): Use anoncvs@subversions.gnu.org.
2002-11-06 16:27:39 +00:00
Jim Meyering
def6c2371e
.
2002-11-06 11:37:47 +00:00
Jim Meyering
2fbdabd4b1
*** empty log message ***
2002-11-06 11:37:15 +00:00
Jim Meyering
a6bc63bae0
(EXTRA_DIST): Add inttostr.h.
2002-11-06 11:37:11 +00:00
Jim Meyering
106c3bf364
(print_long_format, print_file_name_and_frills):
...
Use primitives from inttostr.h, not
human.h, to print large numbers simply.
(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes. All uses changed.
(file_output_block_size): New var, to distinguish
file sizes from other sizes.
(decode_switches): Set it.
2002-11-06 11:02:56 +00:00
Jim Meyering
1fc57fa80c
*** empty log message ***
2002-11-06 10:37:29 +00:00
Jim Meyering
d2d118e8d7
(printf invocation): Fix typo in index: change \0x prefix to \x.
...
Change \xhhh to \xhh.
2002-11-06 10:37:24 +00:00
Jim Meyering
2017db1bbd
*** empty log message ***
2002-11-06 10:32:46 +00:00
Jim Meyering
c6f5b4e383
Add support for locale-specific size indications (e.g.,
...
thousands-separators) and for explicit size suffixes on output.
(Block size): Say that:
This affects display format as well as block size.
Fractional block counts are rounded up.
ls file size blocksize defaults to 1.
A block size spec preceded by ' generates thousands separators.
A suffix without a preceding integer generates suffixes.
(tail invocation): 32k -> 32 KiB.
(What information is listed): ls -h is now equivalent to
ls --block-size=human, and ls -H is now equivalent to
ls --block-size=si. Displayed file size is now always affected by
--block-size.
2002-11-06 10:32:41 +00:00
Jim Meyering
5ce09d1ac7
*** empty log message ***
2002-11-06 10:28:11 +00:00
Jim Meyering
59507dd554
(usage): Update description.
2002-11-06 10:28:02 +00:00
Jim Meyering
9c2be29be5
*** empty log message ***
2002-11-06 09:23:55 +00:00
Jim Meyering
76e1efd955
(TESTS): Add printf-hex.
2002-11-06 09:23:50 +00:00
Jim Meyering
2929e95fb7
*** empty log message ***
2002-11-06 09:23:33 +00:00
Jim Meyering
eff5b46e0c
Be careful to test the code in this package, not the shell built-in function.
2002-11-06 09:23:23 +00:00
Jim Meyering
fc34d6284c
*** empty log message ***
2002-11-06 09:21:59 +00:00
Jim Meyering
b68401890d
Make sure that only two of the `H's in \xHHH are consumed
...
as part of the \x escape sequence.
2002-11-06 09:19:50 +00:00
Jim Meyering
0a5d4112ba
(print_esc): Hexadecimal \xhh escapes may have
...
at most two hex. digits, not three.
2002-11-06 09:04:50 +00:00
Jim Meyering
1f5b482124
(inttostr): Remove; use new imaxtostr library function instead.
2002-11-05 20:37:20 +00:00
Jim Meyering
c7a6c9af8b
(checkfp): Use primitives from inttostr.h, not human.h,
...
to print large numbers simply.
2002-11-05 20:34:00 +00:00
Jim Meyering
49cfd5a52c
(bsd_sum_file, sysv_sym_file):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05 20:33:35 +00:00
Jim Meyering
371e50492e
(xlseek):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05 20:32:55 +00:00
Jim Meyering
4c16b8d35a
(write_counts, wc):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05 20:30:43 +00:00
Jim Meyering
f3fc3d4726
(dopass):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
(OUTPUT_BLOCK_SIZE): remove.
(dopass): When printing progress, use floor for what has been done
so far (since we should be conservative there), and ceiling for
what needs to be done (since that's what other programs use).
2002-11-05 20:28:36 +00:00
Jim Meyering
3f2cc46da4
(print_factors):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05 20:17:28 +00:00
Jim Meyering
5526f4f208
(print_stats, main):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05 20:16:31 +00:00
Jim Meyering
1e583af98a
(handle_line_error, parse_patterns):
...
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05 20:14:41 +00:00
Jim Meyering
a591db7465
(cksum): Use primitives from inttostr.h, not
...
human.h, to print large numbers simply.
2002-11-05 17:22:55 +00:00
Jim Meyering
adaa25e292
*** empty log message ***
2002-10-19 16:34:37 +00:00
Jim Meyering
917181c1a9
(cwrite): Change type of `bytes' parameter to size_t
...
Remove now-useless cast.
(stdread): Remove function.
(bytes_split): Use size_t instead of int.
Use safe_read, not stdread.
(lines_split): Likewise.
Use memchr rather than a `while' loop.
(line_bytes_split): Use size_t instead of int.
Use safe_read, not stdread.
(main): Add some FIXME comments to remind me to remove casts.
2002-10-19 16:34:25 +00:00
Jim Meyering
d3f010cb21
*** empty log message ***
2002-10-19 13:49:38 +00:00
Jim Meyering
dce67bd261
Rewrite to support locale-specific
...
notations like thousands separators.
Specify what includer of include.h must include beforehand.
(human_group_digits, human_suppress_point_zero, human_autoscale,
human_base_1024, human_SI, human_B): New enum values.
(human_readable): Rename from human_readable_inexact; put the
options before the sizes. All uses changed. The old human_readable
function has been removed; use inttostr.h instead.
(human_options): Renamed from human_block_size, with new signature
that allows block sizes up to UINTMAX_MAX. All callers changed.
2002-10-19 13:48:04 +00:00
Jim Meyering
4774c63a5e
*** empty log message ***
2002-10-19 12:55:11 +00:00
Jim Meyering
f02ba67bbb
*** empty log message ***
2002-10-19 12:54:29 +00:00
Jim Meyering
a967adb215
(libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c, umaxtostr.c.
...
(EXTRA_DIST): Add inttostr.c.
2002-10-19 12:54:23 +00:00
Jim Meyering
927bbc5cc3
New files. From GNU tar.
2002-10-19 12:34:03 +00:00
Jim Meyering
8d30090e2e
*** empty log message ***
2002-10-19 07:58:09 +00:00
Jim Meyering
aeaaa9fda5
*** empty log message ***
2002-10-19 07:57:08 +00:00
Jim Meyering
2e0798f483
(print_heading): Align TTY and Name headings.
2002-10-19 07:55:15 +00:00
Jim Meyering
82d3409e3d
*** empty log message ***
2002-10-18 06:49:24 +00:00
Jim Meyering
76cc19f679
(ST_BLKSIZE): Correct comment describing how to
...
reproduce HPUX-11 cat failure.
2002-10-18 06:49:15 +00:00
Jim Meyering
9bcacfa997
*** empty log message ***
2002-10-17 15:08:19 +00:00
Jim Meyering
73d9218bf6
*** empty log message ***
2002-10-17 15:07:47 +00:00
Jim Meyering
f72568f82c
Fix a problem that could make cat misbehave on systems which
...
give invalid (unreasonably large) values for stat.st_blksize.
(ST_BLKSIZE): Ensure that the result is in [1..4MB].
2002-10-17 15:06:36 +00:00
Jim Meyering
8c7071d857
bump to 4.5.4
2002-10-15 14:24:48 +00:00
Jim Meyering
3540f1880d
*** empty log message ***
2002-10-14 08:30:56 +00:00
Jim Meyering
254fcd14bf
.
2002-10-14 08:30:22 +00:00
Jim Meyering
07c1a593ca
*** empty log message ***
2002-10-14 08:29:50 +00:00
Jim Meyering
bad450db5d
Specifying a printf conversion specifer as nl's separator string
...
could cause nl to segfault.
(build_print_fmt): Don't include separator string
in the printf format; it might contain `%'.
Use a better bound on the length of the print_fmt buffer.
(print_lineno): Print the separator here instead.
2002-10-14 08:29:41 +00:00
Jim Meyering
8c11ff93d8
*** empty log message ***
2002-10-14 08:29:22 +00:00
Jim Meyering
3634113f29
*** empty log message ***
2002-10-14 08:29:17 +00:00
Jim Meyering
79adfda48d
(TESTS): Add nl.
2002-10-14 08:19:31 +00:00
Jim Meyering
7535f31db9
*** empty log message ***
2002-10-14 08:19:13 +00:00
Jim Meyering
6f44f9b2b5
*** empty log message ***
2002-10-13 22:11:44 +00:00
Jim Meyering
614bd059e8
New test, to make sure `split --lines=N' works.
2002-10-13 22:11:13 +00:00
Jim Meyering
ee801b3ccc
*** empty log message ***
2002-10-13 22:10:58 +00:00
Jim Meyering
38e6669301
(TESTS): Add split-l.
2002-10-13 22:10:20 +00:00
Jim Meyering
ca0f646758
*** empty log message ***
2002-10-13 20:01:59 +00:00
Jim Meyering
3907226aa1
.
2002-10-13 18:30:13 +00:00
Jim Meyering
5ed1f9d1b1
.
2002-10-13 17:38:42 +00:00
Jim Meyering
f92f1a29c0
*** empty log message ***
2002-10-13 14:02:50 +00:00
Jim Meyering
5955869435
(usage): Tweak description of --dereference-args/-D.
2002-10-13 14:02:42 +00:00
Jim Meyering
c9c00c8bec
*** empty log message ***
2002-10-13 14:01:59 +00:00
Jim Meyering
e408ac408c
(count_entry): Also save cwd when dereferencing (via --dereference-args, -D)
...
a command-line argument.
Reported by Michal Svec. Based on a patch by Andreas Schwab.
2002-10-13 13:59:25 +00:00
Jim Meyering
6dafd5b2fc
whoops
2002-10-13 13:33:05 +00:00
Jim Meyering
25797575f8
*** empty log message ***
2002-10-13 12:23:29 +00:00
Jim Meyering
ff4e2725a7
(initialized): Remove declaration now that it's unused.
2002-10-13 12:23:25 +00:00
Jim Meyering
bd9e754992
There's no need to futz with the rounding mode,
...
since the code should work properly even in the default rounding mode.
(<fenv.h>): Do not include.
(#pragma STDC FENV_ACCESS ON): Remove.
(xnanosleep): Don't futz with rounding state.
2002-10-13 12:22:26 +00:00
Jim Meyering
5b87a60663
*** empty log message ***
2002-10-13 12:20:44 +00:00
Jim Meyering
29a1a5e5d4
(jm_CHECK_ALL_HEADERS): Remove fenv.h.
2002-10-13 12:20:35 +00:00
Jim Meyering
475f183eab
update comment
2002-10-13 06:50:11 +00:00
Jim Meyering
797d72c3cc
(../AUTHORS): Make it read-only.
2002-10-13 06:48:42 +00:00
Jim Meyering
331dd19c54
.
2002-10-13 06:47:23 +00:00
Jim Meyering
2f4402aa58
*** empty log message ***
2002-10-13 06:47:13 +00:00
Jim Meyering
380f554a46
(../AUTHORS): New target/rule.
2002-10-13 06:47:07 +00:00
Jim Meyering
c19c8b5952
.
2002-10-13 06:04:38 +00:00
Jim Meyering
1b9984330e
*** empty log message ***
2002-10-13 06:04:27 +00:00
Jim Meyering
f175e3efc2
(paste_parallel): Declare local var, `delims_saved', to be
...
of type size_t, since that's the way it's used and avoids a warning.
2002-10-12 10:19:17 +00:00
Jim Meyering
b7fbfec375
(struct cstring) [len]: Declare to be unsigned int,
...
since that's how it's always used and avoids a new warning from gcc.
(read_input): Adapt to new safe_read ABI.
2002-10-12 09:44:06 +00:00
Jim Meyering
0b7a5a2391
(cut_fields): Add a temporary size_t variable, n_bytes, to avoid warnings.
2002-10-12 09:40:02 +00:00
Jim Meyering
707f8bfa62
(print_long_entry): fread returns size_t.
...
Declare local `bytes' accordingly, to avoid warning.
2002-10-12 09:33:34 +00:00
Jim Meyering
81817a30ea
*** empty log message ***
2002-10-12 08:42:38 +00:00
Jim Meyering
38a8810cd3
*** empty log message ***
2002-10-12 08:39:34 +00:00
Jim Meyering
0ddadb6245
tail -c +N would perform an extra read after encountering EOF
...
[this change is analogous (bytes vs. lines) to the one of 2002-01-27]
(start_bytes): Detect EOF, inform caller.
(tail_bytes): Upon EOF in start_bytes, return immediately.
(file_lines): Reorganize to use memrchr rather than an explicit loop.
Adapt to new safe_read ABI.
2002-10-12 08:39:12 +00:00
Jim Meyering
fb8af4b59f
*** empty log message ***
2002-10-11 20:03:44 +00:00
Jim Meyering
818addef64
*** empty log message ***
2002-10-11 20:02:21 +00:00
Jim Meyering
08886ecd26
(TESTS): Add deref.
2002-10-11 19:59:31 +00:00
Jim Meyering
480a562b21
*** empty log message ***
2002-10-11 19:58:32 +00:00
Jim Meyering
5a56be1388
*** empty log message ***
2002-10-11 19:56:56 +00:00
Jim Meyering
2ad8545649
*** empty log message ***
2002-10-10 15:48:53 +00:00
Jim Meyering
91762c16a0
*** empty log message ***
2002-10-10 08:32:43 +00:00
Jim Meyering
6fb9a86b51
*** empty log message ***
2002-10-10 08:32:14 +00:00
Jim Meyering
b468370388
New file/test, for the fix on 2002-10-08.
2002-10-10 08:31:29 +00:00
Jim Meyering
042b41c2b9
(TESTS): Add target-1.
2002-10-10 08:31:02 +00:00
Jim Meyering
64044efd7c
*** empty log message ***
2002-10-10 07:57:35 +00:00
Jim Meyering
617c5a571a
.
2002-10-10 07:27:18 +00:00
Jim Meyering
e995dcb2d5
(wc): Adapt to new safe_read ABI.
2002-10-09 15:07:52 +00:00
Jim Meyering
7db0a34488
*** empty log message ***
2002-10-09 13:28:55 +00:00
Jim Meyering
97cd9f1149
*** empty log message ***
2002-10-09 08:10:03 +00:00
Jim Meyering
d57998f128
Ensure that certain environment variables
...
are not set (e.g., SIMPLA_BACKUP_SUFFIX).
2002-10-09 08:09:57 +00:00
Jim Meyering
ad9f3ac0a9
*** empty log message ***
2002-10-09 08:09:35 +00:00
Jim Meyering
932a05f006
*** empty log message ***
2002-10-09 07:28:19 +00:00
Jim Meyering
70869c09b8
Mark this as an expensive test; it would
...
consume 4GB of disk space on systems without support for sparse files.
Fix a logic error that'd make it `cat err' even though dd didn't fail.
2002-10-09 07:28:11 +00:00
Jim Meyering
9a7b64e701
*** empty log message ***
2002-10-09 07:16:17 +00:00
Jim Meyering
c9f88f349a
(.jar): Fix typo: s/01;3/01;31/.
2002-10-09 07:11:44 +00:00
Jim Meyering
2cef2b3122
*** empty log message ***
2002-10-09 07:00:27 +00:00
Jim Meyering
3a4fbcd12b
Ensure that ls produces English messages.
2002-10-09 07:00:14 +00:00
Jim Meyering
d928b833e3
*** empty log message ***
2002-10-09 06:59:54 +00:00
Jim Meyering
a83991f50b
*** empty log message ***
2002-10-08 14:26:19 +00:00
Jim Meyering
1d2876761d
(main): Fix target_directory parsing when n_files == 1.
...
Patch by Dmitry V. Levin.
2002-10-08 14:25:49 +00:00
Jim Meyering
a890541a5d
Fix syntax in test: use =, not ==.
2002-10-08 09:25:34 +00:00
Jim Meyering
718b928df1
*** empty log message ***
2002-10-08 09:22:25 +00:00
Jim Meyering
fb763e4f7a
Use double quotes around diagnostic.
2002-10-08 09:21:08 +00:00
Jim Meyering
f3584c5e62
Use double quotes around diagnostic.
2002-10-08 09:18:12 +00:00
Jim Meyering
b3a42e44e9
(save_stdin, tac_stdin_to_mem): Adapt to new safe_read ABI.
2002-10-08 07:20:28 +00:00
Jim Meyering
ffd20427d8
Rename local variable: chars_read -> bytes_read
2002-10-08 07:14:48 +00:00
Jim Meyering
c52b7838fa
(squeeze_filter, read_and_delete, read_and_xlate): Adapt to new safe_read ABI.
2002-10-08 07:13:56 +00:00
Jim Meyering
b82563de58
(sysv_sum_file): Adapt to new safe_read ABI.
2002-10-08 07:11:03 +00:00
Jim Meyering
f99306fcd5
*** empty log message ***
2002-10-08 06:21:55 +00:00
Jim Meyering
5f4fb36645
(cat): Don't advance the write pointer past the end of the write buffer.
2002-10-08 06:21:31 +00:00
Jim Meyering
7a58f340c1
(begfield, limfield): Don't advance the write pointer past the
...
end of the write buffer.
2002-10-08 06:19:00 +00:00
Jim Meyering
ea544336d7
(head_bytes, head_lines): Adapt to new safe_read ABI.
2002-10-07 05:13:59 +00:00
Jim Meyering
a05880e42b
*** empty log message ***
2002-10-07 05:13:34 +00:00
Jim Meyering
647b737648
(scanargs): Ensure that specified block sizes (specified
...
via ibs=N, obs=N, and bs=N) are no larger than SSIZE_MAX.
(skip, dd_copy): Adapt to new safe_read ABI.
2002-10-06 16:17:56 +00:00
Jim Meyering
00ebca59b7
(simple_cat, cat): Adapt to new safe_read ABI.
2002-10-06 15:48:49 +00:00
Jim Meyering
f99d9f8109
*** empty log message ***
2002-10-06 14:55:17 +00:00
Jim Meyering
926546dcac
Update prototype.
...
(SAFE_READ_ERROR): Define.
2002-10-06 14:55:12 +00:00
Jim Meyering
e70e42fa66
(safe_read): Change type of function from ssize_t to size_t.
2002-10-06 14:55:01 +00:00
Jim Meyering
4ee1570593
*** empty log message ***
2002-10-06 06:44:50 +00:00
Jim Meyering
cd6593abaf
(signatures): Define.
...
(%.sig): New rule.
(announcement): Depend on $(signatures).
2002-10-06 06:44:43 +00:00
Jim Meyering
7ec9bab074
*** empty log message ***
2002-10-06 06:34:55 +00:00
Jim Meyering
17c175eb48
bump to 4.5.3
2002-10-06 06:34:45 +00:00
Jim Meyering
76e102fa20
*** empty log message ***
2002-10-06 06:12:27 +00:00
Jim Meyering
667c11d2dc
(announcement): Output all URLs for detached
...
signatures, not just the last one from the previous loop.
2002-10-06 06:12:12 +00:00
Jim Meyering
cf00c95789
.
2002-10-05 20:12:57 +00:00
Jim Meyering
a5761a4adb
.
2002-10-05 19:57:30 +00:00
Jim Meyering
017c2208e2
.
2002-10-05 19:56:44 +00:00
Jim Meyering
fb918bedbf
(TESTS): Add i-no-r.
2002-10-05 19:56:34 +00:00
Jim Meyering
702a18d659
*** empty log message ***
2002-10-05 19:56:00 +00:00
Jim Meyering
0bd10f3b8b
*** empty log message ***
2002-10-05 19:55:19 +00:00
Jim Meyering
d0d7266488
(remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR',
...
don't recurse into directory, DIR.
2002-10-05 19:54:25 +00:00
Jim Meyering
1f4be66913
*** empty log message ***
2002-10-05 19:21:33 +00:00
Jim Meyering
931e5aef07
*** empty log message ***
2002-10-05 19:17:57 +00:00
Jim Meyering
7a45935962
*** empty log message ***
2002-10-05 19:17:05 +00:00
Jim Meyering
c1a20dc27b
*** empty log message ***
2002-10-05 19:16:00 +00:00
Jim Meyering
55c73b9516
.
2002-10-05 17:02:43 +00:00
Jim Meyering
f540cf3789
*** empty log message ***
2002-10-05 08:30:07 +00:00
Jim Meyering
e3d5348851
save dd's stderr, and output it if dd fails
2002-10-05 08:29:21 +00:00
Jim Meyering
ae48cdae26
redirect dd's stderr
2002-10-05 08:27:45 +00:00
Jim Meyering
6a9dc978f9
(TESTS): Add big-4gb.
2002-10-05 08:26:42 +00:00
Jim Meyering
c5549236da
*** empty log message ***
2002-10-05 08:26:35 +00:00
Jim Meyering
215f635780
add a comment
2002-10-04 11:25:09 +00:00
Jim Meyering
314c0eaa97
Undo last change.
...
Instead, run du only on the symlinks that were successfully created.
2002-10-04 11:24:12 +00:00
Jim Meyering
4adcccbf48
Redirect errors (e.g. missing file) to /dev/null.
2002-10-04 11:19:22 +00:00
Jim Meyering
c19dbea39c
*** empty log message ***
2002-10-03 09:32:14 +00:00
Jim Meyering
4a6814ada7
Mark translatable string with `N_ (...)'.
2002-10-03 09:31:12 +00:00
Jim Meyering
f91c0597b1
(AUTHORS): Mark translatable string with `N_ (...)'.
2002-10-03 09:28:02 +00:00
Jim Meyering
8ddf1353cc
*** empty log message ***
2002-10-02 06:51:13 +00:00
Jim Meyering
b382c38eb1
(AC_CONFIG_FILES): Remove old/* names.
2002-10-02 06:50:57 +00:00
Jim Meyering
42a19757ae
update from master
2002-10-02 06:50:19 +00:00
Jim Meyering
0c0586bb2e
*** empty log message ***
2002-10-02 06:41:07 +00:00
Jim Meyering
dd356beb0a
(SUBDIRS): Remove `old'.
...
(EXTRA_DIST): List the files in old/.
2002-10-02 06:40:46 +00:00
Jim Meyering
ba13d22e09
*** empty log message ***
2002-10-01 11:43:19 +00:00
Jim Meyering
1512315121
*** empty log message ***
2002-10-01 07:58:20 +00:00
Jim Meyering
ce221c2708
*** empty log message ***
2002-10-01 07:58:16 +00:00
Jim Meyering
6ee4cfca07
(SSIZE_MAX): Define.
2002-10-01 07:58:03 +00:00
Jim Meyering
c42deaae1a
.
2002-09-30 22:03:45 +00:00
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
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
Jim Meyering
003ab9a58d
Remove all inclusions of inttypes.h,
...
since it's already included from sys2.h via system.h.
2002-09-22 06:41:02 +00:00
Jim Meyering
709d79631a
Remove all inclusions of inttypes.h,
...
since it's already included from sys2.h via system.h.
2002-09-22 06:40:14 +00:00
Jim Meyering
7b355ee476
upgrade to automake-1.6f
2002-09-22 06:34:18 +00:00
Jim Meyering
3be0542f6d
*** empty log message ***
2002-09-22 06:33:27 +00:00
Jim Meyering
17e6ca3e89
*** empty log message ***
2002-09-21 22:40:45 +00:00
Jim Meyering
575cb67bb2
(PERL): Remove duplicate definition.
2002-09-21 22:40:35 +00:00
Jim Meyering
457ae040b7
*** empty log message ***
2002-09-21 22:34:30 +00:00
Jim Meyering
ddc4c1a8a9
(TESTS): Add long-line.
2002-09-21 22:12:40 +00:00
Jim Meyering
ef2c79217f
*** empty log message ***
2002-09-21 14:24:28 +00:00
Jim Meyering
c5c97ee23a
No longer include values.h.
...
It was required solely for now-removed reference to BITSPERBYTE.
2002-09-21 14:24:18 +00:00
Jim Meyering
ae1f13cd3c
*** empty log message ***
2002-09-21 14:22:34 +00:00
Jim Meyering
d5d3e4a862
*** empty log message ***
2002-09-21 14:22:14 +00:00
Jim Meyering
7080cab46c
No longer include values.h.
...
It was required solely for now-removed reference to BITSPERBYTE.
2002-09-21 14:21:53 +00:00
Jim Meyering
036ab5abda
(UTILS_HOST_OS): Add a case for freebsd*-gnu*.
2002-09-20 09:04:43 +00:00
Jim Meyering
17170ddcb3
(TESTS): Add t-slash.
2002-09-20 08:59:17 +00:00
Jim Meyering
9fd07809b6
*** empty log message ***
2002-09-20 08:59:07 +00:00
Jim Meyering
350063fa65
add comment
2002-09-20 08:48:21 +00:00
Jim Meyering
9a8d898e60
*** empty log message ***
2002-09-20 08:46:48 +00:00
Jim Meyering
f0693e040c
(remove_parents): Strip trailing slashes.
2002-09-20 08:41:02 +00:00
Jim Meyering
899a855343
Add need-ngettext to AM_GNU_GETTEXT invocation.
2002-09-20 08:18:39 +00:00
Jim Meyering
f026fc4b46
*** empty log message ***
2002-09-20 06:44:37 +00:00
Jim Meyering
eaa5777cc5
(announcement): Arrange to gpg-sign the message.
...
Add a URL for each detached signature file.
2002-09-20 06:44:31 +00:00
Jim Meyering
80b4ef8025
*** empty log message ***
2002-09-19 06:21:11 +00:00
Jim Meyering
f02d6eea14
*** empty log message ***
2002-09-18 08:31:16 +00:00
Jim Meyering
62718bc18d
*** empty log message ***
2002-09-18 08:30:57 +00:00
Jim Meyering
0e71fdcb84
*** empty log message ***
2002-09-18 08:30:29 +00:00
Jim Meyering
78dfee94cb
*** empty log message ***
2002-09-17 22:06:28 +00:00
Jim Meyering
b8da58cdac
od -t x8' used the wrong (l'-prefixed) printf format.
...
Likewise for the o8 and u8 formats.
(ISPEC_TO_FORMAT): Define macro.
(decode_one_format): Use PRIdMAX, PRIoMAX, etc. for LONG_LONG.
Reported by Arun Sharma.
2002-09-17 22:06:21 +00:00
Jim Meyering
8837ed851e
*** empty log message ***
2002-09-17 14:43:34 +00:00
Jim Meyering
32af38ad7f
(PRIdMAX, PRIoMAX, PRIuMAX, PRIxMAX): Define if necessary.
...
From gettext's intl/loadmsgcat.c.
2002-09-17 14:41:43 +00:00
Jim Meyering
eb025632fc
sort/check like this:
...
(export LC_COLLATE=fr_FR; sed -n '/^$/,$p' THANKS|sort -c -f -t' ' -k1,1 -k2,2)
2002-09-17 08:10:50 +00:00
Jim Meyering
96a4006030
sort
2002-09-17 08:07:07 +00:00
Jim Meyering
498e1e4f34
sort
2002-09-17 07:56:51 +00:00
Jim Meyering
0ba46f3211
*** empty log message ***
2002-09-17 07:50:32 +00:00
Jim Meyering
1c6add23a8
(TESTS): Add x8.
2002-09-17 07:34:04 +00:00
Jim Meyering
83ce802e59
test for bug fixed in coreutils-4.5.2
2002-09-17 07:33:54 +00:00
Jim Meyering
2e828f4304
*** empty log message ***
2002-09-16 10:27:05 +00:00
Jim Meyering
fd275f739b
Forbid symbols matching ^jm_[A-Z].
...
(jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
2002-09-16 10:26:59 +00:00
Jim Meyering
29cf63f13e
*** empty log message ***
2002-09-16 10:21:06 +00:00
Jim Meyering
bed74c5f2c
(jm_PREREQ_ERROR): Check for libintl.h.
2002-09-16 10:20:54 +00:00
Jim Meyering
9679e3f156
*** empty log message ***
2002-09-16 05:51:14 +00:00
Jim Meyering
786254cbd5
version: 4.5.1
2002-09-16 05:49:58 +00:00
Jim Meyering
3888eed848
*** empty log message ***
2002-09-15 20:24:19 +00:00
Jim Meyering
68754e2a35
*** empty log message ***
2002-09-15 07:23:14 +00:00
Jim Meyering
f4c8df3d37
(get_format_width): Add cast to avoid
...
warning about `signed and unsigned type in conditional expression'.
2002-09-15 07:23:08 +00:00
Jim Meyering
165e561cf5
(generate_all_output): Likewise.
2002-09-15 07:12:05 +00:00
Jim Meyering
643087c9eb
*** empty log message ***
2002-09-15 07:11:59 +00:00
Jim Meyering
e13f998e3d
*** empty log message ***
2002-09-15 06:52:35 +00:00
Jim Meyering
ec317bd993
(xnanosleep): Return -1 on failure, not 1, for consistency with nanosleep.
...
Check errno after nanosleep returns -1.
2002-09-15 06:52:29 +00:00
Jim Meyering
466902bf34
*** empty log message ***
2002-09-14 09:12:20 +00:00
Jim Meyering
3935842cb3
(main, skip): Add casts to avoid warnings about
...
`comparison between signed and unsigned'.
2002-09-14 09:12:13 +00:00
Jim Meyering
12b5bb320c
(print_user): Change type of local to size_t
...
to avoid warnings about `comparison between signed and unsigned'.
2002-09-14 07:47:38 +00:00
Jim Meyering
95631bcc4d
*** empty log message ***
2002-09-14 07:45:59 +00:00
Jim Meyering
c81581d5c3
(print_full_info, print_group_list): Add casts to avoid
...
warnings about `signed and unsigned type in conditional expression'.
2002-09-14 07:45:53 +00:00
Jim Meyering
5ca2fe79d9
Change type of global, digest_hex_bytes, to size_t
...
to avoid warnings about `comparison between signed and unsigned'.
(split_3): Change parameter names to be readable and add comment.
Clean up the test for whether a line may be ignored.
2002-09-14 07:40:04 +00:00
Jim Meyering
fd73068711
*** empty log message ***
2002-09-13 21:17:26 +00:00
Jim Meyering
cea6b0e19a
(jm_MACROS): Require autoconf-2.54.
2002-09-13 21:17:19 +00:00
Jim Meyering
6dfd1fe44a
.
2002-09-13 14:23:26 +00:00
Jim Meyering
17b4cf8818
*** empty log message ***
2002-09-13 12:18:39 +00:00
Jim Meyering
5bd4fe2400
(main): Handle leading command line argument of `--'.
2002-09-13 09:50:23 +00:00
Jim Meyering
b4994d29a1
.
2002-09-13 09:49:55 +00:00
Jim Meyering
ef7c6ac69f
*** empty log message ***
2002-09-13 09:49:26 +00:00
Jim Meyering
b9485873b6
Make sure printf handles a leading -- properly.
2002-09-13 09:49:19 +00:00
Jim Meyering
6b11de0aad
(TESTS): Add printf.
2002-09-13 09:48:04 +00:00
Jim Meyering
41de1d5546
*** empty log message ***
2002-09-13 09:35:22 +00:00
Jim Meyering
0264deb7f0
*** empty log message ***
2002-09-13 09:31:32 +00:00
Jim Meyering
adaffb391b
(Time directives) [%S]: Explain why the range is [0..60].
2002-09-13 09:31:26 +00:00
Jim Meyering
dbe1e3529a
(stat invocation): Remove references to now-removed %S and %C.
2002-09-13 09:19:20 +00:00
Jim Meyering
a59ff019de
(usage): Explain that %S's range of [0..60] is required --
...
rather than 0..59 -- to accommodate the occasional positive leap second.
2002-09-13 09:18:18 +00:00
Jim Meyering
4de67de0af
*** empty log message ***
2002-09-13 09:14:46 +00:00
Jim Meyering
510b33a541
*** empty log message ***
2002-09-13 08:51:27 +00:00
Jim Meyering
626d26baaa
(tail invocation): In --sleep-interval=NUMBER,
...
NUMBER may now be a floating point number.
2002-09-13 08:51:15 +00:00
Jim Meyering
96a4360079
update from master
2002-09-13 07:46:30 +00:00
Jim Meyering
5ecd38d97e
.
2002-09-12 13:16:43 +00:00
Jim Meyering
313f44f036
*** empty log message ***
2002-09-12 13:16:28 +00:00
Jim Meyering
3087631793
(nanosec_libs): Define.
...
(sleep_LDADD, tail_LDADD): Use it here.
2002-09-12 13:16:20 +00:00
Jim Meyering
96bd9415dc
.
2002-09-12 13:15:07 +00:00
Jim Meyering
a4d28ef145
.
2002-09-12 12:14:58 +00:00
Jim Meyering
3a9de00dc7
*** empty log message ***
2002-09-12 12:12:31 +00:00
Jim Meyering
a6386ad90d
*** empty log message ***
2002-09-12 12:11:59 +00:00
Jim Meyering
3bbdcee8c3
*** empty log message ***
2002-09-12 12:02:56 +00:00
Jim Meyering
1e8f677ed4
Factor nanosleep-related code into ../lib/xnanosleep.c.
...
Include xnanosleep.h.
Factor out fenv.h-related code.
(timespec_subtract): Remove function.
(main): Remove code that deals with computing start and stop times
as well as the loop around nanosleep. Now that's in xnanosleep.c.
2002-09-12 12:01:02 +00:00
Jim Meyering
3a49e627de
*** empty log message ***
2002-09-12 11:38:59 +00:00
Jim Meyering
7a79266014
Include xnanosleep.h and xstrtod.h.
...
Move declaration of global variable, sleep_interval, to ...
(main): ...here.
(usage): Update description of --sleep-interval option.
(tail_forever): New parameter, sleep_interval. Update caller.
Use xnanosleep, rather than sleep.
(parse_options): New parameter, sleep_interval. Update caller.
Use xstrtod, now that we accept floating point values.
2002-09-12 11:38:47 +00:00
Jim Meyering
d7a4a48c83
*** empty log message ***
2002-09-11 11:35:18 +00:00
Jim Meyering
aa6f330821
(libfetish_a_SOURCES): Add xnanosleep.c and xnanosleep.h.
2002-09-11 11:35:12 +00:00
Jim Meyering
079eb6b3d1
New files, factored out of sleep.c.
2002-09-11 11:34:20 +00:00
Jim Meyering
ae3d0303a0
.
2002-09-10 13:10:16 +00:00
Jim Meyering
867d0d0403
Remove file -- now it's part of autoconf-2.53c.
2002-09-10 13:10:02 +00:00
Jim Meyering
5d5cef3277
.
2002-09-10 13:09:17 +00:00
Jim Meyering
99583c1cae
Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
...
AC_FUNC_GETLOADAVG where to find getloadavg.c.
2002-09-10 13:09:01 +00:00
Jim Meyering
3fb3949208
*** empty log message ***
2002-09-10 13:08:43 +00:00
Jim Meyering
0b49457e24
.
2002-09-10 13:08:00 +00:00
Jim Meyering
9e35801348
Add lg (Luganda).
2002-09-10 13:06:27 +00:00
Jim Meyering
afef4e7e86
.
2002-09-06 20:58:23 +00:00
Jim Meyering
0e1e6b5e56
*** empty log message ***
2002-09-06 08:00:43 +00:00
Jim Meyering
8706a066cf
*** empty log message ***
2002-09-06 08:00:36 +00:00
Jim Meyering
37f7bae4f0
(prompt): Change comment to give a better note to translators.
2002-09-06 08:00:30 +00:00
Jim Meyering
fceb8c6f6d
.
2002-09-05 11:38:21 +00:00
Jim Meyering
1a71d84326
*** empty log message ***
2002-09-04 07:53:56 +00:00
Jim Meyering
de68469582
(addext): Add a cast to avoid gcc's warning about
...
`comparison between signed and unsigned'.
2002-09-04 07:53:42 +00:00
Jim Meyering
8b4aebd031
*** empty log message ***
2002-09-04 07:41:34 +00:00
Jim Meyering
6c0a2cd041
(str2signum, sig2str): Declare loop index variables to be
...
of type size_t so that they match type of upper bound, thus avoiding
warning about `comparison between signed and unsigned'.
2002-09-04 07:41:11 +00:00
Jim Meyering
2eb1ba5109
*** empty log message ***
2002-09-03 14:10:17 +00:00
Jim Meyering
d3f25cc8bf
.
2002-09-03 14:07:36 +00:00
Jim Meyering
a9e5e84ed7
*** empty log message ***
2002-09-02 09:07:13 +00:00
Jim Meyering
585d13437c
A good problem report/patch includes diffs against
...
the most recent test release.
2002-09-02 07:53:13 +00:00
Jim Meyering
496f29fa8c
(NEED_PATHCONF_WRAPPER): Define.
...
(pathconf_wrapper): Define only if NEED_PATHCONF_WRAPPER is set.
2002-09-02 07:43:38 +00:00
Jim Meyering
0ea01d21a3
(skip): Add casts to avoid warning about comparison
...
between signed and unsigned. Also rearrange range-checking
comparisons to make them more readable.
2002-09-02 07:38:53 +00:00
Jim Meyering
2ebfe2fc9c
(print_table_row): Use an unsigned type for widths
...
to avoid warning about comparison between signed and unsigned.
(list_signals): Likewise.
2002-09-02 07:31:24 +00:00
Jim Meyering
680cd976cc
(skip): Add a cast to avoid warning about comparison
...
between signed and unsigned.
2002-09-02 07:23:09 +00:00
Jim Meyering
c6fcfa23be
*** empty log message ***
2002-09-02 06:36:12 +00:00
Jim Meyering
636b6d76f3
*** empty log message ***
2002-09-02 06:34:55 +00:00
Jim Meyering
951b87ccd5
Bump version to 4.5.2.
2002-09-02 06:30:16 +00:00
Jim Meyering
e6c8577825
.
2002-09-01 09:58:07 +00:00
Jim Meyering
55b9df1653
*** empty log message ***
2002-09-01 09:42:31 +00:00
Jim Meyering
b2523f82c5
.
2002-09-01 08:56:59 +00:00
Jim Meyering
f7e3d9b0f2
*** empty log message ***
2002-08-31 16:59:23 +00:00
Jim Meyering
b0231a2f03
Update from GNU libc.
2002-08-31 16:59:12 +00:00
Jim Meyering
a5f8422570
Update from GNU libc.
2002-08-31 16:54:45 +00:00
Jim Meyering
5bdb1226eb
Update from GNU libc.
2002-08-31 16:52:18 +00:00
Jim Meyering
eb540d8e9b
*** empty log message ***
2002-08-31 16:46:43 +00:00
Jim Meyering
174a1f057c
Update from GNU libc.
2002-08-31 16:46:40 +00:00
Jim Meyering
6dcc1a7fc3
*** empty log message ***
2002-08-31 16:25:42 +00:00
Jim Meyering
08264fc838
*** empty log message ***
2002-08-31 16:23:08 +00:00
Jim Meyering
24272cc948
.
2002-08-31 16:11:27 +00:00
Jim Meyering
62808a7fb5
Symlinks were always reported as using 0 blocks.
...
(ST_NBLOCKS): Don't depend on file type.
This reverts the change of 2000-01-30.
Based on a report and patch from Neil Brown via Michael Stone.
2002-08-31 16:04:57 +00:00
Jim Meyering
03b25d2e46
*** empty log message ***
2002-08-31 16:04:09 +00:00
Jim Meyering
570446de4a
*** empty log message ***
2002-08-31 16:02:41 +00:00
Jim Meyering
970a18999d
*** empty log message ***
2002-08-31 09:03:39 +00:00
Jim Meyering
61fe93b0c0
*** empty log message ***
2002-08-31 09:02:31 +00:00
Jim Meyering
41766f78de
*** empty log message ***
2002-08-31 09:02:09 +00:00
Jim Meyering
45615cb41f
*** empty log message ***
2002-08-31 08:52:15 +00:00
Jim Meyering
4006f4e672
Change exit (0)' to exit (EXIT_SUCCESS)',
...
`exit (1)' to `exit (EXIT_FAILURE)', and
`usage (1)' to `usage (EXIT_FAILURE)'.
2002-08-31 08:52:10 +00:00
Jim Meyering
7488703199
Change error (1, ...' to error (EXIT_FAILURE, ...'.
2002-08-30 23:04:53 +00:00
Jim Meyering
6c80ecd8d5
*** empty log message ***
2002-08-30 06:59:44 +00:00
Jim Meyering
4bffc55254
[START-INFO-DIR-ENTRY]: Don't use sc{} on LHS.
...
Fix typo: s/permission/permissions/. From Michail Litvak.
2002-08-30 06:59:39 +00:00
Jim Meyering
96a48abf78
*** empty log message ***
2002-08-30 06:58:41 +00:00
Jim Meyering
e5ccb59f97
*** empty log message ***
2002-08-29 10:46:04 +00:00
Jim Meyering
649a00e9b8
(is_empty_dir): Detect and diagnose readdir failures.
...
Always close directory handle.
2002-08-29 10:42:12 +00:00
Jim Meyering
515f184462
(print_dir): Detect and diagnose readdir failures.
...
On some systems (at least EMC Celerra and Solaris5.8),
this appears to be necessary.
(print_dir): Rename local variable: reading -> dirp.
2002-08-29 10:16:00 +00:00
Jim Meyering
609231e3fa
*** empty log message ***
2002-08-29 10:15:20 +00:00
Jim Meyering
1f8ece552f
(remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return value.
2002-08-29 10:13:57 +00:00
Jim Meyering
82c0b315bc
(print_dir): Rename local variable: reading -> dirp.
2002-08-29 09:44:23 +00:00
Jim Meyering
9a9e0503a2
(remove_cwd_entries): Detect and diagnose readdir
...
failures. On some systems (at least EMC Celerra and Solaris5.8),
this appears to be necessary.
2002-08-29 09:42:43 +00:00
Jim Meyering
cd79080f4a
(remove_cwd_entries): Use CLOSEDIR, not closedir.
...
Give a diagnostic and fail if closedir fails.
2002-08-28 06:52:07 +00:00
Jim Meyering
3ee8ba25ba
*** empty log message ***
2002-08-26 13:10:10 +00:00
Jim Meyering
c725204141
*** empty log message ***
2002-08-26 13:04:49 +00:00
Jim Meyering
4ab5b1b246
(THANKS-to-translators): New rule.
...
(EXTRA_DIST): Add both THANKS-to-translators and THANKStt.in.
2002-08-26 12:58:30 +00:00
Jim Meyering
b10e1c1a4a
*** empty log message ***
2002-08-26 12:49:14 +00:00
Jim Meyering
69a590a469
*** empty log message ***
2002-08-26 10:05:07 +00:00
Jim Meyering
e5f8396b09
*** empty log message ***
2002-08-26 10:04:51 +00:00
Jim Meyering
efaf3a08de
*** empty log message ***
2002-08-26 10:04:05 +00:00
Jim Meyering
6f6a8f0361
.
2002-08-26 10:01:57 +00:00
Jim Meyering
7dd8275506
.
2002-08-26 07:26:34 +00:00
Jim Meyering
234cd4e3fe
(close_stdout_wrapper): New, kludgey, function and file-scoped global.
...
(main): Register it with atexit.
Close STDOUT_FILENO, to avoid a problem when writing to
/dev/audio on at least Solaris 2.7 and 2.8 systems.
2002-08-26 07:23:37 +00:00
Jim Meyering
6d1c743816
*** empty log message ***
2002-08-26 07:23:18 +00:00
Jim Meyering
5dff34cd8d
*** empty log message ***
2002-08-26 07:22:09 +00:00
Jim Meyering
83f07a2ae3
*** empty log message ***
2002-08-25 14:32:21 +00:00
Jim Meyering
c7bfa321f9
*** empty log message ***
2002-08-25 14:32:10 +00:00
Jim Meyering
3124a4e393
(main): Close STDIN_FILENO rather than a literal `0'.
2002-08-25 14:32:02 +00:00
Jim Meyering
f7f7207a69
latest
2002-08-25 07:35:00 +00:00
Jim Meyering
dd11d9349e
*** empty log message ***
2002-08-20 16:53:43 +00:00
Jim Meyering
17077cbcbf
Rewrite not to use `: ${VAR=not_set}' paradigm.
2002-08-20 16:53:33 +00:00
Jim Meyering
9db4370c1a
*** empty log message ***
2002-08-20 10:19:18 +00:00
Jim Meyering
91d008f619
.
2002-08-20 10:18:19 +00:00
Jim Meyering
ac9b8804eb
.
2002-08-14 13:44:19 +00:00
Jim Meyering
78088e3400
*** empty log message ***
2002-08-10 09:58:02 +00:00
Jim Meyering
01ac2fda31
Don't use "exec --"; it's not portable and shouldn't be needed.
2002-08-10 09:57:57 +00:00
Jim Meyering
f12b040a86
.
2002-08-09 22:13:49 +00:00
Jim Meyering
b2ad2ca795
[col-last]: New test for the above.
2002-08-09 22:13:37 +00:00
Jim Meyering
13f19a6185
*** empty log message ***
2002-08-09 10:04:19 +00:00
Jim Meyering
b1113d0168
(main): Don't ignore -COLUMN if it's the last option.
...
(usage): Clarify help text for the -COLUMN option.
2002-08-09 10:03:58 +00:00
Jim Meyering
82e2664b87
Start with version 4.5.1, chosen so that it's larger than
...
the latest version numbers of the component packages.
2002-08-09 10:00:25 +00:00
Jim Meyering
6eb3ba11fb
(check-x-vs-1): Set and export PATH so we use programs in ../src.
2002-08-09 06:12:29 +00:00
Jim Meyering
a4726a4c8d
*** empty log message ***
2002-08-09 06:12:18 +00:00
Jim Meyering
11eaed5c9c
.
2002-08-08 17:05:13 +00:00
Jim Meyering
fc0e70fe74
*** empty log message ***
2002-08-08 16:38:29 +00:00
Jim Meyering
596072d020
*** empty log message ***
2002-08-08 16:37:27 +00:00
Jim Meyering
23fd377567
*** empty log message ***
2002-08-08 16:36:52 +00:00
Jim Meyering
4cb69e11ad
Guard inclusion of <langinfo.h> with
...
`#if HAVE_LANGINFO_CODESET', not `#if HAVE_LANGINFO_H'.
2002-08-08 16:36:33 +00:00
Jim Meyering
99ec0b1a38
*** empty log message ***
2002-08-08 09:08:09 +00:00
Jim Meyering
f900759505
*** empty log message ***
2002-08-08 09:07:45 +00:00
Jim Meyering
c762eef14f
*** empty log message ***
2002-08-08 09:02:10 +00:00
Jim Meyering
8cfd57e318
*** empty log message ***
2002-08-07 22:04:42 +00:00
Jim Meyering
0a6e22bb95
(main): Adjust to posixtime signature change.
...
Remove unnecessary initialization.
Use localtime, not posixtm, to warn about obsolete "touch".
2002-08-07 22:04:37 +00:00
Jim Meyering
1f6174e466
(main): Adjust to posixtime signature change.
2002-08-07 22:04:01 +00:00
Jim Meyering
8f5baf053e
*** empty log message ***
2002-08-07 22:03:24 +00:00
Jim Meyering
ea1d6448fb
(posixtime): Return bool instead of time_t, so
...
that we can return (time_t) -1 successfully.
2002-08-07 22:02:52 +00:00
Jim Meyering
c66dd95e8e
Fix some minor time-related bugs with POSIX time arguments.
...
Some valid time stamps were being rejected (notably -1, and
time stamps before 1900 on 64-bit hosts). And some invalid
time stamps were being accepted, e.g. September 31.
* lib/posixtm.h (posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.
* lib/posixtm.c: Likewise.
[HAVE_STDBOOL_H]: Include <stdbool.h>.
(bool, false, true) [!HAVE_STDBOOL_H]: New type.
(t): Remove static var.
(year, posix_time_parse): Now takes struct tm * arg to modify, instead
of static var. All uses changed.
(year): Do not reject years before 1900; they can occur with
64-bit time_t.
(posix_time_parse): Do not check for out-of-range components;
that is now the caller's responsibility, since our checks were
only approximations.
(posixtime): Use mktime to check for out-of-range components,
since it knows them exactly.
If mktime returns (time_t) -1, check whether an error actually occurred
by invoking localtime on -1.
(main) [TEST_POSIXTIME]: Check for input data errors, and report
posixtime failures better.
Improve the test data (in comments only).
2002-08-07 22:02:23 +00:00
Jim Meyering
bdccb7c890
Change $am_cv_sys_posix_termios to $ac_cv_sys_posix_termios.
...
From Andreas Schwab.
2002-08-05 12:21:42 +00:00
Jim Meyering
643bb0f883
*** empty log message ***
2002-08-05 12:20:55 +00:00
Jim Meyering
5c1e3600c9
*** empty log message ***
2002-08-05 12:20:42 +00:00
Jim Meyering
ea64b210f7
*** empty log message ***
2002-08-05 11:51:50 +00:00
Jim Meyering
67b3ee9676
Also change use of $am_cv_sys_posix_termios
...
to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2002-08-05 11:51:42 +00:00
Jim Meyering
46f67717fb
.
2002-08-05 10:53:37 +00:00
Jim Meyering
4597dbd2a7
*** empty log message ***
2002-08-05 10:11:54 +00:00
Jim Meyering
78c7cfea3f
(TESTS): Add nice and pathchk1.
2002-08-05 08:28:29 +00:00
Jim Meyering
4ab4543c2d
.
2002-08-05 08:27:56 +00:00
Jim Meyering
c6827392b2
*** empty log message ***
2002-08-04 13:48:07 +00:00
Jim Meyering
28618d4dda
.
2002-08-04 13:47:09 +00:00
Jim Meyering
27076dfd18
*** empty log message ***
2002-08-04 13:46:33 +00:00
Jim Meyering
04e21e6e53
.
2002-08-04 13:46:16 +00:00
Jim Meyering
92b12e12af
*** empty log message ***
2002-08-04 13:41:29 +00:00
Jim Meyering
62ddac9d22
.
2002-08-04 13:40:26 +00:00
Jim Meyering
a3e653fea2
*** empty log message ***
2002-08-04 13:36:39 +00:00
Jim Meyering
54160b0b94
.
2002-08-04 11:04:56 +00:00
Jim Meyering
f09c1b54cf
*** empty log message ***
2002-08-04 11:04:38 +00:00
Jim Meyering
0e727f4c59
*** empty log message ***
2002-08-04 11:03:20 +00:00
Jim Meyering
ca845879a4
(check-README): New target/rule.
...
(check): Depend on it.
2002-08-04 11:03:08 +00:00
Jim Meyering
9c24b11207
*** empty log message ***
2002-08-04 11:02:44 +00:00
Jim Meyering
c1f4d04c0f
(AC_CONFIG_FILES): Add old/Makefile and old/*/Makefile.
2002-08-04 11:02:26 +00:00
Jim Meyering
2220d47e56
.
2002-08-04 11:01:30 +00:00
Jim Meyering
dbb5342c42
*** empty log message ***
2002-08-04 09:38:47 +00:00
Jim Meyering
b0c47ec127
*** empty log message ***
2002-08-04 06:15:41 +00:00
Jim Meyering
667d18259c
*** empty log message ***
2002-08-03 17:42:53 +00:00
Jim Meyering
12107c3302
(SUBDIRS): Add old.
2002-08-03 16:49:20 +00:00
Jim Meyering
cd93525ee8
.
2002-08-03 16:48:17 +00:00
Jim Meyering
1c421df83b
.
2002-08-03 16:47:21 +00:00
Jim Meyering
245b16635b
*** empty log message ***
2002-08-03 16:44:43 +00:00
Jim Meyering
cefeb81dd5
(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Set to false.
2002-08-03 16:44:33 +00:00
Jim Meyering
87ef26a750
*** empty log message ***
2002-08-03 14:57:15 +00:00
Jim Meyering
ccd890dc9f
*** empty log message ***
2002-08-03 14:55:25 +00:00
Jim Meyering
9193e7e10a
*** empty log message ***
2002-08-03 14:55:21 +00:00
Jim Meyering
9159586138
Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2002-08-03 14:54:21 +00:00
Jim Meyering
515fe7d138
*** empty log message ***
2002-08-03 14:01:20 +00:00
Jim Meyering
1a15d841b8
*** empty log message ***
2002-08-02 14:49:52 +00:00
Jim Meyering
be39dde5b1
uniq now obeys LC_COLLATE.
2002-08-02 14:49:29 +00:00
Jim Meyering
f74c790e4d
*** empty log message ***
2002-08-02 14:42:45 +00:00
Jim Meyering
545c2323d4
Include hard-locale.h, xmemcoll.h.
...
(hard_LC_COLLATE): New var.
(different): Args are now char *, not const char *.
Use xmemcoll instead of memcmp to compare lines, so that
LC_COLLATE has effect. However, use memcmp if it is an
easy locale.
(check_file): Do not include newline in comparison, so that
xmemcoll has a byte to stomp on temporarily.
(main): Set hard_LC_COLLATE.
2002-08-02 14:42:37 +00:00
Jim Meyering
69a27f2c3d
*** empty log message ***
2002-08-01 21:37:04 +00:00
Jim Meyering
9a7a47422e
*** empty log message ***
2002-08-01 09:19:30 +00:00
Jim Meyering
d2b62daff5
(run_shell): Exit with status 126 or 127 when execvp or
...
execv fails, for consistency with POSIX commands like env and nice.
2002-08-01 09:19:24 +00:00
Jim Meyering
a6005c2ba4
(main): Exit with status 126 or 127 when execvp or
...
execv fails, for consistency with POSIX commands like env and nice.
2002-08-01 08:50:19 +00:00
Jim Meyering
2a41097fd7
Change behavior to conform to POSIX 1003.1-2001:
...
- Do not adjust scheduling priority.
- Redirects stderr to stdout, if stderr is not a terminal.
- Exit status is now 126 if command was found but not invoked,
127 if nohup failed or if command was not found.
Fix bug: command was run if nohup.out wasn't writeable.
2002-08-01 08:47:33 +00:00
Jim Meyering
901688234a
*** empty log message ***
2002-08-01 08:32:00 +00:00
Jim Meyering
8f065fba94
*** empty log message ***
2002-08-01 07:02:51 +00:00
Jim Meyering
12046ce90b
(jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
...
so require require jm_AC_TYPE_UINTMAX_T. Patch by Joe Orton.
2002-08-01 07:02:47 +00:00
Jim Meyering
cac2b2c8eb
nohup changes
2002-07-29 12:19:12 +00:00
Jim Meyering
2394313610
*** empty log message ***
2002-07-29 12:18:35 +00:00
Jim Meyering
a022cf6329
Change behavior to conform to POSIX 1003.1-2001:
...
- Do not adjust scheduling priority.
- Redirects stderr to stdout, if stderr is not a terminal.
- Exit status is now 126 if command was found but not invoked,
127 if nohup failed or if command was not found.
2002-07-29 12:17:42 +00:00
Jim Meyering
ac8cf8db56
.
2002-07-29 11:05:52 +00:00
Jim Meyering
2b1fd19a04
.
2002-07-29 11:04:59 +00:00
Jim Meyering
206dd4a985
require automake-1.6b
2002-07-29 10:57:12 +00:00
Jim Meyering
ef2c17c290
.
2002-07-29 10:55:22 +00:00
Jim Meyering
72c145938f
.
2002-07-29 10:54:44 +00:00
Jim Meyering
0b903c36ca
.
2002-07-29 10:37:33 +00:00
Jim Meyering
bc9509e015
*** empty log message ***
2002-07-29 10:35:22 +00:00
Jim Meyering
9d8a92eeb8
*** empty log message ***
2002-07-29 10:35:17 +00:00
Jim Meyering
95a4eb7b02
(SUBDIRS): Remove djgpp, for now.
2002-07-29 10:35:11 +00:00
Jim Meyering
c010271591
.
2002-07-29 10:34:32 +00:00
Jim Meyering
c017df37f1
Supply exit arg for both invocations of exit.
2002-07-29 09:54:40 +00:00
Jim Meyering
49f015c36b
*** empty log message ***
2002-07-29 08:40:50 +00:00
Jim Meyering
c8729cad98
Adjust command examples in comments to use POSIX 1003.1-2001 option syntax.
...
From Paul Eggert.
2002-07-29 08:40:10 +00:00
Jim Meyering
14714daf41
*** empty log message ***
2002-07-28 21:48:41 +00:00
Jim Meyering
03089e39cb
.
2002-07-28 21:45:04 +00:00
Jim Meyering
ff7b7797bb
*** empty log message ***
2002-07-28 20:11:43 +00:00
Jim Meyering
e3d2d82194
*** empty log message ***
2002-07-28 20:10:56 +00:00
Jim Meyering
cafa875ac4
*** empty log message ***
2002-07-28 20:10:28 +00:00
Jim Meyering
aab1a6520d
*** empty log message ***
2002-07-28 13:19:38 +00:00
Jim Meyering
3eb3c770fd
Don't require jm_FUNC_READDIR.
2002-07-28 13:19:35 +00:00
Jim Meyering
af8dd6d427
(jm_FUNC_READDIR): Remove file/macro. No longer needed.
2002-07-28 13:15:48 +00:00
Jim Meyering
e1b511adc6
.
2002-07-27 21:39:33 +00:00
Jim Meyering
ad0b9f7dde
*** empty log message ***
2002-07-27 21:39:16 +00:00
Jim Meyering
37a7d1433c
(jm_PREREQ_READUTMP): Don't check just
...
`struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
all combinations of utmp/utmpx and ut_termination/e_termination
and ut_exit/e_exit.
2002-07-27 21:39:00 +00:00
Jim Meyering
598ed91d62
If we have both utmpx.h and utmp.h, and there exists
...
the utmp.ut_exit member, but not the utmpx.ut_exit member, then
undefine HAVE_UTMPX_H. For AIX 4.3.3. Doing all this in cpp is
a big kludge; someday we'll put the brains in an autoconf macro.
(UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define.
2002-07-27 21:35:39 +00:00
Jim Meyering
86af2dfa29
(UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Remove definitions.
...
Now they're defined in readutmp.h.
(print_deadprocs): Remove obsolete FIXME comment.
2002-07-27 21:31:50 +00:00
Jim Meyering
ee16ef9929
*** empty log message ***
2002-07-27 08:45:53 +00:00
Jim Meyering
62c03f8fac
Port to POSIX 1003.1-2001 "nice", which
...
requires the option "-n 5" rather than "-5". This matters
with GNU "nice" if the user has set the _POSIX2_VERSION
environment variable.
2002-07-27 08:45:49 +00:00
Jim Meyering
5e8cbfdf8e
*** empty log message ***
2002-07-27 07:08:03 +00:00
Jim Meyering
1d423f93c8
*** empty log message ***
2002-07-27 07:01:42 +00:00
Jim Meyering
aa2fb76aa1
*** empty log message ***
2002-07-27 07:01:03 +00:00
Jim Meyering
8c01127f70
*** empty log message ***
2002-07-26 07:38:41 +00:00
Jim Meyering
e4d4cea119
Don't include malloc.h -- it was unnecessary.
2002-07-26 07:38:35 +00:00
Jim Meyering
723e226532
update from master
2002-07-25 07:11:29 +00:00
Jim Meyering
2b4dff2063
*** empty log message ***
2002-07-24 08:33:27 +00:00
Jim Meyering
d1f42de115
(Time directives): Document %P, %R, %e, %F, %g, %G, and %V
2002-07-24 08:33:21 +00:00
Jim Meyering
ce7a9483a9
.
2002-07-24 08:27:35 +00:00
Jim Meyering
be7f1936bd
undo last change
2002-07-24 08:24:12 +00:00
Jim Meyering
43343c2793
*** empty log message ***
2002-07-23 19:42:32 +00:00
Jim Meyering
68aff85110
*** empty log message ***
2002-07-23 19:42:04 +00:00
Jim Meyering
9bbd5af6e8
.
2002-07-23 08:16:11 +00:00
Jim Meyering
34598a09f5
*** empty log message ***
2002-07-23 08:14:34 +00:00
Jim Meyering
c6bb7f43ff
(AC_C_BACKSLASH_A): Remove file, now that autoconf
2002-07-23 08:13:46 +00:00
Jim Meyering
2497b8e42f
*** empty log message ***
2002-07-22 19:58:34 +00:00
Jim Meyering
8c55f0fbfa
(Formatting the file names): Document
...
that -N/--literal are equivalent to --quoting-style=literal.
Reported by Oskar Liljeblad as Debian bug#103612.
2002-07-22 19:58:29 +00:00
Jim Meyering
a6d4483234
*** empty log message ***
2002-07-22 15:39:23 +00:00
Jim Meyering
33106990a6
(usage): The short form of --dereference is now -L, not -l.
2002-07-22 15:39:12 +00:00
Jim Meyering
63fb8bd5b6
*** empty log message ***
2002-07-22 12:24:48 +00:00
Jim Meyering
2bd28f0200
Add new option, --presume-input-tty, for testing only.
...
Not documented.
2002-07-22 12:24:41 +00:00
Jim Meyering
48a269db9c
Add a test for this:
...
When not interactive, don't prompt for a symlink.
2002-07-22 12:22:59 +00:00
Jim Meyering
07fdea3ed9
.
2002-07-22 08:26:07 +00:00
Jim Meyering
14947f5b6c
*** empty log message ***
2002-07-22 08:25:13 +00:00
Jim Meyering
786b4298a5
*** empty log message ***
2002-07-22 08:16:57 +00:00
Jim Meyering
a0ba130aea
*** empty log message ***
2002-07-22 08:16:46 +00:00
Jim Meyering
ae1331b60a
Handle the case in which rm produces no output.
2002-07-22 08:16:38 +00:00
Jim Meyering
2f17be04e3
This test might remove a file owned by the person running `make check'.
...
Hoist definition of $target_file, and use
that (not $f) in test for owner/dir/symlink. Patch by Michael Stone.
2002-07-22 08:12:27 +00:00
Jim Meyering
db6dff2e6e
rm would prompt for non-dangling symlinks
...
(prompt): When not interactive, don't prompt for a symlink.
2002-07-22 06:59:26 +00:00
Jim Meyering
fc1b595b19
*** empty log message ***
2002-07-22 06:55:17 +00:00
Jim Meyering
c206bac583
Fix typo in last change: add missing $
2002-07-20 21:08:26 +00:00
Jim Meyering
64f41399ff
*** empty log message ***
2002-07-20 20:06:49 +00:00
Jim Meyering
bcfbac9349
(copy_internal): Use file_name_lookup, not getdport.
...
Patch by Alfred M. Szmidt.
2002-07-20 20:06:41 +00:00
Jim Meyering
32ea988e8b
*** empty log message ***
2002-07-20 15:48:25 +00:00
Jim Meyering
ad7b8c7978
.
2002-07-20 15:39:18 +00:00
Jim Meyering
b24b689963
.
2002-07-20 15:29:25 +00:00
Jim Meyering
334294f09d
(main): Add an explicit `exit (EXIT_SUCCESS);'
...
for --version, rather than falling through.
2002-07-20 15:18:37 +00:00
Jim Meyering
3f6c422f1a
(false.c): Convert only the final EXIT_SUCCESS
...
into EXIT_FAILURE. Otherwise, false --help and false --version
would fail.
2002-07-20 15:18:20 +00:00
Jim Meyering
ad7e872471
*** empty log message ***
2002-07-20 14:24:34 +00:00
Jim Meyering
a82d360478
(news-r1, news-r2): Define. Better regexp.
...
(announcement): Use them here. Also makes the line length < 80.
2002-07-20 14:24:29 +00:00
Jim Meyering
bfe17c403d
*** empty log message ***
2002-07-20 14:12:31 +00:00
Jim Meyering
d234d4b968
*** empty log message ***
2002-07-20 14:10:21 +00:00
Jim Meyering
edc5d1e500
.
2002-07-20 14:06:47 +00:00
Jim Meyering
ce62cf1bd3
*** empty log message ***
2002-07-20 14:06:33 +00:00
Jim Meyering
eb7996a1df
New file. From gettex-0.11.3.
2002-07-20 14:06:23 +00:00
Jim Meyering
4d84eaa764
do not use tail -1; use tail -n 1 instead
2002-07-20 11:17:27 +00:00
Jim Meyering
a5c943a9b4
.
2002-07-20 11:16:45 +00:00
Jim Meyering
6249feeba8
*** empty log message ***
2002-07-20 08:32:46 +00:00
Jim Meyering
74222f7619
*** empty log message ***
2002-07-20 08:28:24 +00:00
Jim Meyering
18d123ec85
*** empty log message ***
2002-07-20 08:24:31 +00:00
Jim Meyering
2b6249f98c
.
2002-07-20 07:12:58 +00:00
Jim Meyering
6884ff795d
.
2002-07-20 07:12:29 +00:00
Jim Meyering
e54c429349
*** empty log message ***
2002-07-20 07:12:13 +00:00
Jim Meyering
559555c77c
Require autoconf-2.53b.
...
Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
in place of jm_-prefixed ones.
2002-07-20 07:12:09 +00:00
Jim Meyering
b76525f29d
Remove file, now that autoconf provides this macro.
2002-07-20 07:11:05 +00:00
Jim Meyering
a848d8b02b
Adjust to work with new autoconf macros, AC_FUNC_MALLOC
...
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.
2002-07-20 07:07:48 +00:00
Jim Meyering
6f382f7324
.
2002-07-20 06:52:12 +00:00
Jim Meyering
5e9dbfad55
Upgrade to gettext-0.11.3.
2002-07-20 06:41:26 +00:00
Jim Meyering
940ec37b9d
*** empty log message ***
2002-07-20 06:38:38 +00:00
Jim Meyering
fd72bdc343
Upgrade to gettext-0.11.3.
2002-07-20 06:38:33 +00:00
Jim Meyering
5a75d400d9
Upgrade to gettext-0.11.3.
2002-07-20 06:37:36 +00:00
Jim Meyering
03229a474f
Upgrade to gettext-0.11.3.
2002-07-20 06:36:49 +00:00
Jim Meyering
5b8a7240b0
Upgrade to gettext-0.11.3.
2002-07-20 06:35:12 +00:00
Jim Meyering
7e168001e9
Upgrade to gettext-0.11.3.
2002-07-20 06:34:16 +00:00
Jim Meyering
ca66dd1648
.
2002-07-20 06:31:28 +00:00
Jim Meyering
2200bd0564
Upgrade to gettext-0.11.3.
2002-07-20 06:31:12 +00:00
Jim Meyering
9befab3af8
fix typo in comment
2002-07-20 06:22:02 +00:00
Jim Meyering
39d971818e
skip directories, too.
...
Otherwise, we'd have to account for the additional `directory ' part
of a diagnostic like this:
fail-eperm: unexpected dignostic from `rm -f /tmp/.pcmcia';
got rm: cannot remove directory `/tmp/.pcmcia': Is a directory
expected rm: cannot remove `/tmp/.pcmcia': ...
2002-07-20 05:36:59 +00:00
Jim Meyering
e724268ea5
quotemeta
2002-07-19 22:01:43 +00:00
Jim Meyering
748de084cc
*** empty log message ***
2002-07-19 21:36:56 +00:00
Jim Meyering
7ca9560caf
Add .wav.
2002-07-19 21:36:46 +00:00
Jim Meyering
6c38ff8431
*** empty log message ***
2002-07-19 21:35:56 +00:00
Jim Meyering
b6389794e2
Don't expect `ARGV_0=$0 exec ...' to work.
...
It doesn't work with /bin/sh of Solaris5.6.
Use an explicit `export ARGV_0' instead.
[comparing actual and expected output]: Don't match the entire line,
but rather just the `rm: cannot remove `$dir/$f':' part.
2002-07-19 21:35:48 +00:00
Jim Meyering
29c8739e95
Use input-tty rather than testing for /dev/stdin.
2002-07-19 21:12:23 +00:00
Jim Meyering
767a8b968e
*** empty log message ***
2002-07-19 20:26:28 +00:00
Jim Meyering
5db1ff6873
*** empty log message ***
2002-07-19 20:25:46 +00:00
Jim Meyering
164e61fbb9
tweak for better exit
2002-07-19 20:22:59 +00:00
Jim Meyering
4a8560e2a0
.
2002-07-19 19:42:31 +00:00
Jim Meyering
d4439bcbf4
update from master
2002-07-18 20:44:25 +00:00
Jim Meyering
af37865370
*** empty log message ***
2002-07-18 18:38:28 +00:00
Jim Meyering
3c26c805a7
*** empty log message ***
2002-07-18 18:35:47 +00:00
Jim Meyering
a19f9253c4
(main): Test sysctl(...) >= 0, not == 0, since
...
on NetBSD the return value may well be positive.
Use one-line aggregate initializations.
Use tightly scoped static buffers to avoid warnings about
unused variables on some systems.
2002-07-18 18:35:42 +00:00
Jim Meyering
510f7bfe87
(UNAME_HARDWARE_PLATFORM, UNAME_PROCESSOR): New macros.
...
(main): Use them, along with sysctl, to support uname -i and uname -p
on BSD hosts.
2002-07-18 18:28:53 +00:00
Jim Meyering
283c81ccdd
.
2002-07-18 15:29:53 +00:00
Jim Meyering
80206d9811
(Makefile): Also depend on LINGUAS.
2002-07-18 09:46:38 +00:00
Jim Meyering
c696260961
*** empty log message ***
2002-07-18 09:34:52 +00:00
Jim Meyering
dadffbebca
*** empty log message ***
2002-07-18 09:33:48 +00:00
Jim Meyering
2ea4083a64
*** empty log message ***
2002-07-18 09:28:45 +00:00
Jim Meyering
a536063677
Add the following to the list of colorizable
...
TERM names: dtterm xterm-color Eterm.
New archive suffix: .jar
New image suffixes: .jpeg .pbm .pgm .tiff .mpeg .xcf .xwd
Audio suffixes: .ogg .mp3
2002-07-18 09:28:41 +00:00
Jim Meyering
570e8c45fe
*** empty log message ***
2002-07-17 15:35:22 +00:00
Jim Meyering
37bbc4c47f
(print_uptime): Restore use of (equivalent, but
...
more readable) `>=' from Bruno's patch.
2002-07-17 10:59:54 +00:00
Jim Meyering
5486771381
.
2002-07-17 10:50:19 +00:00
Jim Meyering
9ee956a2f7
Use GNULIB_BOOT_TIME.
2002-07-17 10:49:46 +00:00
Jim Meyering
15b923a271
New file. Extracted from sh-utils' configure.ac
...
and extended to work also with *BSD systems.
2002-07-17 10:47:46 +00:00
Jim Meyering
6080be6701
*** empty log message ***
2002-07-16 09:49:43 +00:00
Jim Meyering
3474b1e642
*** empty log message ***
2002-07-16 09:42:43 +00:00
Jim Meyering
a96affa5e1
use $(PERL), not @PERL@
2002-07-16 09:37:41 +00:00
Jim Meyering
d85c0c81fa
*** empty log message ***
2002-07-16 09:29:56 +00:00
Jim Meyering
6978ba6736
(print_it): Use memcpy and a little pointer arithmetic, rather than stpncpy.
2002-07-16 09:29:52 +00:00
Jim Meyering
753bb04a60
.
2002-07-16 06:53:00 +00:00
Jim Meyering
99bf17613b
*** empty log message ***
2002-07-16 06:51:20 +00:00
Jim Meyering
c7a1d7f58f
help font-lock-mode
2002-07-16 06:49:50 +00:00
Jim Meyering
b23214fca0
*** empty log message ***
2002-07-16 06:46:19 +00:00
Jim Meyering
ce0f0e7e12
*** empty log message ***
2002-07-15 21:08:48 +00:00
Jim Meyering
52b40984a2
Include sys/sysctl.h.
...
(print_uptime): Add support for determining the boot time on FreeBSD.
2002-07-15 21:08:21 +00:00
Jim Meyering
eba70ec3a5
*** empty log message ***
2002-07-15 21:07:30 +00:00
Jim Meyering
9d348b20ef
(jm_MACROS): Check for the sysctl function.
...
(jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
2002-07-15 21:06:21 +00:00
Jim Meyering
34e8e6db03
*** empty log message ***
2002-07-15 20:43:48 +00:00
Jim Meyering
b918fce9a6
(print_uptime): Use STREQ in place of !strcmp.
2002-07-15 20:42:43 +00:00
Jim Meyering
02bdcf7646
Remove unnecessary uses of `defined' when
...
operating on `HAVE_...' symbols. Remove unnecessary parentheses.
2002-07-15 13:15:07 +00:00
Jim Meyering
cdcc745b6b
*** empty log message ***
2002-07-15 13:00:46 +00:00
Jim Meyering
33b79abe90
#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.
2002-07-15 13:00:40 +00:00
Jim Meyering
bac77ea3d9
Include <string.h>.
2002-07-15 12:59:47 +00:00
Jim Meyering
b65a2d1877
*** empty log message ***
2002-07-14 12:39:24 +00:00
Jim Meyering
6e5c26da04
*** empty log message ***
2002-07-14 11:46:50 +00:00
Jim Meyering
ab4c1d5532
Under some circumstances, rm would fail due to a lack of
...
permissions, but give a misleading diagnostic like this:
rm: cannot chdir from `.' to `foo': Not a directory
(remove_dir): Detect the case in which unlinking a
non-directory fails with EPERM, and give an appropriate diagnostic.
2002-07-14 11:46:41 +00:00
Jim Meyering
7678915a9e
(TESTS): Add fail-eperm.
2002-07-13 09:24:13 +00:00
Jim Meyering
e5ee2e3aee
(print_it): Use xstrdup, not strdup.
...
Use strspn to avoid an explicit loop.
Use fputc rather than printf "\n".
Include quote.h.
(print_stat): Use xreadlink, rather than using readlink directly.
Use the quote function rather than hard-coded double quotes.
Use error, not perror.
2002-07-13 08:05:04 +00:00
Jim Meyering
902453fc35
*** empty log message ***
2002-07-10 10:25:31 +00:00
Jim Meyering
545b6d7541
(show_dev): Make the `Use%' column align with
...
its heading, even when -P is used with -h or -H.
2002-07-10 10:22:10 +00:00
Jim Meyering
0fe8dc3290
update copyright
2002-07-10 10:09:10 +00:00
Jim Meyering
44ce3e4b3c
*** empty log message ***
2002-07-10 10:08:33 +00:00
Jim Meyering
2aeeb5466e
(du invocation): s/PAT/PATTERN/.
2002-07-10 10:08:22 +00:00
Jim Meyering
eb8c474088
Add a brief description of --exclude.
2002-07-10 10:06:39 +00:00
Jim Meyering
290867cc4a
(usage) [--exclude]: Use PATTERN rather than PAT.
2002-07-10 10:05:32 +00:00
Jim Meyering
4e2a62ff5e
*** empty log message ***
2002-07-10 10:05:13 +00:00
Jim Meyering
a1e22df67a
update from master
2002-07-09 15:41:05 +00:00
Jim Meyering
703f6c0969
*** empty log message ***
2002-07-09 08:40:23 +00:00
Jim Meyering
00489c764a
(ME_DUMMY): Don't count entries of type `auto' as dummy ones.
...
At least on GNU/Linux systems, `auto' means something else.
From Michael Stone.
2002-07-09 08:40:15 +00:00
Jim Meyering
6b33fa2fc6
(check-x-vs-1): cd to srcdir before running the ls.
...
Otherwise, it'd fail in the non-srcdir case.
2002-07-09 07:48:30 +00:00
Jim Meyering
01fb2d0ba8
.
2002-07-09 07:31:29 +00:00
Jim Meyering
d072c179a7
alphabetize the lists of programs
2002-07-09 07:30:44 +00:00
Jim Meyering
c77361418f
add cat.1, once again
2002-07-09 07:27:27 +00:00
Jim Meyering
ca407c08fa
*** empty log message ***
2002-07-09 07:26:49 +00:00
Jim Meyering
ffffb388a0
*** empty log message ***
2002-07-09 07:26:38 +00:00
Jim Meyering
744750ded3
(check-x-vs-1): New target.
...
(check-local): Depend on check-x-vs-1.
2002-07-09 07:25:40 +00:00
Jim Meyering
a879a0925f
(dist_man_MANS): Add stat.
...
(stat.1): Add dependency.
2002-07-09 06:55:05 +00:00
Jim Meyering
56a4c59e60
(euidaccess): Remove declaration. It was unused. From Michael Stone.
...
(yesno): Remove declaration. It too was unused.
2002-07-09 06:38:19 +00:00
Jim Meyering
a1d54b2837
*** empty log message ***
2002-07-08 17:15:28 +00:00
Jim Meyering
1882eec679
df now rounds all quantities up, as per POSIX.
...
This fixes a bug where df would report Size < Used.
2002-07-08 17:15:19 +00:00
Jim Meyering
67bf6815c4
df now rounds all quantities up, as per POSIX.
...
This fixes a bug where df would report Size < Used.
(df_readable): Omit last arg; we always round up now.
All callers changed.
2002-07-08 17:03:36 +00:00
Jim Meyering
dc0221e601
s/sh-utils/this package/
2002-07-08 12:29:34 +00:00
Jim Meyering
ffceff850d
(uninstall-local): Search for @GNU_PACKAGE@,
...
rather than the hard-coded `sh-utils'.
2002-07-08 12:26:59 +00:00
Jim Meyering
af75d641d4
*** empty log message ***
2002-07-08 09:13:33 +00:00
Jim Meyering
647eaf53a8
New ls time style: long-iso, which generates YYYY-MM-DD HH:MM.
...
Any time style can be preceded by "posix-".
The default time style is now posix-long-iso instead of posix-iso.
2002-07-08 09:13:12 +00:00
Jim Meyering
01eacf71cb
(enum time_style): Remove posix_iso_time_style.
...
Add long_iso_time_style.
(time_style_args, time_style_types, decode_switches): Likewise.
(decode_switches): If a time style is prefixed by "posix-", ignore
it if in the POSIX locale. Default style is now posix-long-iso.
(usage): Explain the above.
2002-07-08 09:12:48 +00:00
Jim Meyering
cebf7f7371
check only for $@"
2002-07-08 08:04:08 +00:00
Jim Meyering
a18abe21f7
*** empty log message ***
2002-07-08 08:01:23 +00:00
Jim Meyering
ce7f59f2ff
*** empty log message ***
2002-07-08 07:09:21 +00:00
Jim Meyering
e289e5c881
(check-texinfo): Check for the above.
2002-07-08 07:08:59 +00:00
Jim Meyering
a72662ed6b
(cp invocation): Remove unnecessary "$@" in example;
...
Texinfo would render the @" as an umlaut over the following character.
From Paul Eggert.
2002-07-08 07:07:52 +00:00
Jim Meyering
89eb405076
.
2002-07-06 15:37:12 +00:00
Jim Meyering
a6b74b8947
*** empty log message ***
2002-07-06 15:36:23 +00:00
Jim Meyering
5a6436bf38
*** empty log message ***
2002-07-06 15:35:29 +00:00
Jim Meyering
593a07614a
(stat invocation): Remove description of --secure.
2002-07-06 15:35:24 +00:00
Jim Meyering
d815f6dbb7
Remove everything associated with --secure option.
2002-07-06 15:34:32 +00:00
Jim Meyering
512de3938e
comments
2002-07-06 09:53:57 +00:00
Jim Meyering
66f8c36584
improve the test
2002-07-06 09:53:14 +00:00
Jim Meyering
49d3f4be1a
*** empty log message ***
2002-07-06 09:16:56 +00:00
Jim Meyering
0dc6b951d8
*** empty log message ***
2002-07-04 12:07:29 +00:00
Jim Meyering
665089a167
*** empty log message ***
2002-07-04 12:07:23 +00:00
Jim Meyering
2afe4a1677
(prompt): Fix test for write-protectedness to also
...
check errno == EACCES. Otherwise, `rm dangling-symlink' would
mistakenly prompt.
2002-07-04 12:06:49 +00:00
Jim Meyering
b645ebf086
*** empty log message ***
2002-07-04 12:06:18 +00:00
Jim Meyering
99c8e3f461
(TESTS): Add dangling-symlink.
2002-07-04 12:06:08 +00:00
Jim Meyering
81cae5ce24
*** empty log message ***
2002-07-04 12:05:00 +00:00
Jim Meyering
dd2496d71e
*** empty log message ***
2002-07-04 12:04:37 +00:00
Jim Meyering
8a7ec6fa52
*** empty log message ***
2002-07-03 08:45:18 +00:00
Jim Meyering
973f88bd7d
*** empty log message ***
2002-07-03 08:44:59 +00:00
Jim Meyering
27195acdb6
(usage): Rename --link/-l to --dereference/-L.
...
Describe --secure.
Describe --format.
(main): Support -L. Deprecate -l.
2002-07-03 08:44:55 +00:00
Jim Meyering
421c142235
*** empty log message ***
2002-07-03 08:44:34 +00:00
Jim Meyering
8d7c1bb101
(stat invocation): Rename --link/-l to --dereference/-L.
...
Rewrite description of --dereference.
2002-07-03 08:44:27 +00:00
Jim Meyering
4afd8a87cd
*** empty log message ***
2002-07-03 08:41:56 +00:00
Jim Meyering
41fe641773
add link and unlink
2002-07-02 16:20:54 +00:00
Jim Meyering
33c2d4da98
.
2002-07-02 16:20:10 +00:00
Jim Meyering
40d884ef95
*** empty log message ***
2002-07-02 16:19:46 +00:00
Jim Meyering
99e738219b
*** empty log message ***
2002-07-02 14:56:32 +00:00
Jim Meyering
51e63eddf4
remove djgpp
2002-07-02 14:06:37 +00:00
Jim Meyering
3f1725cd4a
.
2002-07-02 14:05:35 +00:00
Jim Meyering
bde17523a9
*** empty log message ***
2002-07-02 09:15:50 +00:00
Jim Meyering
fa6c1e3f51
.
2002-07-02 09:13:10 +00:00
Jim Meyering
b5e07cb9e8
*** empty log message ***
2002-07-02 09:12:42 +00:00
Jim Meyering
2ee11887cd
(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.
2002-07-02 09:09:10 +00:00
Jim Meyering
6d0fe4dba5
*** empty log message ***
2002-07-02 09:08:30 +00:00
Jim Meyering
5a731510b2
(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.
2002-07-02 09:06:33 +00:00
Jim Meyering
d23970e52e
(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.
2002-07-02 09:05:33 +00:00
Jim Meyering
4c7e003c1b
.
2002-07-02 09:02:16 +00:00
Jim Meyering
4262ada1bd
.
2002-07-02 09:01:53 +00:00
Jim Meyering
f4bb64378d
(EXTRA_DIST): Merge.
2002-07-02 08:59:21 +00:00
Jim Meyering
d3ddaf1b29
*** empty log message ***
2002-07-02 08:47:01 +00:00
Jim Meyering
16cec7b66e
(.sh): Also substitute @PACKAGE_BUGREPORT@.
2002-07-02 08:46:46 +00:00
Jim Meyering
9d6d0e452b
(usage_help): Use @PACKAGE_BUGREPORT@, rather than hard-coding a
...
deprecated address.
2002-07-02 08:45:10 +00:00
Jim Meyering
c16552eee5
(usage): Use @PACKAGE_BUGREPORT@, rather than hard-coding a deprecated address.
2002-07-02 08:44:52 +00:00
Jim Meyering
e2003dea4b
(usage): Mention that the expansions of %p and %P are
...
empty in many locales. From matthew arnison.
2002-07-02 05:20:52 +00:00
Jim Meyering
7f412c940d
merged
2002-07-01 21:26:55 +00:00
Jim Meyering
4b42154477
s/any/some/
2002-07-01 21:15:13 +00:00
Jim Meyering
dc58af4acf
remove redundant (exit $fail)
2002-07-01 19:15:49 +00:00
Jim Meyering
58c37faa5c
Handle yet another different diagnostic.
2002-07-01 14:36:57 +00:00
Jim Meyering
bec7e2c432
*** empty log message ***
2002-07-01 14:23:28 +00:00
Jim Meyering
214d3ee739
Include sys/time.h.
...
From Volker Borchert.
2002-07-01 14:19:20 +00:00
Jim Meyering
a7d1d17be0
update to use prologue from sample-test
2002-07-01 09:41:20 +00:00
Jim Meyering
7039e40db2
whoops.
2002-07-01 09:25:02 +00:00
Jim Meyering
c69f2e06ce
merge
2002-07-01 09:24:34 +00:00
Jim Meyering
48ed048feb
*** empty log message ***
2002-07-01 09:09:06 +00:00
Jim Meyering
abb32bb0ae
Merge the three files from fileutils, textutils, and sh-utils.
2002-07-01 08:13:49 +00:00
Jim Meyering
5ad73398f4
Merge the three files from fileutils, textutils, and sh-utils.
2002-07-01 08:08:43 +00:00
Jim Meyering
e6b4ef7f1d
*** empty log message ***
2002-06-29 13:08:16 +00:00
Jim Meyering
a9a425d557
(print_statfs): Use `fputc ('*', stdout)'
...
instead of the combination of strcat and printf.
(print_statfs) [!FLASK_LINUX]: Print `*' for %S and %C, rather than `S' and `C'.
(print_stat) [!FLASK_LINUX]: Likewise.
2002-06-29 13:08:08 +00:00
Jim Meyering
83df3a8165
*** empty log message ***
2002-06-29 11:50:48 +00:00
Jim Meyering
9eea5b03dd
(AD_mark_current_as_unremovable): Replace dead code with an assertion.
2002-06-29 11:50:38 +00:00
Jim Meyering
b31006ba99
*** empty log message ***
2002-06-26 07:38:23 +00:00
Jim Meyering
de19a1af57
(Putting the tools together): Don't mention egrep,
...
since it's not part of POSIX 1003.1-2001.
2002-06-26 07:38:18 +00:00
Jim Meyering
3ba3282be5
*** empty log message ***
2002-06-26 06:18:04 +00:00
Jim Meyering
0d051ba221
(WIDE_CHAR_SUPPORT): New macro. Use it uniformly instead of
...
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H).
It also uses HAVE_BTOWC, to fix a porting bug on Solaris 2.5.1
reported by Vin Shelton.
2002-06-26 06:17:35 +00:00
Jim Meyering
8020e5b1e3
*** empty log message ***
2002-06-26 06:16:13 +00:00
Jim Meyering
074e29a651
(_AC_LIBOBJ_FNMATCH): Check for btowc.
2002-06-26 06:16:05 +00:00
Jim Meyering
5da70319a7
from libc
2002-06-26 06:13:24 +00:00
Jim Meyering
8ac1a9f278
*** empty log message ***
2002-06-25 08:21:13 +00:00
Jim Meyering
6e78c788f0
(prompt): Add a comment to help translators work
...
around the problem of making the translations of the adjective
`write-protected' and the corresponding run-time-variable noun
(e.g., file, directory, symlink, etc.) consistent. From Paul Eggert.
2002-06-25 08:21:07 +00:00
Jim Meyering
35f99d5347
*** empty log message ***
2002-06-24 11:12:56 +00:00
Jim Meyering
de1abda345
*** empty log message ***
2002-06-24 10:56:55 +00:00
Jim Meyering
e6d1f21ea6
(usage): Add missing open-quote.
2002-06-24 10:56:50 +00:00
Jim Meyering
2223ca3c2d
*** empty log message ***
2002-06-24 10:39:37 +00:00
Jim Meyering
4605ddcc95
*** empty log message ***
2002-06-22 18:08:52 +00:00
Jim Meyering
4dcdd8be06
*** empty log message ***
2002-06-22 18:08:10 +00:00
Jim Meyering
67e6f0f233
*** empty log message ***
2002-06-22 18:03:44 +00:00
Jim Meyering
8965df82d1
(ISASCII, ISPRINT): Undefine, to avoid warning about
...
redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h.
2002-06-22 18:03:40 +00:00
Jim Meyering
453257fa71
*** empty log message ***
2002-06-22 16:20:19 +00:00
Jim Meyering
9e7746f4c0
(segv_handler, c_stack_action) [! defined SA_SIGINFO]:
...
Do not assume SA_SIGINFO behavior.
Bug reported by Jim Meyering on NetBSD 1.5.2.
2002-06-22 16:20:15 +00:00
Jim Meyering
7721a2148a
*** empty log message ***
2002-06-22 10:11:25 +00:00
Jim Meyering
64a1747ac5
Update from diffutils-2.8.2.
2002-06-22 10:11:14 +00:00
Jim Meyering
2e53304940
.
2002-06-22 10:09:47 +00:00
Jim Meyering
299741bf33
*** empty log message ***
2002-06-22 10:09:33 +00:00
Jim Meyering
a715ff5d80
(libfetish_a_SOURCES): Add exitfail.c and exitfail.h.
2002-06-22 09:26:57 +00:00
Jim Meyering
e3dbc8d753
New files, from diffutils-2.8.2.
2002-06-22 09:25:36 +00:00
Jim Meyering
d8cfcf1a19
*** empty log message ***
2002-06-22 09:23:32 +00:00
Jim Meyering
7fc37adff9
(libfetish_a_SOURCES): Add c-stack.c, too.
2002-06-22 09:23:17 +00:00
Jim Meyering
53ba358c4b
New file, from diffutils-2.8.2.
2002-06-22 09:03:14 +00:00
Jim Meyering
f9114f866d
from diffutils-2.8.2
2002-06-22 09:01:22 +00:00
Jim Meyering
846b65a50e
(jm_PREREQ): Add jm_PREREQ_C_STACK.
2002-06-22 09:01:10 +00:00
Jim Meyering
6e8cd75ccf
*** empty log message ***
2002-06-22 08:55:43 +00:00
Jim Meyering
3a88e9055b
.
2002-06-22 08:54:28 +00:00
Jim Meyering
10ff1d4404
Update from diffutils-2.8.2.
2002-06-22 08:54:23 +00:00
Jim Meyering
fe02d6163d
.
2002-06-22 08:53:17 +00:00
Jim Meyering
6088c6dba5
*** empty log message ***
2002-06-22 08:53:02 +00:00
Jim Meyering
04c5110e59
(jm_PREREQ_EXCLUDE): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2002-06-22 08:52:56 +00:00
Jim Meyering
555d569125
* jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
...
now that configure.ac uses AC_GNU_SOURCE.
(jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2002-06-22 08:51:02 +00:00
Jim Meyering
ff6434052f
(libfetish_a_SOURCES): Add fnmatch_.h in place of fnmatch.h.
...
(EXTRA_DIST): Add fnmatch_loop.c.
2002-06-22 08:47:57 +00:00
Jim Meyering
c230b93ee1
.
2002-06-22 08:34:59 +00:00
Jim Meyering
06f7295ae7
*** empty log message ***
2002-06-22 08:32:50 +00:00
Jim Meyering
f35ad592ca
from diffutils-2.8.2.
2002-06-22 08:32:40 +00:00
Jim Meyering
8b213cb96f
Change each use of AC_CHECK_HEADERS(stdbool.h) to AC_HEADER_STDBOOL
2002-06-22 08:29:29 +00:00
Jim Meyering
1cbf3518b8
New file, from diffutils-2.8.2.
2002-06-22 08:27:18 +00:00
Jim Meyering
7d04e0b63c
Accommodate the slightly different diagnostic we
...
get on some systems, due to `unlink (dir)' failing with EACCES
rather than EPERM. E.g. for ReiserFS on Linux-2.4.18.
2002-06-22 06:49:57 +00:00
Jim Meyering
fb10c254d8
*** empty log message ***
2002-06-22 06:49:43 +00:00
Jim Meyering
003d4e0cbe
Update from gettext-0.11.2.
2002-06-21 21:23:01 +00:00
Jim Meyering
b3e0a2f188
*** empty log message ***
2002-06-21 17:42:12 +00:00
Jim Meyering
04bc254d7a
bump serial#
2002-06-21 17:42:06 +00:00
Jim Meyering
6d9cf68838
(jm_PREREQ_QUOTEARG): Reflect name change: s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2002-06-21 17:41:58 +00:00
Jim Meyering
442596279b
Reflect name change: s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2002-06-21 17:41:02 +00:00
Jim Meyering
04b4ee1245
Update from diffutils-2.8.2.
2002-06-21 17:38:30 +00:00
Jim Meyering
848d68e2c7
Add comment, from diffutils-2.8.2.
2002-06-21 15:39:12 +00:00
Jim Meyering
1e1836f7ca
*** empty log message ***
2002-06-21 15:29:28 +00:00
Jim Meyering
4877e7ad84
.
2002-06-21 15:21:49 +00:00
Jim Meyering
15606fc8a9
tiny tweaks
2002-06-21 13:20:39 +00:00
Jim Meyering
fc3520c6fc
(stat invocation): New section. From Michael Meskes.
2002-06-21 13:19:31 +00:00
Jim Meyering
0c788cabce
.
2002-06-21 12:48:36 +00:00
Jim Meyering
a170c7e497
*** empty log message ***
2002-06-21 12:48:06 +00:00
Jim Meyering
fff4a08af1
(wget-update): Checkout into config/.
...
Warn when skipping a file.
2002-06-21 12:48:00 +00:00
Jim Meyering
047ab72566
*** empty log message ***
2002-06-21 12:34:49 +00:00
Jim Meyering
3ec40eb458
*** empty log message ***
2002-06-21 12:34:44 +00:00
Jim Meyering
e2a70948d4
Include sys/statvfs.h.
...
[!HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H]: Include sys/param.h
and sys/mount.h, to get decl of struct statfs on NetBSD 1.5.2.
(NAMEMAX_FORMAT, STRUCT_STATVFS): Define.
(HAVE_STRUCT_STATXFS_F_TYPE, SB_F_NAMEMAX): Define.
Remove `static' attribute from decl of program_name.
(human_fstype): Use f_basetype or f_fstypename if available.
(print_human_time): Use nstrftime and an ISO format string, in
place of strftime with `%c'. The latter is too locale-dependent.
(print_statfs): Deal with lots of portability issues: some fields
are available only with statfs, others only with statvfs, and
some are available in both, but with different types.
(do_statfs) [DEFAULT_FORMAT_TERSE]: Factor out.
[DEFAULT_FORMAT_VERBOSE]: Likewise.
2002-06-21 12:34:36 +00:00
Jim Meyering
a905df79ad
.
2002-06-21 12:16:27 +00:00
Jim Meyering
0ab9ebc469
*** empty log message ***
2002-06-21 12:15:39 +00:00
Jim Meyering
807ad57ff1
*** empty log message ***
2002-06-21 12:13:51 +00:00
Jim Meyering
2b45b199f8
*** empty log message ***
2002-06-21 12:12:08 +00:00
Jim Meyering
ecbe7fb826
(jm_CHECK_ALL_HEADERS): Check for hurd.h.
2002-06-21 12:12:00 +00:00
Jim Meyering
071b36fd90
Change all `preserving ...' diagnostics to
...
`failed to preserve ...' to make the failure clearer.
2002-06-21 12:10:02 +00:00
Jim Meyering
d7313803f0
Include hurd.h.
...
(copy_internal): Preserve the stat.st_author field.
2002-06-21 12:06:17 +00:00
Jim Meyering
26ba37793c
*** empty log message ***
2002-06-21 07:20:49 +00:00
Jim Meyering
2f223b443c
(LOGIN_NAME_MAX): Define if not already defined.
...
(ID_LENGTH_MAX): Define.
(ST_DM_MODE): New macro. Code moved from...
(print_long_format): ...here.
(print_long_format): Itemize and comment the individual parts
of init_bigbuf. Use the above *_MAX macros.
2002-06-21 07:20:36 +00:00
Jim Meyering
7758b0efd3
Change defined(X)' syntax to defined X' in cpp directives.
2002-06-20 15:58:18 +00:00
Jim Meyering
343d7d4065
*** empty log message ***
2002-06-19 11:13:29 +00:00
Jim Meyering
f35cc0e4a0
Report an error if neither S_ISREG nor
...
S_IFREG is defined, instead of using a test specific to glibc
2.2. This should be safe, since POSIX requires S_ISREG and
Unix Version 7 had S_IFREG. We don't need to check for
<sys/types.h> since we don't use any symbols that it defines.
2002-06-19 11:12:59 +00:00
Jim Meyering
86adc7266e
Interpret a permissions string of
...
drwxr-xr-x (DOS/Windows) as meaning the cwd is not setgid.
Reported by Rich Dawe.
2002-06-17 07:06:29 +00:00
Jim Meyering
57db2c8659
*** empty log message ***
2002-06-17 07:06:19 +00:00
Jim Meyering
6d797a5b97
use newer testing framework
2002-06-16 19:18:22 +00:00
Jim Meyering
3d16018d2e
*** empty log message ***
2002-06-15 16:04:16 +00:00
Jim Meyering
6a4bcbb5d6
Include <sys/types.h> before system.h.
2002-06-15 16:03:57 +00:00
Jim Meyering
240330ca78
*** empty log message ***
2002-06-15 14:05:31 +00:00
Jim Meyering
719c68fe2e
ls --author
2002-06-15 14:05:25 +00:00
Jim Meyering
34f5f485be
*** empty log message ***
2002-06-15 13:43:20 +00:00
Jim Meyering
dc70d62988
*** empty log message ***
2002-06-15 13:42:54 +00:00
Jim Meyering
75dedb9944
(jm_CHECK_ALL_TYPES): Check for st_author.
2002-06-15 13:42:22 +00:00
Jim Meyering
45f4bb1290
(st_author) [! HAVE_STRUCT_STAT_ST_AUTHOR]: New macro.
...
(print_author): New var.
(AUTHOR_OPTION): New enum val.
(long_options, decode_switches, print_long_format, usage):
Support --author.
(format_user): New function.
(print_long_format): Use it. Make print buffer a bit bigger.
2002-06-15 13:41:46 +00:00
Jim Meyering
dda6cbbb1c
*** empty log message ***
2002-06-15 13:26:42 +00:00
Jim Meyering
4c52326d70
(ls invocation): Document new option: --author.
2002-06-15 13:26:38 +00:00
Jim Meyering
2fd73898d2
use trap stuff from sample-test
2002-06-15 10:19:36 +00:00
Jim Meyering
4726bde475
use trap stuff from sample-test
2002-06-15 10:17:35 +00:00
Jim Meyering
a44fd51a81
now that $tmp has two components, use mkdir's -p option to create it
2002-06-15 10:16:22 +00:00
Jim Meyering
35e9b38dd8
now that $tmp has two components, use mkdir's -p option to create it
2002-06-15 10:15:00 +00:00
Jim Meyering
a2e113a2db
use trap stuff from sample-test
2002-06-15 10:04:30 +00:00
Jim Meyering
767aa7bf70
use trap stuff from sample-test
2002-06-15 09:58:37 +00:00
Jim Meyering
9234b6f7e0
*** empty log message ***
2002-06-15 09:54:28 +00:00
Jim Meyering
77bc22f77a
(trap): in chmod, use u+rwx, not 700
2002-06-15 09:54:08 +00:00
Jim Meyering
646e37ff59
*** empty log message ***
2002-06-15 09:46:43 +00:00
Jim Meyering
bf7c8ba557
(trap): Make sure the temporary hierarchy is writable before removing it.
2002-06-15 09:46:32 +00:00
Jim Meyering
59f339c1f8
Use better trap.
...
trap 'status=$?; cd $pwd; chmod -R 700 $t0; rm -rf $t0 && exit $status' 0
2002-06-15 09:45:05 +00:00
Jim Meyering
2309be536f
Use quoted here doc by default,
...
so e.g., backticks don't need to be escaped.
2002-06-15 09:41:47 +00:00
Jim Meyering
14c7cfea4c
(TESTS): Add perm-1.
2002-06-15 09:40:25 +00:00
Jim Meyering
6f809229ef
*** empty log message ***
2002-06-15 09:40:07 +00:00
Jim Meyering
f09cbdc4b4
*** empty log message ***
2002-06-15 08:47:55 +00:00
Jim Meyering
ef159d5cdb
.
2002-06-15 08:47:25 +00:00
Jim Meyering
58e6f3d386
*** empty log message ***
2002-06-15 08:47:12 +00:00
Jim Meyering
39237a241f
(lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t,
...
so that each temporary file name is unique and valid in the first
8 characters, for operation under DOS.
2002-06-15 08:46:59 +00:00
Jim Meyering
8ba0cddae4
(FILE_TYPE_H): Guard entire contents with #ifndef.
...
For GNU libc 2.2 and newer, ensure that <sys/types.h> and <sys/stat.h>
have been included before this file.
2002-06-15 08:43:45 +00:00
Jim Meyering
13221a5a13
For GNU libc 2.2 and newer, ensure that <sys/types.h>
...
has been included before this file.
2002-06-15 08:40:55 +00:00
Jim Meyering
3351c8aada
.
2002-06-15 08:04:23 +00:00
Jim Meyering
19548deac9
Change temp file names to accommodate DOS 8.3 file name limitation.
2002-06-15 08:03:24 +00:00
Jim Meyering
ff43f6b441
Change temp. file name: s/\.err/_err/, for DOS.
2002-06-15 08:02:16 +00:00
Jim Meyering
1d51d96e1e
Change temp file names to accommodate DOS 8.3 file name limitation.
2002-06-15 08:01:41 +00:00
Jim Meyering
140f272a56
Remove leading `.' from temp. names.
2002-06-15 08:01:20 +00:00
Jim Meyering
9da59fff0d
Change temp file names to accommodate DOS 8.3 file name limitation.
2002-06-15 07:56:40 +00:00
Jim Meyering
06b1f74288
*** empty log message ***
2002-06-15 07:37:29 +00:00
Jim Meyering
dbb90872ee
(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.
2002-06-15 07:37:21 +00:00
Jim Meyering
cb8155615a
(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.
2002-06-15 07:36:57 +00:00
Jim Meyering
b29576f01f
*** empty log message ***
2002-06-15 06:54:05 +00:00
Jim Meyering
d404816448
(S_ISNAM): Add to list of S_IS* macros.
...
Rearrange #if directives for each S_IS macro.
From diffutils-2.8.2.
2002-06-15 06:53:57 +00:00
Jim Meyering
02d8535f9e
*** empty log message ***
2002-06-14 07:53:01 +00:00
Jim Meyering
dfe88896b5
Use the version from diffutils-2.8.2.
2002-06-14 07:52:32 +00:00
Jim Meyering
0f19d3650b
update from master sources
2002-06-13 09:30:02 +00:00
Jim Meyering
10c95a54b5
tweak expected message
2002-06-12 08:02:12 +00:00
Jim Meyering
f849e0aaac
(do_move): Give one diagnostic, not two, when unable to
...
unlink a destination file. This bug was introduced in fileutils-3.16l.
$ /bin/mv /etc/passwd /tmp
/bin/mv: cannot unlink `/etc/passwd': Permission denied
/bin/mv: cannot remove `/etc/passwd': Permission denied
[Exit 1]
2002-06-12 08:01:48 +00:00
Jim Meyering
7e6aff288f
(rm): Fix typo in assertion.
2002-06-12 08:00:50 +00:00
Jim Meyering
c5b3b8e2b6
tweak output: s/ directory//
2002-06-07 14:57:19 +00:00
Jim Meyering
e20a6cfb82
*** empty log message ***
2002-06-07 14:49:33 +00:00
Jim Meyering
bae1890d5b
Also accept the permission-denied diagnostic
...
issued by some losing systems. Reported by Volker Borchert.
2002-06-07 14:49:21 +00:00
Jim Meyering
b2816db207
.
2002-06-07 14:44:02 +00:00
Jim Meyering
2e6f8bf01e
*** empty log message ***
2002-06-07 14:43:41 +00:00
Jim Meyering
a3eb51b0e2
(jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
...
They're needed at least for NetBSD 1.5.2.
($statxfs_includes): Include those same headers.
($statxfs_includes): Include sys/vfs.h if available.
($statxfs_includes): Likewise for sys/statvfs.h.
Check for the following members in both structs statfs and statvfs:
f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2002-06-07 14:43:36 +00:00
Jim Meyering
6d3ea70cf7
*** empty log message ***
2002-06-07 14:39:21 +00:00
Jim Meyering
b965b62436
(remove_entry): Use DT_IS_DIR only if
...
HAVE_STRUCT_DIRENT_D_TYPE is defined.
2002-06-07 14:39:09 +00:00
Jim Meyering
8bd3e55a54
.
2002-06-06 07:48:26 +00:00
Jim Meyering
cb93da5115
*** empty log message ***
2002-06-03 11:07:02 +00:00
Jim Meyering
9897e1994c
(rm invocation): Add the warning (also in the --help output)
...
that the contents of a removed file are often recoverable.
2002-06-03 11:06:58 +00:00
Jim Meyering
52fc0276d7
*** empty log message ***
2002-06-02 21:30:07 +00:00
Jim Meyering
ce73721712
(enum RM_status) [RM_NONEMPTY_DIR]: New member.
...
(UPDATE_STATUS): New macro.
Include save-cwd.h.
(struct File_spec): Remove declaration.
Update prototypes.
2002-06-02 21:28:41 +00:00
Jim Meyering
0f6d0c6016
(main): Adapt to new calling sequence for rm.
2002-06-02 20:50:33 +00:00
Jim Meyering
a4b18d8961
(do_move): Adapt to new calling sequence for rm.
2002-06-02 20:50:20 +00:00
Jim Meyering
fb205872c1
Merge in all changes from no-recursion branch.
...
* src/remove.c (enum Ternary): Define type.
(prompt): Add a parameter. Adjust callers.
(remove_entry): Attempt rmdir here, only if a directory is
`known' to be empty. Significant rework.
(remove_dir): Propagate failure `up' also when rmdir fails.
In interactive mode, prompt only once about an empty directory.
* src/remove.c (enum Prompt_action): Define.
(prompt): Two new parameters. Adjust all callers.
Performance.
* src/remove.c (remove_entry) [!ROOT_CAN_UNLINK_DIRS]:
Don't call rmdir here.
* src/remove.c (AD_pop_and_chdir): Don't use errno (it's not valid)
in diagnostic for changed dev/ino.
(remove_entry): Tweak diagnostic.
* src/remove.c (ROOT_CAN_UNLINK_DIRS): Define.
(AD_pop_and_chdir): Propagate status as we traverse back `up' the tree.
(DO_UNLINK, DO_RMDIR): Define.
(remove_entry) [ROOT_CAN_UNLINK_DIRS]: Add code so this works also on
systems where root can use `unlink' to remove directories.
* src/remove.c: Include file-type.h.
Include file type in prompt when asking whether to remove file.
Based on a patch from Paul Eggert.
* src/remove.c (prompt): Add comment.
* src/remove.c (remove_dir): Fix another (known) leak.
* src/remove.c (hash_freer): New function.
(AD_mark_helper): Use it.
(AD_mark_as_unremovable): xstrdup the filename argument.
(remove_dir): Free directory name.
* src/remove.c (remove_entry): Fail also when trying to remove a
directory without the --recursive option.
Change a diagnostic, s/unlink/remove/, now that it can apply also
to a directory.
* src/remove.c (is_empty_dir): New function.
(prompt): New function, factored out of...
(remove_entry): ...here. Call it.
(remove_dir): Call prompt before rmdir.
* src/remove.c (remove_entry): Add support for prompting (e.g., -i).
* src/remove.h (UPDATE_STATUS): New macro.
* src/remove.c [AD_ent] (status): New member. This lets us propagate
the status from a subdirectory to its parent via AD_pop_and_chdir.
(AD_push_initial): Set it.
(AD_push): Likewise.
(remove_cwd_entries): Change return type to enum RM_status, and
adjust all callers.
(rm): Use UPDATE_STATUS rather than open-coding it.
* src/remove.c (remove_entry): New function, factored out of...
(remove_cwd_entries): ...here, and...
(rm_1): ...here.
* src/remove.c (remove_cwd_entries): Add support for --verbose.
(remove_dir): Likewise.
(rm_1): Likewise.
* src/remove.c (rm): Free cwd_state, if necessary.
* src/remove.c (rm_1): Remove now useless (always true)
user_specified_name parameter. Adjust sole caller.
* src/remove.c (rm): New function. This interface allows
one to remove multiple arguments at a time. This is important in
that it allows us to hide the remove_init/remove_fini functions and
the cwd_state parameter.
(rm_1): Renamed from rm.
(remove_init, remove_fini): Remove functions. Each body is now
part of `rm'.
2002-06-02 20:49:03 +00:00
Jim Meyering
a4ff1d036d
*** empty log message ***
2002-06-02 20:45:46 +00:00
Jim Meyering
26693888de
.
2002-06-02 20:39:20 +00:00
Jim Meyering
63a8743830
(TESTS): Add rm5.
2002-06-02 20:39:00 +00:00
Jim Meyering
2ef6aec8ce
Adjust, now that we no longer report `removing all entries of directory ...'.
2002-06-02 20:37:43 +00:00
Jim Meyering
d38d008a1d
adjust
2002-06-02 20:36:19 +00:00
Jim Meyering
09184490e9
don't give a diagnostic about each parent
2002-06-02 20:35:07 +00:00
Jim Meyering
c27d78e6e0
*** empty log message ***
2002-06-01 09:38:48 +00:00
Jim Meyering
3b96dac1d7
Remove use of D_TYPE_IN_DIRENT, now that that symbol has been renamed.
2002-06-01 09:38:41 +00:00
Jim Meyering
c96356eba9
*** empty log message ***
2002-06-01 09:37:58 +00:00
Jim Meyering
1d478cbd05
(jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
...
s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
2002-06-01 09:37:53 +00:00
Jim Meyering
10d0bbfbc7
*** empty log message ***
2002-06-01 08:41:31 +00:00
Jim Meyering
76c7142a55
*** empty log message ***
2002-05-30 07:50:19 +00:00
Jim Meyering
e913eebe7c
(copy_reg): Use a temporary to avoid a warning
...
from gcc -W about comparison between signed and unsigned.
(copy_internal): Likewise, but use a cast.
2002-05-30 07:49:56 +00:00
Jim Meyering
79278d0cad
.
2002-05-29 13:16:40 +00:00
Jim Meyering
8af3bb0443
more acronyms
2002-05-28 10:03:56 +00:00
Jim Meyering
e8b70f2823
*** empty log message ***
2002-05-28 08:50:57 +00:00
Jim Meyering
79e4cbd57a
(jm_FUNC_READDIR): Undefine mkdir', not rmdir'.
2002-05-28 08:50:53 +00:00
Jim Meyering
0057fa16a4
use a better test
2002-05-27 21:38:21 +00:00
Jim Meyering
924d623ac8
*** empty log message ***
2002-05-27 20:05:16 +00:00
Jim Meyering
636fceb22a
Use @acronym in place of most uses of @sc.
2002-05-27 20:05:03 +00:00
Jim Meyering
ab0ab21b2e
(check-texinfo): Adapt to reflect that now we use @acronym{POSIX}.
2002-05-27 20:01:03 +00:00
Jim Meyering
625d533476
*** empty log message ***
2002-05-27 16:44:12 +00:00
Jim Meyering
2eef2b57dd
(AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace localtime.
2002-05-27 16:44:07 +00:00
Jim Meyering
faa8bced59
*** empty log message ***
2002-05-27 16:43:00 +00:00
Jim Meyering
d2be1268c4
Fix a problem seen only on nonconforming systems whereby ls.c's
...
use of localtime, and then of gettimeofday would cause trouble:
the localtime call used to initialize rpl_gettimeofday's save
mechanism would clobber ls's current local time information so
that in any long listing the first file would always be listed
with date 1970-01-01. Analysis by Volker Borchert.
(localtime): Undefine.
(rpl_localtime): New function.
2002-05-27 16:42:55 +00:00
Jim Meyering
c75c72a9fc
*** empty log message ***
2002-05-27 15:09:34 +00:00
Jim Meyering
fc1018de0e
(jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
...
use the replacement function; it wouldn't resolve at link time.
Reported by Volker Borchert.
2002-05-27 15:09:29 +00:00
Jim Meyering
7ec9be427c
*** empty log message ***
2002-05-26 15:29:17 +00:00
Jim Meyering
5e15547dad
Use @acronym in place of most uses of @sc.
2002-05-26 15:29:10 +00:00
Jim Meyering
e9f9963e6b
fix typo: s/S_TYPEISTMO/S_TYPEISMQ/
2002-05-25 22:42:05 +00:00
Jim Meyering
ad9071c4ba
fix typo
2002-05-25 22:39:13 +00:00
Jim Meyering
0ef5b0241e
remove typo
2002-05-25 22:39:07 +00:00
Jim Meyering
ef71f8a52d
Adapt for changed format of --verbose output.
2002-05-24 16:40:33 +00:00
Jim Meyering
4c9753bdf7
.
2002-05-24 14:09:45 +00:00
Jim Meyering
e8e002ad91
*** empty log message ***
2002-05-24 09:01:11 +00:00
Jim Meyering
36efe03850
*** empty log message ***
2002-05-24 08:59:17 +00:00
Jim Meyering
37877a3b9c
renamed from nice
2002-05-24 08:37:05 +00:00
Jim Meyering
81c4b1fcff
*** empty log message ***
2002-05-24 08:26:57 +00:00
Jim Meyering
516c58c84c
*** empty log message ***
2002-05-24 08:24:37 +00:00
Jim Meyering
f930c9ca0e
(validate_path): Compare the result of the function --
...
not its (constant) address -- against zero.
2002-05-24 08:24:29 +00:00
Jim Meyering
8e1915ff14
test for fix in 2.0.13
2002-05-24 08:23:19 +00:00
Jim Meyering
710a1bc347
*** empty log message ***
2002-05-24 07:41:19 +00:00
Jim Meyering
c55ed2c0a9
.
2002-05-23 07:02:11 +00:00
Jim Meyering
f08e272c8b
tweak for new diagnostics
...
add a nonempty file
2002-05-22 09:49:14 +00:00
Jim Meyering
c2e4117240
Include "file-type.h", etc.
2002-05-22 08:39:30 +00:00
Jim Meyering
90e0ba933e
*** empty log message ***
2002-05-22 08:38:33 +00:00
Jim Meyering
b2615f2b7f
*** empty log message ***
2002-05-22 08:38:30 +00:00
Jim Meyering
ae6d164b7a
.
2002-05-22 08:37:58 +00:00
Jim Meyering
0e7a38dbbe
(libfetish_a_SOURCES): Add file-type.c and file-type.h.
2002-05-22 08:37:35 +00:00
Jim Meyering
1be69adaeb
*** empty log message ***
2002-05-22 08:36:32 +00:00
Jim Meyering
925390f0bf
(S_ISREG, S_ISDIR): Define if not already defined.
...
(S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Likewise.
2002-05-22 08:35:31 +00:00
Jim Meyering
92255513cd
(file_type): New file/function. Extracted from diffutils.
2002-05-22 07:49:35 +00:00
Jim Meyering
42e9ac45ff
*** empty log message ***
2002-05-22 07:33:54 +00:00
Jim Meyering
eaa373aeb6
[struct dummy]: Renamed. Don't rely on portability of
...
zero-length arrays. Instead, use sizes of -1 or +1.
2002-05-22 07:33:43 +00:00
Jim Meyering
cea518eba5
*** empty log message ***
2002-05-21 23:15:19 +00:00
Jim Meyering
fdadb32d0a
(S_ISLNK, S_ISFIFO, S_ISSOCK, S_ISCHR, S_ISBLK, S_ISDOOR): Define here instead.
2002-05-21 23:15:05 +00:00
Jim Meyering
b2cb94b93c
(S_ISLNK, S_ISFIFO S_ISSOCK S_ISCHR S_ISBLK S_ISDOOR): Remove definitions.
2002-05-21 23:14:42 +00:00
Jim Meyering
c09bf755a6
.
2002-05-21 23:08:27 +00:00
Jim Meyering
137f240e4a
.
2002-05-21 23:02:51 +00:00
Jim Meyering
59d5765b0f
(TESTS): Add rm1, rm2, rm3, rm4.
2002-05-21 22:59:16 +00:00
Jim Meyering
0ded127f4c
.
2002-05-21 22:58:48 +00:00
Jim Meyering
205cfe4695
*** empty log message ***
2002-05-14 21:31:48 +00:00
Jim Meyering
24f18f089d
This bug was introduced with my change of 2000-10-22 (textutils-2.0.8).
...
(ulonglong_t): Move declaration to precede new use.
[enum size_spec] (N_SIZE_SPECS): New member.
(width_bytes): Add initializer corresponding to ulonglong_t type.
(struct assert_width_bytes_matches_size_spec_decl): Declare.
Based on a patch from Tony Kocurko.
2002-05-14 21:31:42 +00:00
Jim Meyering
61dd314ba4
*** empty log message ***
2002-05-14 21:22:57 +00:00
Jim Meyering
24a893ff63
undo last delta -- it belongs on the no-recursion branch
2002-05-13 08:50:50 +00:00
Jim Meyering
ef0776dddd
.
2002-05-13 08:50:15 +00:00
Jim Meyering
6095c9a3f8
*** empty log message ***
2002-05-12 21:47:24 +00:00
Jim Meyering
ebc0c4c72f
Add FIXME comment.
2002-05-03 11:46:59 +00:00
Jim Meyering
65e6baf5a9
(print_uptime): Fix last change so that we use ngettext properly.
2002-05-03 11:17:01 +00:00
Jim Meyering
072ec8dc77
(print_uptime): Use ngettext for day/days and user/users.
...
Suggestion from Karl Eichwalder.
2002-05-03 09:58:37 +00:00
Jim Meyering
ef8e614b04
*** empty log message ***
2002-05-03 08:13:18 +00:00
Jim Meyering
d51a8422a2
*** empty log message ***
2002-05-03 08:13:09 +00:00
Jim Meyering
7b53d3d127
(usage): Add a little to the description of --list.
...
Uncapitalize first word and remove period at end of each one line
option description.
2002-05-03 08:12:25 +00:00
Jim Meyering
36d90a4f13
*** empty log message ***
2002-05-03 06:57:52 +00:00
Jim Meyering
09d4a8f165
(usage): Tweak description of --users.
...
From Karl Eichwalder.
2002-05-03 06:57:43 +00:00
Jim Meyering
c7475ee11e
*** empty log message ***
2002-05-01 14:23:15 +00:00
Jim Meyering
2431a66944
.
2002-05-01 14:22:33 +00:00
Jim Meyering
b016bc2d4f
.
2002-05-01 11:49:03 +00:00
Jim Meyering
bdd9db581f
*** empty log message ***
2002-05-01 06:56:32 +00:00
Jim Meyering
29fbbc05c9
*** empty log message ***
2002-05-01 06:54:38 +00:00
Jim Meyering
2a061153f6
*** empty log message ***
2002-05-01 06:53:45 +00:00
Jim Meyering
8bbc4ca7ec
*** empty log message ***
2002-05-01 06:51:55 +00:00
Jim Meyering
56130b3231
*** empty log message ***
2002-04-30 09:45:48 +00:00
Jim Meyering
5a40d9ead2
(jm_PREREQ): Add jm_PREREQ_STAT.
2002-04-30 09:37:26 +00:00
Jim Meyering
13d897efcf
*** empty log message ***
2002-04-30 09:30:13 +00:00
Jim Meyering
0c4c742189
(keycompare, compare): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
...
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.
Include <langinfo.h> even if ! ENABLE_NLS.
(decimal_point, th_sep): Depend on HAVE_SETLOCALE, not ENABLE_NLS.
(main): Likewise.
(MONTHTAB_CONST): Remove; all uses removed.
(struct_month_cmp, inittables): Do not depend on ENABLE_NLS.
(main): hard_LC_TIME locale does not depend on ENABLE_NLS.
2002-04-30 09:29:45 +00:00
Jim Meyering
9d64f63aaa
(keycmp): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
...
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.
2002-04-30 09:25:37 +00:00
Jim Meyering
d7984a3fdb
(compare_files): Replace #ifdef ENABLE_NLS with if (HAVE_SETLOCALE).
...
(hard_LC_COLLATE): Define even if ! ENABLE_NLS.
(main): Always initialize hard_LC_COLLATE.
Put initialization next to other locale-related stuff.
2002-04-30 09:23:38 +00:00
Jim Meyering
17d3a3e28c
(HAVE_SETLOCALE): Define to 0 if not defined.
2002-04-30 09:21:21 +00:00
Jim Meyering
20ee294371
*** empty log message ***
2002-04-30 09:20:32 +00:00
Jim Meyering
6e40a95415
*** empty log message ***
2002-04-30 09:20:26 +00:00
Jim Meyering
24ad720079
(jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
...
Do not check for alloca.h (no longer used) or stdbool.h (was never
used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
2002-04-30 09:20:19 +00:00
Jim Meyering
bb3842917c
*** empty log message ***
2002-04-30 09:18:24 +00:00
Jim Meyering
9c46845348
Upgrade to version used in GNU Diffutils 2.8.1.
2002-04-30 09:17:50 +00:00
Jim Meyering
2cc5a65c0f
*** empty log message ***
2002-04-29 08:23:14 +00:00
Jim Meyering
15bef4ddb6
(tail_forever): Do not treat
...
max_n_unchanged_stats_between_opens specially (as if it were
infinite) if it has its maximal value. Similarly for
max_n_consecutive_size_changes_between_opens.
2002-04-29 08:23:06 +00:00
Jim Meyering
5ce88fe525
*** empty log message ***
2002-04-29 07:31:56 +00:00
Jim Meyering
676991e630
(parse_obsolescent_option): Do not limit the maximum
...
line/byte count to be less than ULONG_MAX on systems where
OFF_T_MAX is larger.
2002-04-29 07:30:57 +00:00
Jim Meyering
f3959d84d3
*** empty log message ***
2002-04-29 07:02:21 +00:00
Jim Meyering
86459445f9
*** empty log message ***
2002-04-29 07:01:34 +00:00
Jim Meyering
ad0f322065
(jm_PREREQ_SIG2STR): Remove; all callers changed.
2002-04-29 07:01:29 +00:00
Jim Meyering
735b546108
Do not include <sys/wait.h>; no longer needed.
2002-04-29 07:00:23 +00:00
Jim Meyering
94650aa4ba
(SIGNUM_BOUND): Do not use WTERMSIG, to avoid
...
depending on <sys/wait.h> and WTERMSIG. Default to 64 instead
of 127, since 64 is the largest conceivable number for ancient
nonstandard hosts.
2002-04-29 06:59:24 +00:00
Jim Meyering
786fcaf4a2
*** empty log message ***
2002-04-28 23:54:55 +00:00
Jim Meyering
eae0819e3d
add comment for prev change
2002-04-28 23:54:47 +00:00
Jim Meyering
550a02c909
(make_id_equals_comment): Cast sizeof expression (used as field
...
width argument) to `int'.
2002-04-28 23:54:06 +00:00
Jim Meyering
1e2a59b68a
(PIDSTR_DECL_AND_INIT): Cast ut_pid value to int.
2002-04-28 23:47:53 +00:00
Jim Meyering
7fb3529376
.
2002-04-28 23:14:28 +00:00
Jim Meyering
3a898d66ba
*** empty log message ***
2002-04-28 23:14:20 +00:00
Jim Meyering
699c46f88b
*** empty log message ***
2002-04-28 23:12:01 +00:00
Jim Meyering
5565903d7c
(jm_MACROS): Remove use of AC_FUNC_STRNLEN.
2002-04-28 23:11:56 +00:00
Jim Meyering
c14da32ec4
Add jm_PREREQ_STRNLEN.
...
Use AC_FUNC_STRNLEN here instead.
2002-04-28 23:11:45 +00:00
Jim Meyering
db37e581bc
Don't AC_REQUIRE([AC_PROG_CC_STDC]).
...
With autoconf-2.53a, it's part of AC_PROG_CC.
2002-04-28 22:36:42 +00:00
Jim Meyering
75bb9f0a2a
*** empty log message ***
2002-04-28 21:59:47 +00:00
Jim Meyering
89e4bfabcd
Don't include xalloc.h.
...
It's already included via system.h.
2002-04-28 21:59:40 +00:00
Jim Meyering
57b792bb8a
.
2002-04-28 21:58:19 +00:00
Jim Meyering
625cb88756
*** empty log message ***
2002-04-28 21:57:52 +00:00
Jim Meyering
01084fbd8d
Change @code{PROG}' to @command{PROG}'.
2002-04-28 21:57:40 +00:00
Jim Meyering
219be37b93
Change @code{PROG} to @command{PROG} for the fileutils.
2002-04-28 21:55:03 +00:00
Jim Meyering
3be197ed19
Begin changing @code{PROG} to @command{PROG}.
2002-04-28 21:46:20 +00:00
Jim Meyering
2bac14f45a
Use @command{(un)?link}, not @code{...} where appropriate
2002-04-28 21:35:55 +00:00
Jim Meyering
ed05aed044
Rewrite from scratch. Support everything
...
required by POSIX 1003.1-2001; when this conflicts with Bash,
stick with POSIX. The conflicts are kill -l output format,
and lower case signal names preceded by `-' (e.g., "kill -hup"
is no longer supported). Remove -L or --long-list option.
Add -t or --table option. Rename --sigspec to --signal;
remove --signum and do not advertise obsolescent option -n.
Use str2sig and str2sig to convert between signal names and
numbers.
2002-04-28 21:32:36 +00:00
Jim Meyering
02be728995
.
2002-04-28 21:31:21 +00:00
Jim Meyering
cb75a8c02d
*** empty log message ***
2002-04-28 21:30:59 +00:00
Jim Meyering
f7978a042c
(jm_PREREQ): Add jm_PREREQ_SIG2STR.
2002-04-28 21:30:50 +00:00
Jim Meyering
6980e29da9
(jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
2002-04-28 21:29:39 +00:00
Jim Meyering
79d4ae4bf8
*** empty log message ***
2002-04-28 21:28:56 +00:00
Jim Meyering
03d0ba4c06
Remove definition of unused WTERMSIG.
2002-04-28 21:20:49 +00:00
Jim Meyering
b41ca51fc6
New file: from Paul Eggert.
2002-04-28 21:17:45 +00:00
Jim Meyering
8e6c9373c1
*** empty log message ***
2002-04-28 21:16:24 +00:00
Jim Meyering
dbaf821f82
(libfetish_a_SOURCES): Add sig2str.h.
2002-04-28 21:16:19 +00:00
Jim Meyering
b8b5ed3d52
*** empty log message ***
2002-04-28 21:15:37 +00:00
Jim Meyering
8075fc59b5
*** empty log message ***
2002-04-28 21:15:05 +00:00
Jim Meyering
d22026207c
(kill invocation): Document the above.
...
Document POSIX signals better.
2002-04-28 21:14:59 +00:00
Jim Meyering
b5d5f6fffd
*** empty log message ***
2002-04-28 21:07:11 +00:00
Jim Meyering
e464e1da1c
Avoid new warnings from gcc.
...
[struct COLUMN] <name>: Declare member to be const.
(init_fps): Declare local variable `firstname' to be const.
2002-04-28 21:07:01 +00:00
Jim Meyering
ec4ea625c9
.
2002-04-28 18:43:52 +00:00
Jim Meyering
38fa93be81
*** empty log message ***
2002-04-28 17:29:12 +00:00
Jim Meyering
a1319f687c
(integer_expected_error): Add `const' to paramater
...
declarations to avoid new warning from gcc.
2002-04-28 17:12:53 +00:00
Jim Meyering
059c9672ff
(test_syntax_error): Add `const' to paramater
...
declarations to avoid new warning from gcc.
2002-04-28 17:09:12 +00:00
Jim Meyering
8a2075ba7d
(cycle_check): Add a comment.
2002-04-27 06:46:18 +00:00
Jim Meyering
a6050a7291
(cycle_check): New function containing code factored
...
out of remove_dir. The sole difference is that upon detecting a
cycle, rm now dies unconditionally. Before, in interactive mode,
it would ask the user whether to continue.
(remove_dir): Call cycle_check.
2002-04-27 06:33:08 +00:00
Jim Meyering
d1cf325739
*** empty log message ***
2002-04-25 20:38:20 +00:00
Jim Meyering
6cc8245afb
(usage): Adjust ordering to match that of default output.
2002-04-25 20:38:16 +00:00
Jim Meyering
93066fab51
*** empty log message ***
2002-04-25 20:16:15 +00:00
Jim Meyering
daeef68961
remove comment for reverted change
2002-04-25 19:51:40 +00:00
Jim Meyering
c5e9725e5b
.
2002-04-25 19:47:08 +00:00
Jim Meyering
e94bd40348
.
2002-04-25 18:58:39 +00:00
Jim Meyering
6576e27321
.
2002-04-25 18:58:07 +00:00
Jim Meyering
d29bfd529e
*** empty log message ***
2002-04-25 18:03:30 +00:00
Jim Meyering
e758541f7e
*** empty log message ***
2002-04-25 18:03:07 +00:00
Jim Meyering
0cf2e85eda
*** empty log message ***
2002-04-25 18:02:59 +00:00
Jim Meyering
de9a50b611
Avoid warnings from gcc.
...
Declare input_file and output_file to be `const'.
(skip): Declare `file' parameter to be `const', too.
2002-04-25 18:02:52 +00:00
Jim Meyering
b6dd48b361
*** empty log message ***
2002-04-25 17:14:28 +00:00
Jim Meyering
184edc32ab
*** empty log message ***
2002-04-25 16:40:18 +00:00
Jim Meyering
0199003cf9
Remove hash table, active_dir_map, used to detect directory cycles.
...
Instead, detect them lazily with just O(1) memory.
Suggestion from Andi Kleen.
(is_power_of_two): New function.
(print_nth_dir, make_active_dir_ent): Remove functions.
(hash_active_dir_ent, hash_compare_active_dir_ents): Likewise.
(remove_dir): Check for cycles here, ...
(rm): ... and don't check for cycles here.
(rm): Call fspec_get_full_mode here, rather than
fspec_get_filetype_mode. We want to get the dev/ino earlier, and
at the same time as when we get the file type, to avoid the risk
that an attacker would change e.g. a directory to a symlink before
we record its dev/ino.
2002-04-25 16:40:04 +00:00
Jim Meyering
bbd396f52f
Revert last change.
2002-04-25 16:32:32 +00:00
Jim Meyering
2a15b5cbc4
Revert last change.
2002-04-25 16:31:41 +00:00
Jim Meyering
2dbf41d0d0
*** empty log message ***
2002-04-25 16:01:32 +00:00
Jim Meyering
c80374e8e8
.
2002-04-25 15:40:12 +00:00
Jim Meyering
e53320438b
*** empty log message ***
2002-04-25 15:39:39 +00:00
Jim Meyering
1bb22e3075
Remove ENABLE_NLS-related code.
...
(_, N_) Remove definitions.
Include "gettext.h" instead.
2002-04-25 15:38:17 +00:00
Jim Meyering
fc7d0fef5f
*** empty log message ***
2002-04-24 07:54:51 +00:00
Jim Meyering
b2861672f1
filtered through cppi
2002-04-24 07:54:40 +00:00
Jim Meyering
9cd1ed4307
*** empty log message ***
2002-04-24 07:52:49 +00:00
Jim Meyering
8a054458d4
(INCLUDES): Remove -I../intl.
...
(libfetish_a_SOURCES): Add gettext.h.
2002-04-24 07:52:39 +00:00
Jim Meyering
570703fb5e
*** empty log message ***
2002-04-24 07:50:53 +00:00
Jim Meyering
0b79c81d9d
(jm_PREREQ_HARD_LOCALE): New macro.
...
(jm_PREREQ): Use it.
2002-04-24 07:50:48 +00:00
Jim Meyering
6acdf37888
bump serial # to 9
2002-04-24 07:49:39 +00:00
Jim Meyering
1391eaea5d
Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.
...
Check for this function: setlocale.
2002-04-24 07:49:00 +00:00
Jim Meyering
d3de1d0186
(rm): Call exit with EXIT_FAILURE, not `1'.
2002-04-22 09:42:00 +00:00
Jim Meyering
a15c26266f
*** empty log message ***
2002-04-22 07:36:00 +00:00
Jim Meyering
c32c344dd6
(main): Adjust caller of remove_init.
2002-04-22 07:35:54 +00:00
Jim Meyering
e305ef0fa8
(do_move): Adjust caller of remove_init.
2002-04-22 07:35:41 +00:00
Jim Meyering
f1014ac7cc
(remove_init): Adjust prototype.
2002-04-22 07:35:32 +00:00
Jim Meyering
8fd6feded9
(rm, remove_init, remove_fini): Don't use or even
...
initialize the active_dir_map unless --recursive (-r) is specified.
2002-04-22 07:35:20 +00:00
Jim Meyering
c175e3f6c8
update framework
2002-04-20 14:49:46 +00:00
Jim Meyering
73f2d11007
update framework
2002-04-19 22:57:04 +00:00
Jim Meyering
f2bb69ebb0
Use this:
...
(exit $fail); exit
not this:
exit $fail
2002-04-19 22:50:36 +00:00
Jim Meyering
0129239343
upgrade to use better framework
2002-04-19 22:41:59 +00:00
Jim Meyering
92d76e1e92
upgrade to use better framework
2002-04-19 22:39:05 +00:00
Jim Meyering
dc2f3bc5e4
*** empty log message ***
2002-04-19 22:36:11 +00:00
Jim Meyering
1a35394a57
upgrade to use better framework
2002-04-19 22:36:03 +00:00
Jim Meyering
2b5e6e4835
clean-up
2002-04-19 21:59:57 +00:00
Jim Meyering
306c8e8b4f
Lots of clean-up:
...
E.g.,
(exit $fail); exit
t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
2002-04-19 21:55:30 +00:00
Jim Meyering
3cc80a4390
*** empty log message ***
2002-04-19 21:54:27 +00:00
Jim Meyering
ff015c529a
*** empty log message ***
2002-04-19 21:53:42 +00:00
Jim Meyering
ebf16be3ea
Use tmpdir named $0.tmp/$$. Create with mkdir -p.
2002-04-19 21:53:01 +00:00
Jim Meyering
4061c49579
Use better trap, etc.
2002-04-19 21:38:32 +00:00
Jim Meyering
d01146b817
*** empty log message ***
2002-04-19 21:18:28 +00:00
Jim Meyering
d0ae660607
Use better trap.
2002-04-19 21:17:45 +00:00
Jim Meyering
5aaccdf6a7
use better trap
2002-04-19 21:17:08 +00:00
Jim Meyering
dc3a2321e0
Set $tmp the new way.
2002-04-19 20:50:43 +00:00
Jim Meyering
3f094fd26b
Use `rm', not $RM. Use better trap.
2002-04-19 19:55:21 +00:00
Jim Meyering
e86cf7f5e6
Use `rm', not $RM. Use better trap.
2002-04-19 19:54:15 +00:00
Jim Meyering
ad9fd82850
Use `rm', not $RM. Use better trap.
2002-04-19 19:53:03 +00:00
Jim Meyering
da5debc995
don't fiddle with TMPDIR
2002-04-19 19:51:29 +00:00
Jim Meyering
9f79f8d7e0
don't bother with TMPDIR
2002-04-19 19:47:16 +00:00
Jim Meyering
56931437e3
Use automatically-derived name for temporary
...
directory. This is more 8.3-friendly. Based on a suggestion from Richard Dawe.
2002-04-19 19:39:45 +00:00
Jim Meyering
5051a33ba6
*** empty log message ***
2002-04-17 08:55:39 +00:00
Jim Meyering
8d851e17c0
.
2002-04-17 08:54:38 +00:00
Jim Meyering
1df5e317dc
(TESTS): Add no-create-missing.
2002-04-17 08:54:32 +00:00
Jim Meyering
950d7008ea
*** empty log message ***
2002-04-17 08:54:21 +00:00
Jim Meyering
8a2d561e45
*** empty log message ***
2002-04-17 08:53:50 +00:00
Jim Meyering
ccf99a6d4c
(touch): Don't report errors for nonexistent files
...
when --no-create is in effect. Based on a patch from TAKAI Kousuke.
2002-04-17 08:49:27 +00:00
Jim Meyering
78ec76159b
*** empty log message ***
2002-04-17 08:47:33 +00:00
Jim Meyering
28ea23054e
s/POSIX/@sc{posix}/
2002-04-16 11:26:32 +00:00
Jim Meyering
cea6ca618e
*** empty log message ***
2002-04-16 10:43:04 +00:00
Jim Meyering
a9ecff59e4
(jm_PREREQ_READUTMP): Also check for these members: ut_pid, ut_id, ut_exit.
2002-04-16 10:43:00 +00:00
Jim Meyering
b1f44ffb39
(UT_TYPE): Remove definition (now in who.c).
...
(HAVE_STRUCT_XTMP_UT_EXIT, HAVE_STRUCT_XTMP_UT_ID): Define.
(HAVE_STRUCT_XTMP_UT_PID, HAVE_STRUCT_XTMP_UT_TYPE): Define.
2002-04-16 10:41:33 +00:00
Jim Meyering
2e0e925d3b
*** empty log message ***
2002-04-16 10:39:42 +00:00
Jim Meyering
6f0db0ac6e
(UT_TYPE_UNDEF, UT_TYPE, IS_USER_PROCESS): Define.
...
(print_line): Use "%-8.8s" for the format: the user name is not
always NUL terminated.
(scan_entries) [need_users]: Use IS_USER_PROCESS, so that this works
even on systems without ut_type.
2002-04-16 10:39:29 +00:00
Jim Meyering
aef17cff0f
(BOOT_TIME): Define.
...
(NEW_TIME): Define to 0, not INT_MAX.
(UT_PID, UT_ID, UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define.
Replace literal uses of ut_pid, ut_id, and ut_exit members with
uses through macros.
(make_id_equals_comment): New function, factored out of three others.
2002-04-16 09:49:28 +00:00
Jim Meyering
92cad6a4e5
*** empty log message ***
2002-04-16 06:51:00 +00:00
Jim Meyering
5bd81eab0f
(human_fstype): Rename from print_human_fstype, and rework accordingly.
...
(print_statfs): Use human_fstype to honor format width on %T.
2002-04-16 06:50:54 +00:00
Jim Meyering
598064934e
Add copyright comment.
2002-04-16 06:27:39 +00:00
Jim Meyering
c75c37dc2b
*** empty log message ***
2002-04-15 19:05:33 +00:00
Jim Meyering
67492390d4
*** empty log message ***
2002-04-15 19:04:32 +00:00
Jim Meyering
480aa4b7c1
*** empty log message ***
2002-04-15 19:03:52 +00:00
Jim Meyering
9a9958dafc
Document kill.
2002-04-15 19:03:47 +00:00
Jim Meyering
2262fbb298
add FIXME comments
2002-04-15 10:46:45 +00:00
Jim Meyering
a36a4fdedc
*** empty log message ***
2002-04-15 10:37:45 +00:00
Jim Meyering
57d75ea4d8
Include xalloc.h.
...
Use xmalloc everywhere, not malloc.
2002-04-15 10:37:35 +00:00
Jim Meyering
7880914895
*** empty log message ***
2002-04-15 08:52:52 +00:00
Jim Meyering
b214c8214c
Handle "lld" vs "ld" printf formats the same way Bash does.
...
Include inttypes.h.
(PRIdMAX, PRIuMAX): Define, if not already defined.
(print_statfs): Use those macros, not the literal strings.
(print_stat): Likewise.
2002-04-15 08:50:57 +00:00
Jim Meyering
68f054be8f
*** empty log message ***
2002-04-15 08:41:34 +00:00
Jim Meyering
d9feb76a02
(usage): Give a verbose description of --squeeze-repeats,
...
including the mention of SET1.
2002-04-15 08:41:23 +00:00
Jim Meyering
872325a656
*** empty log message ***
2002-04-15 07:21:49 +00:00
Jim Meyering
d133be1fc3
(print_human_fstype): Add missing break;' for case S_MAGIC_MINIX:'.
2002-04-15 07:21:42 +00:00
Jim Meyering
ad02a0f47d
remove parens in #if directives
2002-04-15 07:20:15 +00:00
Jim Meyering
f7d204bce4
*** empty log message ***
2002-04-14 12:53:10 +00:00
Jim Meyering
2b38bcb26a
*** empty log message ***
2002-04-14 12:53:00 +00:00
Jim Meyering
6d89182e28
(statfs_secure): Define.
...
(print_stat): Remove another #ifdef.
(do_statfs): Likewise.
(print_statfs): Prefer/use fputs over printf.
(print_stat): Likewise.
2002-04-14 12:52:48 +00:00
Jim Meyering
30215a98cc
filter through GNU indent
2002-04-14 08:20:15 +00:00
Jim Meyering
c8088a6184
Split some long lines.
...
(verbose_usage): Remove function.
2002-04-14 08:18:49 +00:00
Jim Meyering
82395d065e
*** empty log message ***
2002-04-14 08:15:22 +00:00
Jim Meyering
5120cb1bc9
remove parens in #if directives
2002-04-14 08:14:37 +00:00
Jim Meyering
e407204f28
fix TABs
2002-04-14 08:14:15 +00:00
Jim Meyering
af3fa53348
*** empty log message ***
2002-04-14 08:13:50 +00:00
Jim Meyering
4fc8280fa6
*** empty log message ***
2002-04-14 07:50:19 +00:00
Jim Meyering
9e92d099ce
*** empty log message ***
2002-04-14 07:49:20 +00:00
Jim Meyering
7c3982f666
(verbose_usage): Remove function. Move contents into usage.
...
Remove lots of #if directives involving FLASK_LINUX
[!FLASK_LINUX] (is_flask_enabled): Define.
(stat_secure, lstat_secure): Define.
(print_statfs): Remove lots of nested #if directives.
Instead, rely on support fo %llu and %lld printf formats --
but that is only temporary, since it's not porable enough.
(main): Hoist is_flask_enabled test to be done here, rather
than in each of do_stat and do_statfs for every argument.
2002-04-14 07:47:44 +00:00
Jim Meyering
b6e520d478
[HAVE_SYS_VFS_H]: Guard incluion of sys/vfs.h.
...
Constify many parameters.
(print_statfs): Fix typo: Use %u (to match %lu) for namelen, not %d.
2002-04-14 06:55:13 +00:00
Jim Meyering
2c41df8b40
alphabetize entries in a menu
...
In xref, use libc instead of library.
2002-04-14 06:27:10 +00:00
Jim Meyering
86168539c7
.
2002-04-13 17:10:57 +00:00
Jim Meyering
d849f68245
add a couple `const'
2002-04-13 14:35:46 +00:00
Jim Meyering
91990a324b
(print_human_fstype): Revamp in a similar fashion. Don't use strdup.
2002-04-13 14:34:58 +00:00
Jim Meyering
ac829d6935
(print_human_type): Call fputs once rather than calling printf many times.
...
Declare most functions to be `static'.
2002-04-13 14:23:00 +00:00
Jim Meyering
d1a60cddfe
Include system.h, error.h, and many other headers.
...
[HAVE_SYS_SYSMACROS_H]: Guard inclusion of sys/sysmacros.h.
(PROGRAM_NAME, AUTHORS): Define.
(long_options): Declare/define.
(print_human_access): Rewrite to use mode_string.
(usage): Rewrite.
(main): Use getopt_long.
2002-04-13 14:11:44 +00:00
Jim Meyering
8d8acf4b3c
Direct from Debian's stat_3.3-1, modulo trailing blanks (removed)
...
and cpp directive (indented via cppi).
2002-04-13 13:47:14 +00:00
Jim Meyering
fadc4d4786
*** empty log message ***
2002-04-13 12:40:43 +00:00
Jim Meyering
9eb27b5fad
Document link and unlink.
2002-04-13 12:40:36 +00:00
Jim Meyering
b1e1f83089
*** empty log message ***
2002-04-12 21:03:34 +00:00
Jim Meyering
ad935391c2
(dirfd): Elide prototype if dirfd is a macro.
2002-04-12 21:03:28 +00:00
Jim Meyering
5f057a69d6
*** empty log message ***
2002-04-12 20:51:01 +00:00
Jim Meyering
d635ea46cb
(checking for getmntinfo function...): Remove now-bogus
...
check for f_type in sys/mount.h. Instead, just test for the existence
of the getmntinfo function. Needed for Darwin 5.3.
2002-04-12 20:50:53 +00:00
Jim Meyering
51816f9adb
*** empty log message ***
2002-04-12 20:48:36 +00:00
Jim Meyering
50bc2a4286
(UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
...
This is necessary at least on Darwin 5.3.
2002-04-12 20:48:29 +00:00
Jim Meyering
7f01432879
*** empty log message ***
2002-04-12 11:04:02 +00:00
Jim Meyering
d11a1de3ed
*** empty log message ***
2002-04-12 11:03:13 +00:00
Jim Meyering
c6590a2f61
Don't AC_REPLACE(strnlen), now that we use
...
AC_FUNC_STRNLEN. That would end up putting two copies of strnlen.o
in the library, and that makes some versions of ranlib object.
2002-04-12 11:02:59 +00:00
Jim Meyering
f5da3f584b
*** empty log message ***
2002-04-12 10:47:18 +00:00
Jim Meyering
5771d0193b
.
2002-04-12 10:46:55 +00:00
Jim Meyering
f52a204a4e
Include long-options.h.
...
[long_opts]: Remove.
(usage): Tweak --help output; use *_OPTION_DESCRIPTION macros.
(main): Don't use getopt directly. Use parse_long_options instead.
Tweak a diagnostic.
Use EXIT_FAILURE rather than a literal `1'.
(main): If POSIXLY_CORRECT is set, don't recognize --help or --version,
so the program can operate on a file with one of those names.
2002-04-12 10:41:54 +00:00
Jim Meyering
21126e288b
Include long-options.h.
...
[long_opts]: Remove.
(usage): Tweak --help output; use *_OPTION_DESCRIPTION macros.
(main): Don't use getopt directly. Use parse_long_options instead.
Tweak a diagnostic.
Use EXIT_FAILURE rather than a literal `1'.
2002-04-12 10:41:22 +00:00
Jim Meyering
d1aa15101c
*** empty log message ***
2002-04-12 10:41:00 +00:00
Jim Meyering
92c4ad70ea
*** empty log message ***
2002-04-12 10:40:09 +00:00
Jim Meyering
1247f879f9
*** empty log message ***
2002-04-12 10:39:43 +00:00
Jim Meyering
b46ec3cd33
from Debian's fileutils_4.1-10
2002-04-12 10:07:17 +00:00
Jim Meyering
f0ea374271
*** empty log message ***
2002-04-09 17:55:48 +00:00
Jim Meyering
72af85a647
(jm_FUNC_REALLOC): Change the `checking ...' message
...
to be more precise. Rather than saying we're checking whether the
function `works', say what we're testing.
2002-04-09 17:55:36 +00:00
Jim Meyering
aa77b79b4b
(jm_FUNC_MALLOC): Change the `checking ...' message
...
to be more precise. Rather than saying we're checking whether the
function `works', say what we're testing.
2002-04-09 17:55:23 +00:00
Jim Meyering
f36cf8b4d8
*** empty log message ***
2002-04-08 09:39:19 +00:00
Jim Meyering
a8a0842148
Use new directives, @copying and @insertcopying,
...
thus now requiring texinfo-4.2 to create the .info file.
2002-04-08 09:38:58 +00:00
Jim Meyering
8c3b497f01
*** empty log message ***
2002-04-07 21:46:15 +00:00
Jim Meyering
61d6d975af
Tweak comments to reflect reality.
2002-04-07 21:46:11 +00:00
Jim Meyering
b5422e71f7
*** empty log message ***
2002-04-07 15:57:10 +00:00
Jim Meyering
c20f3cd330
Add VERBOSE=yes support.
2002-04-07 15:52:14 +00:00
Jim Meyering
a88ba0dd94
Fix typo in VERBOSE=yes handling.
2002-04-07 15:51:12 +00:00
Jim Meyering
81c7cd4c29
.
2002-03-30 15:49:57 +00:00
Jim Meyering
f79efa913c
with --reply=no, no need for input file `no'
2002-03-30 15:26:46 +00:00
Jim Meyering
8b861292c6
--, not ---
2002-03-30 15:22:04 +00:00
Jim Meyering
39f54be321
*** empty log message ***
2002-03-30 15:20:22 +00:00
Jim Meyering
9bfbfd3b8a
*** empty log message ***
2002-03-30 15:19:04 +00:00
Jim Meyering
fff7466c36
Use --reply=no rather than -i.
...
The latter depends on whether stdin is a tty.
2002-03-30 15:18:54 +00:00
Jim Meyering
bd2fa30652
.
2002-03-30 10:40:32 +00:00
Jim Meyering
fffcc47efc
.
2002-03-30 07:24:19 +00:00
Jim Meyering
302c89b285
(do_move): Correct a comment.
2002-03-30 07:12:23 +00:00
Jim Meyering
3dd09fbf17
*** empty log message ***
2002-03-30 07:11:34 +00:00
Jim Meyering
baa4aff633
(forget_created): Prototype.
2002-03-30 07:11:24 +00:00
Jim Meyering
aa3694f1ff
(forget_created): New function.
2002-03-30 07:11:13 +00:00
Jim Meyering
9211474a6e
(copy_internal): Move the block that sets `earlier_file'
...
down to just before the first use of that variable. Otherwise, it was
possible to make mv (and probably cp, too) malfunction when copying
hard-linked files into a directory containing at least one of the
source file names. Call forget_created everywhere thereafter where
this function returns without creating a destination file that might
subsequently be linked. Reported by Iida Yosiaki.
2002-03-30 07:10:57 +00:00
Jim Meyering
ca76cd842a
New test for the above.
...
Based on an example from Iida Yosiaki.
2002-03-29 23:11:41 +00:00
Jim Meyering
6879364228
(TESTS): Add i-link-no.
2002-03-29 23:11:28 +00:00
Jim Meyering
0a2845a592
*** empty log message ***
2002-03-29 23:09:52 +00:00
Jim Meyering
d4e06e8c46
*** empty log message ***
2002-03-28 08:07:41 +00:00
Jim Meyering
61789dd7d5
.
2002-03-28 07:59:24 +00:00
Jim Meyering
df92958bed
*** empty log message ***
2002-03-27 08:05:14 +00:00
Jim Meyering
c559453c89
*** empty log message ***
2002-03-27 07:57:00 +00:00
Jim Meyering
65ab259cdb
*** empty log message ***
2002-03-25 09:53:28 +00:00
Jim Meyering
563ff6778d
update copyright
2002-03-25 09:53:18 +00:00
Jim Meyering
eae700da7d
(age_of): Return -1 and 0 rather than 0 and 1.
...
Might as well keep it simple, and like bash.
(binary_operator): Fix bug with -nt and -ot, when one of the
files did not exist. We want to be compatible with the ksh93
documentation, and with Bash.
2002-03-25 09:53:07 +00:00
Jim Meyering
dc3bf580fc
*** empty log message ***
2002-03-25 09:52:46 +00:00
Jim Meyering
d2ed2e78cf
(File characteristic tests): Document the
...
behavior of test -nt and -ot when one of the files does not exist,
using the same behavior that is documented in ksh93.
2002-03-25 09:52:25 +00:00
Jim Meyering
c799d7b979
adjust spacing in expected diagnostic
2002-03-19 09:55:21 +00:00
Jim Meyering
73c74c33e6
use only one space after semicolon
2002-03-19 08:49:28 +00:00
Jim Meyering
c1635e0379
.
2002-03-18 09:51:22 +00:00
Jim Meyering
2486f9acdf
.
2002-03-18 09:50:45 +00:00
Jim Meyering
af1a8f76a6
*** empty log message ***
2002-03-17 19:28:04 +00:00
Jim Meyering
1c1565ff39
*** empty log message ***
2002-03-17 19:21:54 +00:00
Jim Meyering
c3d98f8640
(TESTS): Add part-fail.
2002-03-17 19:21:49 +00:00
Jim Meyering
cf504308fe
*** empty log message ***
2002-03-17 19:21:24 +00:00
Jim Meyering
3677890d37
(usage): Mention that --format=FORMAT must be
...
a *floating-point* format, also in description of that option.
(usage): Also add the `=' signs here: --format=FORMAT,
--separator=STRING.
2002-03-17 19:21:16 +00:00
Jim Meyering
2af2bec9b2
*** empty log message ***
2002-03-17 16:18:35 +00:00
Jim Meyering
30f0e39058
*** empty log message ***
2002-03-17 16:17:38 +00:00
Jim Meyering
fc1e984e89
*** empty log message ***
2002-03-17 16:17:29 +00:00
Jim Meyering
24c61a8949
*** empty log message ***
2002-03-17 16:02:47 +00:00
Jim Meyering
b3354081ac
(copy_internal) [move_mode]: Give a better diagnostic
...
(using errno from the failed unlink) when a cross-device `mv'
fails, e.g., because the destination cannot be unlinked.
Prompted by a report from Karl Berry.
2002-03-17 16:00:54 +00:00
Jim Meyering
aedb44867d
*** empty log message ***
2002-03-16 09:47:01 +00:00
Jim Meyering
65a82e4c26
*** empty log message ***
2002-03-16 09:46:40 +00:00
Jim Meyering
28571ed121
*** empty log message ***
2002-03-16 09:43:19 +00:00
Jim Meyering
3a0036e766
.
2002-03-14 12:19:49 +00:00
Jim Meyering
fa0309e396
*** empty log message ***
2002-03-12 12:12:02 +00:00
Jim Meyering
4f3c16b4f5
.
2002-03-10 22:26:35 +00:00
Jim Meyering
16b01fbdc7
*** empty log message ***
2002-03-10 22:25:01 +00:00
Jim Meyering
cd0be06ed2
(strip): Change wording in diagnostic.
2002-03-10 22:23:19 +00:00
Jim Meyering
48f998c0e8
(do_copy): Change wording in diagnostic.
2002-03-10 22:22:33 +00:00
Jim Meyering
f3a82e33ac
(main): Change wording in diagnostic.
2002-03-10 22:21:44 +00:00
Jim Meyering
14867399cd
(make_path): Remove a comma from a diagnostic.
2002-03-10 22:15:53 +00:00
Jim Meyering
948cbc01ff
*** empty log message ***
2002-03-10 20:25:56 +00:00
Jim Meyering
29dade1a06
*** empty log message ***
2002-03-10 20:20:08 +00:00
Jim Meyering
814ef75488
(GZIP, BZIP2): Remove definitions.
...
($(my_distdir).tar.bz2): Remove rule. Now, it's built by `make dist'.
2002-03-10 20:19:54 +00:00
Jim Meyering
17202b905d
*** empty log message ***
2002-03-10 18:43:12 +00:00
Jim Meyering
0a35becaf5
*** empty log message ***
2002-03-10 18:42:44 +00:00
Jim Meyering
21eba648bd
*** empty log message ***
2002-03-10 18:41:47 +00:00
Jim Meyering
c880cde6a9
reformat continued line
2002-03-10 10:22:47 +00:00
Jim Meyering
3afb09ac80
(gmsgfmt_cmd): New variable.
...
(.po.gmo): Use it here.
(.po.mo): Don't create target directly --
otherwise a failed gmsgfmt command would leave a corrupt,
yet up-to-date, .gmo file.
(.po.gmo): Likewise.
2002-03-10 10:21:55 +00:00
Jim Meyering
1595f15531
.
2002-03-10 09:30:15 +00:00
Jim Meyering
a6921b13ef
*** empty log message ***
2002-03-10 08:28:43 +00:00
Jim Meyering
ae5a552bf1
(copy_reg): Don't exit upon finding a replaced file.
...
Instead, just skip it like the diagnostic says.
Reported by Paul Eggert.
2002-03-10 08:28:30 +00:00
Jim Meyering
0d4eeae035
(copy_reg): Use a more concise diagnostic for
...
reporting replaced files. This avoids a bug in the code,
which mishandled ino_t wider than long.
2002-03-10 08:26:48 +00:00
Jim Meyering
c4f4cfbf11
* src/copy.c (copy_reg): Use a more concise diagnostic for
...
reporting replaced files. This avoids a bug in the code,
which mishandled ino_t wider than long.
* src/remove.c (remove_dir): Likewise, twice.
2002-03-10 08:17:20 +00:00
Jim Meyering
8cef936d37
.
2002-03-09 22:14:08 +00:00
Jim Meyering
583ce8b6c9
.
2002-03-09 22:13:33 +00:00
Jim Meyering
f369403dc6
*** empty log message ***
2002-03-09 22:13:12 +00:00
Jim Meyering
3a82fa109f
*** empty log message ***
2002-03-09 22:10:47 +00:00
Jim Meyering
57d9a3625b
.
2002-03-09 21:05:49 +00:00
Jim Meyering
3f81b8e189
(rm) Add comment on new parameter.
2002-03-09 21:02:05 +00:00
Jim Meyering
d06faa245b
*** empty log message ***
2002-03-09 20:44:11 +00:00
Jim Meyering
29544710c6
(struct dev_ino): Declare new type.
...
(rm): Add a parameter to the prototype.
2002-03-08 16:46:26 +00:00
Jim Meyering
7c38cd6901
(main): Call lstat `.' to get the device/inode numbers
...
now required for rm.
2002-03-08 16:46:11 +00:00
Jim Meyering
9419e88fc4
(do_move): The first time we resort to copy/remove,
...
call lstat `.' to get the device/inode numbers now required for rm.
2002-03-08 16:45:51 +00:00
Jim Meyering
2c929257dc
Don't allow a malicious user to trick another user's rm process into
...
removing unintended files. In one scenario, if root is removing a
hierarchy that is writable by the malicious user, that user may trick
root into removing all of `/'. Reported by Wojciech Purczynski.
(remove_dir): After chdir `..', call lstat to get the
dev/inode of "." and fail if they aren't the same as the old numbers.
(remove_cwd_entries): New parameter, `cwd_dev_ino'.
(remove_dir): Likewise.
(rm): Likewise.
Adjust all callers.
2002-03-08 16:45:31 +00:00
Jim Meyering
28efd24883
*** empty log message ***
2002-03-08 15:41:30 +00:00
Jim Meyering
bb09da15fe
*** empty log message ***
2002-03-08 08:23:53 +00:00
Jim Meyering
db8d2fe339
Mention that this wrapper is needed also on mips-dec-ultrix4.4 systems.
2002-03-08 08:23:47 +00:00
Jim Meyering
b3183656ef
.
2002-03-06 09:15:00 +00:00
Jim Meyering
aa0c7901a4
update from masters
2002-03-06 09:11:13 +00:00
Jim Meyering
ef8f6fe459
.
2002-03-06 09:06:01 +00:00
Jim Meyering
c3aafd6932
*** empty log message ***
2002-03-06 08:56:50 +00:00
Jim Meyering
b0a1aa04ba
(cut invocation): Say that selected input is written in the same
...
order that it is read, and is written exactly once.
2002-03-06 08:56:16 +00:00
Jim Meyering
e304471a9e
*** empty log message ***
2002-03-05 09:03:40 +00:00
Jim Meyering
405638ebb0
*** empty log message ***
2002-03-03 23:25:58 +00:00
Jim Meyering
2020df6702
(tgz-size): Also handle a suffix of `K', since
...
the sizes in the output of `du -h' now look like `29K'
2002-03-03 23:25:05 +00:00
Jim Meyering
c4836a7811
*** empty log message ***
2002-03-03 22:30:13 +00:00
Jim Meyering
47c5a14bad
Make cp -r equivalent to cp -R. Add a new cp option --copy-contents
...
for people who want to emulate the traditional (and rarely desirable)
cp -r behavior.
(cp invocation): Document this.
Fix some related minor bugs: --no-dereference is no longer
equivalent to -d, and --archive (-a) can override the other
symlink options. Warn that cp -R is not portable on symbolic
links unless you also specify -P.
2002-03-03 22:30:06 +00:00
Jim Meyering
f6ac75fd2c
*** empty log message ***
2002-03-03 22:29:41 +00:00
Jim Meyering
c76a2ddf15
.
2002-03-03 22:29:36 +00:00
Jim Meyering
337e4b174d
(copy_internal): Remove -r warning; no longer needed.
2002-03-03 22:29:31 +00:00
Jim Meyering
246e147a6a
(COPY_CONTENTS_OPTION): New enum value.
...
(long_opts): Add --copy-contents.
(usage): Describe new behavior. Sort options.
(main): Implement new behavior. Remove diagnostics for -a and -r;
no longer needed.
2002-03-03 22:28:48 +00:00
Jim Meyering
e566848d2a
.
2002-03-03 09:57:20 +00:00
Jim Meyering
da1695cee6
.
2002-03-03 09:54:53 +00:00
Jim Meyering
2fd63693cc
.
2002-03-02 17:43:10 +00:00
Jim Meyering
244554ca1a
Reflect changed semantics of cp's -r option.
2002-03-02 17:42:45 +00:00
Jim Meyering
22b03a6110
.
2002-03-02 17:39:58 +00:00
Jim Meyering
d726c5ad5f
*** empty log message ***
2002-03-02 17:39:26 +00:00
Jim Meyering
c5fcc8e462
(strnlen): Define-away/undef so that an inconsistent prototype in
...
string.h (on at least AIX4.3.2.0 w/gcc-2.95.3) doesn't cause trouble.
2002-03-02 17:39:17 +00:00
Jim Meyering
256f19b8db
.
2002-03-02 17:37:50 +00:00
Jim Meyering
e4dfd95e1f
*** empty log message ***
2002-03-02 17:36:04 +00:00
Jim Meyering
846263ddff
(cp invocation): Document that cp -r
...
preserves symlinks. Emphasize non-portability of cp -r.
2002-03-02 17:35:39 +00:00
Jim Meyering
b9d1d9e98e
(main): Warn when -r is specified before --archive (-a).
2002-03-02 17:23:34 +00:00
Jim Meyering
3c3e5c4a31
add a comment
2002-03-02 17:17:49 +00:00
Jim Meyering
e2497bb4fd
(copy_internal): For each symlink copied by cp -r,
...
issue a warning that `cp -r' is not portable.
2002-03-02 17:16:42 +00:00
Jim Meyering
7a5c83d8d5
(main): Revert change of 2001-12-29. With this change,
...
cp -r once again preserves symlinks.
(usage): Document the original (now-restored) behavior.
2002-03-02 17:15:42 +00:00
Jim Meyering
808b51dfba
*** empty log message ***
2002-03-02 16:44:07 +00:00
Jim Meyering
baea296b94
(main): Fail if -r is specified after --archive (-a) on the command line.
2002-03-02 16:44:02 +00:00
Jim Meyering
07b422cb2a
be careful about leading/trailing spaces
2002-03-02 13:24:46 +00:00
Jim Meyering
558fd59769
*** empty log message ***
2002-03-02 08:38:57 +00:00
Jim Meyering
dea4262fa6
(copy_reg): Detect abuse of a race condition
...
whereby an unprivileged user could gain read access to otherwise-
inaccessible files when root uses cp or mv to copy a hierarchy
belonging to that user.
2002-03-02 08:38:47 +00:00
Jim Meyering
17e6a0e4bb
Include timespec.h.
...
(strftime, time, stime): Remove declarations; no longer needed.
(usage): Document %N.
(main): Use gettime rather than time to get the time of day,
so that we can get fractional times.
Similarly for settime and stime, so that we can set fractional times
(though this currently is not available to the user since we don't
parse fractional times; add FIXMES for that).
Check for gettime failures; e.g. this can occur if it
is past 2038 and we are a 32-bit app running on a 64-bit OS.
Get fractional part of file time stamps.
Do not falsely report failures just because time_t happens to be -1
(e.g. a file time stamp 1 second before the epoch).
(show_date): 2nd arg is now struct timespec, not time_t.
All uses changed. Use nstrftime rather than strftime, so that
we can format fractional seconds.
2002-03-01 23:57:21 +00:00
Jim Meyering
9f1c3a0e22
*** empty log message ***
2002-03-01 23:54:58 +00:00
Jim Meyering
a9e1eeab54
(gettime): Test HAVE_CLOCK_GETTIME, not HAVE_CLOCK_SETTIME.
2002-03-01 23:54:52 +00:00
Jim Meyering
b39517e205
.
2002-03-01 23:36:30 +00:00
Jim Meyering
920077edd1
(strftime-check): Add `N'.
2002-03-01 23:35:58 +00:00
Jim Meyering
e2f0548110
(Time directives): Add %N for nanoseconds.
...
This documents the recent change to 'ls'.
2002-03-01 23:35:00 +00:00
Jim Meyering
a25f0cdb7e
reflect renaming: nanosleep.h -> timespec.h
2002-03-01 23:34:23 +00:00
Jim Meyering
5fe8296d4a
*** empty log message ***
2002-03-01 23:29:32 +00:00
Jim Meyering
853b15e627
*** empty log message ***
2002-03-01 23:28:21 +00:00
Jim Meyering
f5d3da342d
*** empty log message ***
2002-03-01 23:26:26 +00:00
Jim Meyering
8f5e4ea244
(jm_MACROS): Do not replace stime; no longer used.
...
Check for clock_settime.
2002-03-01 23:26:10 +00:00
Jim Meyering
06b02f10be
*** empty log message ***
2002-03-01 23:21:09 +00:00
Jim Meyering
e616c17722
.
2002-03-01 23:21:01 +00:00
Jim Meyering
3bde76131b
(libfetish_a_SOURCES): Add gettime.c, settime.c,
...
timespec.h. Remove nanosleep.h.
2002-03-01 23:20:53 +00:00
Jim Meyering
5a3e8f271b
new file, from Paul Eggert
2002-03-01 23:20:20 +00:00
Jim Meyering
e5106171da
Reflect renaming: nanosleep.h -> timespec.h.
2002-03-01 23:19:28 +00:00
Jim Meyering
e56702cfd6
new macros/decls, from Paul Eggert
2002-03-01 23:16:55 +00:00
Jim Meyering
20075bd5d4
renamed from nanosleep.h
2002-03-01 23:15:29 +00:00
Jim Meyering
11af8c2887
(decode_switches, usage): Add --time-style=+FORMAT.
2002-02-28 08:34:43 +00:00
Jim Meyering
4e9fd57633
*** empty log message ***
2002-02-28 08:30:31 +00:00
Jim Meyering
db2557052c
(pr invocation): Reword to avoid using `:'
...
in an @opindex entry -- info doesn't permit it.
2002-02-28 08:30:19 +00:00
Jim Meyering
97943b2180
*** empty log message ***
2002-02-28 08:20:05 +00:00
Jim Meyering
69e796de6c
(Formatting file timestamps): Document new
...
time-formatting method: --time-style=+FORMAT.
2002-02-28 08:19:50 +00:00
Jim Meyering
2a7a905dfc
.
2002-02-26 16:03:24 +00:00
Jim Meyering
81b59e0ba3
*** empty log message ***
2002-02-26 15:48:03 +00:00
Jim Meyering
419dd76de0
*** empty log message ***
2002-02-26 15:39:27 +00:00
Jim Meyering
04c4d4dc87
*** empty log message ***
2002-02-26 15:38:49 +00:00
Jim Meyering
9f96885c83
*** empty log message ***
2002-02-26 15:22:22 +00:00
Jim Meyering
7da31a15bb
*** empty log message ***
2002-02-26 15:22:09 +00:00
Jim Meyering
d7f4b25511
*** empty log message ***
2002-02-26 15:21:39 +00:00
Jim Meyering
99c885f123
*** empty log message ***
2002-02-26 15:21:11 +00:00
Jim Meyering
fba433574b
(jm_MACROS): Require AC_FUNC_ACL.
...
Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
2002-02-26 15:20:39 +00:00
Jim Meyering
d678a9231c
Include "acl.h" rather than <sys/acl.h>.
...
(USE_ACL): Remove; replaced by HAVE_ACL everywhere.
(gobble_file): Use file_has_acl rather than doing it ourselves.
2002-02-26 15:20:00 +00:00
Jim Meyering
d936975f34
*** empty log message ***
2002-02-26 14:53:28 +00:00
Jim Meyering
4656d21181
(libfetish_a_SOURCES): Add acl.h, acl.c.
2002-02-26 14:53:18 +00:00
Jim Meyering
b11f94d927
.
2002-02-26 14:06:55 +00:00
Jim Meyering
f57432bb1d
tweak comment
2002-02-26 08:32:56 +00:00
Jim Meyering
3612fcbdb2
latest from FSF
2002-02-25 12:11:03 +00:00
Jim Meyering
60a7806d6e
*** empty log message ***
2002-02-24 17:24:29 +00:00
Jim Meyering
e3fe486f9f
Include posixver.h.
2002-02-24 17:24:06 +00:00
Jim Meyering
0142f9ed84
(DISTFILES.common): Add remove-potcdate.sin.
...
(.SUFFIXES): Add .sed and .sin.
(.sin.sed): New rule.
($(DOMAIN).pot-update): Depend on remove-potcdate.sed. If the old
POT file exists and the new POT file differs from it only in the
first POT-Creation-Date line, keep the old POT file. So the PO files
don't need to be remade, and automake's "distcheck" target succeeds.
(mostlyclean): Remove remove-potcdate.sed and additional temporary
files.
2002-02-23 09:16:44 +00:00
Jim Meyering
63d4f2d50b
.
2002-02-23 09:16:02 +00:00
Jim Meyering
6a8f12175a
*** empty log message ***
2002-02-23 09:15:45 +00:00
Jim Meyering
687ed33f94
.
2002-02-23 09:14:52 +00:00
Jim Meyering
39ae860d5b
(simple_cat, cat, main): Used char * rather than
...
unsigned char *, to avoid some technical violations of the C
standard, and to avoid the need for casts. I guess the
unsigned char * was probably there for improved performance
with ancient compilers, but the code wasn't using the
unsignedness any more.
Reported by Nelson H. F. Beebe.
(cat): int -> size_t for full_write arg. This doesn't
fix any bugs since the buffer size is small, but it makes
the code a bit clearer.
2002-02-23 09:12:20 +00:00
Jim Meyering
8f0c48cf2f
*** empty log message ***
2002-02-23 09:02:23 +00:00
Jim Meyering
a5d6352ca2
(xpath_concat): Reorder code to pacify
...
compilers that don't know that xalloc_die never returns.
2002-02-23 09:02:18 +00:00
Jim Meyering
1f8d1e1a94
*** empty log message ***
2002-02-20 16:09:14 +00:00
Jim Meyering
0d9dce8362
*** empty log message ***
2002-02-20 16:06:29 +00:00
Jim Meyering
69e2127485
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main): Use `posix2_version ()' in place of POSIX2_VERSION.
2002-02-20 16:06:20 +00:00
Jim Meyering
12756a214f
*** empty log message ***
2002-02-19 20:41:18 +00:00
Jim Meyering
7ca2112fce
(seq invocation): In the example, use "tail
...
-n 3", not "tail -3", to conform to POSIX 1003.1-2001.
2002-02-19 20:41:13 +00:00
Jim Meyering
b9bf7eada4
update due to modified mk-script
2002-02-18 12:41:49 +00:00
Jim Meyering
0692039ada
.
2002-02-18 12:40:53 +00:00
Jim Meyering
edd622d994
*** empty log message ***
2002-02-18 12:39:48 +00:00
Jim Meyering
c53546aa7e
*** empty log message ***
2002-02-18 12:39:42 +00:00
Jim Meyering
c58e076233
(test_vector): Rename tests of obsolete usage to have prefix of `obs'.
...
For tests matching /^obs/,
put _POSIX2_VERSION=199209 in the environment, so the tests succeed
even when the environment would have contained _POSIX2_VERSION=200112.
2002-02-18 12:39:19 +00:00
Jim Meyering
20f7083676
*** empty log message ***
2002-02-18 12:35:15 +00:00
Jim Meyering
ebf1beaf96
For tests matching /^(obs|err-[134])/,
...
put _POSIX2_VERSION=199209 in the environment, so the tests succeed
even when the environment would have contained _POSIX2_VERSION=200112.
2002-02-18 12:35:00 +00:00
Jim Meyering
42eb22a775
*** empty log message ***
2002-02-18 12:33:30 +00:00
Jim Meyering
68d442ddaf
When getting input via a pipe, apply the
...
environment settings to the command in question, not to `cat'.
No longer allow more than one element in the
$Test::env or $Test::env_default arrays. No one used that.
2002-02-18 12:33:11 +00:00
Jim Meyering
5e8ee3161d
*** empty log message ***
2002-02-17 22:53:18 +00:00
Jim Meyering
3f570570fd
Tell sort to accept old-style options.
2002-02-17 22:50:33 +00:00
Jim Meyering
4228c4b860
.
2002-02-17 22:48:54 +00:00
Jim Meyering
1b34d3edee
Tell head to accept old-style options like `-1'.
2002-02-17 22:48:45 +00:00
Jim Meyering
94fcdc55eb
*** empty log message ***
2002-02-17 22:39:51 +00:00
Jim Meyering
09eb7ebbca
Tell head to accept old-style options like `-1'.
2002-02-17 22:39:47 +00:00
Jim Meyering
91564c12b0
*** empty log message ***
2002-02-17 21:47:43 +00:00
Jim Meyering
a261a6aa62
(tsort invocation): Add a more realistic example.
2002-02-17 21:47:35 +00:00
Jim Meyering
59ad795300
(tsort background): New section.
...
From Ian Lance Taylor.
2002-02-17 20:26:43 +00:00
Jim Meyering
3b118bfa86
.
2002-02-17 20:15:49 +00:00
Jim Meyering
9c5a25e176
.
2002-02-17 20:14:18 +00:00
Jim Meyering
525a872b3f
*** empty log message ***
2002-02-17 20:13:45 +00:00
Jim Meyering
908d3853ac
*** empty log message ***
2002-02-17 19:13:21 +00:00
Jim Meyering
2377fcd9a3
(wget_files): Reflect new location of these files.
2002-02-17 19:13:11 +00:00
Jim Meyering
5e55fec6e9
*** empty log message ***
2002-02-17 19:05:53 +00:00
Jim Meyering
28d582acd9
($(DOMAIN).pot-update): Remove/replace the .pot
...
file only if the new one is different (modulo the creation date).
2002-02-17 16:20:39 +00:00
Jim Meyering
2b345f4a8d
*** empty log message ***
2002-02-17 08:45:54 +00:00
Jim Meyering
49a3c7a82d
Upgrade to gettext-0.11.
2002-02-16 14:59:31 +00:00
Jim Meyering
2202d97525
Upgrade to gettext-0.11.
2002-02-16 14:58:48 +00:00
Jim Meyering
83dcec4e43
Update to Gettext 0.11
2002-02-16 14:40:15 +00:00
Jim Meyering
ad61fd4133
Update to Gettext 0.11
2002-02-16 14:39:44 +00:00
Jim Meyering
9644fae0fd
.
2002-02-16 14:39:34 +00:00
Jim Meyering
36dd24da90
renamed from doc/texinfo.tex
2002-02-16 14:27:18 +00:00
Jim Meyering
b79eab3aa6
renamed to config/texinfo.tex
2002-02-16 14:27:17 +00:00
Jim Meyering
c7f3f0fba9
renamed to config/mdate-sh
2002-02-16 14:26:57 +00:00
Jim Meyering
0bca413339
renamed from doc/mdate-sh
2002-02-16 14:26:57 +00:00
Jim Meyering
a714e6b4e5
renamed from mkinstalldirs
2002-02-16 14:23:56 +00:00
Jim Meyering
246ae48193
renamed from install-sh
2002-02-16 14:23:51 +00:00
Jim Meyering
96cb172817
renamed from missing
2002-02-16 14:23:46 +00:00
Jim Meyering
59c60442f3
renamed from depcomp
2002-02-16 14:23:41 +00:00
Jim Meyering
7408ba7d77
renamed from config.sub
2002-02-16 14:23:37 +00:00
Jim Meyering
8b7fb356cb
renamed from config.guess
2002-02-16 14:23:31 +00:00
Jim Meyering
b164e8fd95
Update to Autoconf 2.52h.
2002-02-16 14:15:27 +00:00
Jim Meyering
8481ec72a8
Update to Gettext 0.11.
2002-02-16 14:10:17 +00:00
Jim Meyering
90e921d334
Update to Gettext 0.11.
2002-02-16 14:08:46 +00:00
Jim Meyering
f033fef4ce
Add support for _POSIX2_VERSION, which lets you pick which POSIX
...
version you want the utilities to conform to. Remove warnings about
failure to conform to a future POSIX version.
(ISO_8601_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(usage): Document only the intersection of the
old and new behaviors, to encourage portability.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 09:04:30 +00:00
Jim Meyering
7513e6d4f4
Add support for _POSIX2_VERSION, which lets you pick which POSIX
...
version you want the utilities to conform to. Remove warnings about
failure to conform to a future POSIX version.
(usage): Document only the intersection of the
old and new behaviors, to encourage portability.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 09:03:12 +00:00
Jim Meyering
361dda3c20
*** empty log message ***
2002-02-16 08:59:10 +00:00
Jim Meyering
44cfebcac7
*** empty log message ***
2002-02-16 08:58:20 +00:00
Jim Meyering
e2ae699ef5
Use head -n 150', not head -150'.
2002-02-16 08:55:56 +00:00
Jim Meyering
b2b2d44f20
*** empty log message ***
2002-02-16 08:55:02 +00:00
Jim Meyering
76272609c2
Use head -n 7', not head -7'.
2002-02-16 08:54:52 +00:00
Jim Meyering
ebce0d1dec
.
2002-02-16 08:26:04 +00:00
Jim Meyering
21d2ed30b3
*** empty log message ***
2002-02-16 08:23:43 +00:00
Jim Meyering
7592628e48
(jm_PREREQ_POSIXVER): New macro.
...
(jm_PREREQ): Use it.
2002-02-16 08:23:10 +00:00
Jim Meyering
9fff44980c
Document _POSIX2_VERSION.
2002-02-16 08:22:32 +00:00
Jim Meyering
5de5f30d9b
*** empty log message ***
2002-02-16 08:21:44 +00:00
Jim Meyering
aa21da0560
fix typo
2002-02-16 08:20:34 +00:00
Jim Meyering
c1e20b738a
Add support for _POSIX2_VERSION, which lets you pick which POSIX
...
version you want the utilities to conform to. Remove warnings about
failure to conform to a future POSIX version.
* NEWS, doc/coreutils.texi: Document _POSIX2_VERSION.
* doc/coreutils.texi (Standards Conformance): New section.
2002-02-16 08:16:26 +00:00
Jim Meyering
981a7966e7
*** empty log message ***
2002-02-16 08:14:53 +00:00
Jim Meyering
cc98f8a745
(libfetish_a_SOURCES): Add posixver.c and posixver.h.
2002-02-16 08:14:09 +00:00
Jim Meyering
815c5a7a31
new file, from Paul Eggert
2002-02-16 08:13:08 +00:00
Jim Meyering
5c7becf8ca
*** empty log message ***
2002-02-16 08:12:01 +00:00
Jim Meyering
b7bdf635da
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 08:11:50 +00:00
Jim Meyering
1e6f7000ac
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main, parse_obsolescent_option): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 08:10:10 +00:00
Jim Meyering
e1ce35d51f
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 08:04:12 +00:00
Jim Meyering
12549a6db8
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 08:00:46 +00:00
Jim Meyering
3741aa834b
(_POSIX2_VERSION, POSIX2_VERSION): Remove definitions.
...
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): Likewise.
2002-02-16 07:47:48 +00:00
Jim Meyering
e98b44e829
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 07:44:20 +00:00
Jim Meyering
9cb0d2f448
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(SEP_STRING_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 07:42:52 +00:00
Jim Meyering
8232744d27
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.
2002-02-16 07:39:17 +00:00
Jim Meyering
a5e2a85f07
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(STRINGS_OPTION, WIDTH_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
2002-02-16 07:37:15 +00:00
Jim Meyering
1183723f25
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.
2002-02-16 07:31:27 +00:00
Jim Meyering
014c8f4a02
Include posixver.h.
...
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.
2002-02-16 07:29:18 +00:00
Jim Meyering
b042392540
.
2002-02-16 07:22:32 +00:00
Jim Meyering
7823d1aaed
*** empty log message ***
2002-02-16 07:22:17 +00:00
Jim Meyering
f676dbef22
New test for change of 2002-02-05.
2002-02-16 07:22:09 +00:00
Jim Meyering
0798f9740f
(TESTS): Add split-a.
2002-02-16 07:21:59 +00:00
Jim Meyering
80cb677ce9
Change 'split' to conform to POSIX. It now accepts an -a or
...
--suffix-length option, and refuses to generate more files
than there are suffixes.
Document this.
2002-02-15 15:22:32 +00:00
Jim Meyering
18a3d6a8aa
from texinfo-4.0g
2002-02-15 09:10:54 +00:00
Jim Meyering
9e2f2e9f31
.
2002-02-13 13:59:39 +00:00
Jim Meyering
98ca17881b
*** empty log message ***
2002-02-12 15:46:40 +00:00
Jim Meyering
d4e24746dc
(DEFAULT_SUFFIX_LENGTH): Define constant.
...
(suffix_length): Use it here.
(usage): Use it here.
2002-02-12 15:46:34 +00:00
Jim Meyering
65cbf7d1fd
Include "dirname.h".
...
(outbase): Now a global var.
(outfile_end): Remove.
(suffix_length): New var.
(shortopts, longopts, main): Add -a or --suffix-length.
(next_file_name): Implement -a. Do not extend the suffix length.
Check for file names that are too long.
(main): Move outfile initialization to next_file_name.
(shortopts): Remove -v (a typo).
2002-02-12 15:44:16 +00:00
Jim Meyering
edcef60550
*** empty log message ***
2002-02-12 07:40:54 +00:00
Jim Meyering
3e7513f731
*** empty log message ***
2002-02-12 07:40:39 +00:00
Jim Meyering
2efda64d38
(main): Output warnings only if OBSOLETE_OPTION_WARNINGS.
2002-02-12 07:40:24 +00:00
Jim Meyering
e34b2d9108
.
2002-02-11 23:27:05 +00:00
Jim Meyering
bc4fb9c6f0
*** empty log message ***
2002-02-11 23:26:20 +00:00
Jim Meyering
a4376b2603
Add more support for POSIX 1003.1-2001, which requires removal
...
for support of obsolete "-DIGITS" option syntax in nice, and
which prohibits options with optional arguments like date's
-I option.
Document this.
2002-02-11 23:25:34 +00:00
Jim Meyering
28bcd77302
*** empty log message ***
2002-02-11 23:23:48 +00:00
Jim Meyering
6793260cdd
(main): Conform to POSIX 1003.1-2001 if
...
POSIX2_VERSION says to, otherwise warn of obsolete usage if
OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.
2002-02-11 23:23:42 +00:00
Jim Meyering
d614857d03
Add more support for POSIX 1003.1-2001, which requires removal
...
for support of obsolete "-DIGITS" option syntax in nice, and
which prohibits options with optional arguments like date's
-I option.
(ISO_8601_OPTION): New enum value.
(long_options): Use it.
(short_options): New constant.
(usage): Document the change.
(main): Conform to POSIX 1003.1-2001 if
POSIX2_VERSION says to, otherwise warn of obsolete usage if
OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.
2002-02-11 22:58:59 +00:00
Jim Meyering
8abf13fa94
*** empty log message ***
2002-02-11 21:45:02 +00:00
Jim Meyering
154e260c9d
(usage): Describe %F, %g, %G, %P, and %R.
2002-02-11 21:44:35 +00:00
Jim Meyering
1b7ac91429
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
2002-02-11 15:11:05 +00:00
Jim Meyering
bbc05d986e
.
2002-02-11 15:04:51 +00:00
Jim Meyering
21b915db0f
*** empty log message ***
2002-02-11 14:35:02 +00:00
Jim Meyering
c2fbf52745
Use tail -n +2', rather than tail +2'.
2002-02-11 14:34:49 +00:00
Jim Meyering
5c754a018b
*** empty log message ***
2002-02-11 14:32:49 +00:00
Jim Meyering
821811d87f
From Bruno Haible
...
(print_esc): Call print_unicode_char with exit_on_error = false.
2002-02-11 14:32:22 +00:00
Jim Meyering
57eace9a0f
*** empty log message ***
2002-02-11 14:29:31 +00:00
Jim Meyering
afd24a90a3
2002-02-02 Paul Eggert <eggert@twinsun.com>
...
Bruno Haible <bruno@clisp.org >
* unicodeio.c (unicode_to_mb): New function, extracted from
print_unicode_char. Call failure callback instead of error.
(fwrite_success_callback): New function.
(exit_failure_callback): New function.
(fallback_failure_callback): New function.
(print_unicode_char): Call unicode_to_mb.
2002-02-11 14:28:35 +00:00
Jim Meyering
395fbc0389
2002-02-02 Paul Eggert <eggert@twinsun.com>
...
Bruno Haible <bruno@clisp.org >
* unicodeio.c (unicode_to_mb): New function, extracted from
print_unicode_char. Call failure callback instead of error.
(fwrite_success_callback): New function.
(exit_failure_callback): New function.
(fallback_failure_callback): New function.
(print_unicode_char): Call unicode_to_mb.
2002-02-11 14:28:09 +00:00
Jim Meyering
19d1db4624
.
2002-02-11 14:13:30 +00:00
Jim Meyering
f54a032ad1
*** empty log message ***
2002-02-11 11:00:55 +00:00
Jim Meyering
213d9a655f
(TESTS): Add head-pos.
2002-02-11 11:00:46 +00:00
Jim Meyering
71447df741
*** empty log message ***
2002-02-11 11:00:10 +00:00
Jim Meyering
e44fbb95ea
(head_lines): If we have read too much data, try
...
to seek back to the position we would have gotten to had we
been reading one byte at a time. POSIX currently doesn't
require this, but it's easy to do and some software relies on it.
2002-02-11 11:00:00 +00:00
Jim Meyering
5ec71c5990
New file/test for the change of 2002-02-08.
2002-02-11 10:55:51 +00:00
Jim Meyering
f1587760e9
*** empty log message ***
2002-02-11 08:37:00 +00:00
Jim Meyering
78c4877776
*** empty log message ***
2002-02-11 08:35:10 +00:00
Jim Meyering
55a1f9d86b
(unquote): Make comment a little clearer.
2002-02-11 08:34:47 +00:00
Jim Meyering
a759b38acf
*** empty log message ***
2002-02-10 21:04:12 +00:00
Jim Meyering
04a5f2605f
*** empty log message ***
2002-02-02 09:54:50 +00:00
Jim Meyering
7278cc2e51
(main): Prepend `warning: ' to the diagnostic, so it's
...
consistent with all of the other `... is obsolete...' diagnostics.
2002-02-02 09:54:38 +00:00
Jim Meyering
4166236b53
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(usage): Document this.
(shortopts): New constant.
(main): Check for obsolete options.
2002-02-02 09:53:26 +00:00
Jim Meyering
1f6bad2b30
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(usage): Document this.
(shortopts): New constant.
(main): Check for obsolete options.
2002-02-02 09:47:57 +00:00
Jim Meyering
3c25a62eb8
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(usage): Document this.
(main): Check for obsolete options.
(shortopts): New constant.
(main): Use -1, not EOF, for getopt_long.
2002-02-02 09:40:50 +00:00
Jim Meyering
5e2bb11618
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(main): Check for obsolete options.
(short_options): New constant.
2002-02-02 09:37:12 +00:00
Jim Meyering
44dc43bb3d
*** empty log message ***
2002-02-02 09:35:52 +00:00
Jim Meyering
bf76cb368c
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(usage): Document it.
(main): Check for obsolete options.
(short_options): New constant.
(SEP_STRING_OPTION): New enum value.
(long_options): Use it.
2002-02-02 09:35:43 +00:00
Jim Meyering
c578654cad
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(usage): Document it.
(main): Check for obsolete options.
(short_options): New constant.
New enum for long options.
2002-02-02 09:31:09 +00:00
Jim Meyering
bf3a5672fb
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(usage): Document it.
(main): Check for obsolete options.
(header_mode_option): New constant.
2002-02-02 08:10:04 +00:00
Jim Meyering
f87b5cab0c
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(main): Check for obsolete options.
(main): Fix bug: -- -N was treated as -N --.
2002-02-02 07:58:50 +00:00
Jim Meyering
33f9d106bc
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(shortopts): New constant.
(main): Check for obsolete options.
2002-02-02 07:54:49 +00:00
Jim Meyering
793fbbc7f2
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): New macros.
2002-02-02 00:06:50 +00:00
Jim Meyering
20c2cd43a9
*** empty log message ***
2002-02-01 23:47:28 +00:00
Jim Meyering
546f26cbb3
* src/shred.c: (VERBOSE_UPDATE): Update every 5 seconds, not every 10.
...
(wipename): Quote file names only when necessary.
(main): Copy quoted string into malloc'd storage so it doesn't
get clobbered when using -u and --verbose.
Minor clean-up.
* src/shred.c:
Use `NULL' rather than `(time_t *) 0'.
(dopass): Use STREQ in place of strcmp.
Add parentheses around use of nested ternary operator.
2002-02-01 23:43:46 +00:00
Jim Meyering
a00579f70b
(VERBOSE_UPDATE): Now counts seconds, not bytes.
...
(dopass): If verbose, output a line every VERBOSE_UPDATE seconds,
and suppress duplicate output lines. Output a percentage as well
as a count of bytes.
Also, fix comment/code typo regarding how many bytes have been
written; this typo was harmless before, but is no longer harmless with
the above change in effect.
2002-02-01 23:34:57 +00:00
Jim Meyering
61d5f094fd
(rm): Add a comment.
2002-02-01 23:30:23 +00:00
Jim Meyering
3e04fcdbb5
Add more support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.
(parse_obsolescent_option, main): Likewise.
2002-02-01 16:31:55 +00:00
Jim Meyering
31cb36e88f
(start_lines): Handle the case in which bytes_read is zero.
2002-02-01 09:12:50 +00:00
Jim Meyering
06506ceb4f
*** empty log message ***
2002-01-28 13:51:22 +00:00
Jim Meyering
2c1c1dc64e
(ac-check): Remove, now that we no longer have
...
to duplicate that information.
2002-01-28 13:50:50 +00:00
Jim Meyering
7db90444af
*** empty log message ***
2002-01-28 10:10:33 +00:00
Jim Meyering
92747bfbc9
*** empty log message ***
2002-01-28 10:09:08 +00:00
Jim Meyering
467a80a588
*** empty log message ***
2002-01-28 10:08:38 +00:00
Jim Meyering
2d34812b74
*** empty log message ***
2002-01-28 06:30:41 +00:00
Jim Meyering
874d77f17f
*** empty log message ***
2002-01-27 07:53:45 +00:00
Jim Meyering
662fff7861
tail -n +2 would perform an extra read after encountering EOF
...
(start_lines): Detect EOF, inform caller.
(tail_lines): Upon EOF in start_lines, return immediately.
2002-01-27 07:53:37 +00:00
Jim Meyering
2852c1c0a1
split a long line
2002-01-26 22:04:00 +00:00
Jim Meyering
bae9a65da4
.
2002-01-26 19:03:43 +00:00
Jim Meyering
a08c6469be
(jm_MACROS): Require autoconf-2.52g.
2002-01-26 19:03:23 +00:00
Jim Meyering
c99c6c304a
.
2002-01-26 09:56:05 +00:00
Jim Meyering
6cf1df86a5
*** empty log message ***
2002-01-26 09:55:15 +00:00
Jim Meyering
b2d18ac8f5
(getdate$U.o): Depend on unlocked-io.h.
2002-01-26 09:55:02 +00:00
Jim Meyering
1c3fa0f99e
*** empty log message ***
2002-01-24 09:14:52 +00:00
Jim Meyering
5d9ed2d7bc
(START-INFO-DIR-ENTRY): Remove a few entries
...
and clean up a few others based on suggestions from Bob Proulx.
2002-01-24 09:14:45 +00:00
Jim Meyering
97d18a1d85
*** empty log message ***
2002-01-22 18:16:06 +00:00
Jim Meyering
7e37a5e5e1
(skip): Remove redundant check for overflow.
...
fseeko's seek argument is already known to be in range,
since it is less than the file size.
2002-01-22 18:15:57 +00:00
Jim Meyering
d283021a71
(save_stdin): Report proper errno value after
...
fwrite failures. Do not bother to rewind the temp file, as
it'll be read backwards anyway.
2002-01-22 17:50:41 +00:00
Jim Meyering
0e4a77847a
.
2002-01-22 12:00:00 +00:00
Jim Meyering
bc3afd9b46
*** empty log message ***
2002-01-22 11:59:20 +00:00
Jim Meyering
fb92d24736
(Makefile): Don't depend on $(BUILT_SOURCES).
...
Otherwise, some versions of automake would omit the rule that makes
Makefile from Makefile.in.
2002-01-22 11:59:11 +00:00
Jim Meyering
c00f96b198
.
2002-01-22 11:58:36 +00:00
Jim Meyering
7a50bc0dff
header-check: fix it yet again
2002-01-22 11:22:03 +00:00
Jim Meyering
31a6a88517
(header-check): Add `&& :'.
2002-01-22 11:13:50 +00:00
Jim Meyering
78ebc8e8d5
*** empty log message ***
2002-01-22 11:12:00 +00:00
Jim Meyering
e053850b61
*** empty log message ***
2002-01-22 11:11:22 +00:00
Jim Meyering
aa247b62b3
.
2002-01-22 11:03:33 +00:00
Jim Meyering
c31e5c3ca5
update copyright year
2002-01-22 11:02:31 +00:00
Jim Meyering
3da062869b
(swallow_file_in_memory): Work even if `open' returns 0.
...
Check for `close' error.
2002-01-22 10:51:53 +00:00
Jim Meyering
f8053809f8
remove the parens I just added to Paul's patch
2002-01-22 10:47:14 +00:00
Jim Meyering
ef95b3233e
(EOVERFLOW, fseeko): New macros.
2002-01-22 10:46:05 +00:00
Jim Meyering
437d89a151
(skip): Use fseeko rather than lseek.
...
(Also, check for overflow when converting uintmax_t to off_t.)
2002-01-22 10:44:13 +00:00
Jim Meyering
2b1c83e4e2
*** empty log message ***
2002-01-22 10:34:49 +00:00
Jim Meyering
e4407b754b
(jm_MACROS): Require AC_FUNC_FSEEKO.
2002-01-22 10:34:43 +00:00
Jim Meyering
f2c93707b4
.
2002-01-22 09:53:13 +00:00
Jim Meyering
5713380d80
.
2002-01-22 08:14:46 +00:00
Jim Meyering
ff9ea9b139
*** empty log message ***
2002-01-22 08:13:00 +00:00
Jim Meyering
026c2017b1
Include xmemcoll.h, not memcoll.h.
...
Use xmemcoll instead of memcoll.
(die): Do not invoke cleanup; atexit does this now.
(main): Use atexit to invoke cleanup on exit.
Set xmemcoll_exit_failure to SORT_FAILURE.
2002-01-22 08:12:51 +00:00
Jim Meyering
64eb355c76
Include xmemcoll.h, not memcoll.h.
...
Use xmemcoll instead of memcoll.
2002-01-22 08:11:04 +00:00
Jim Meyering
023877ac27
*** empty log message ***
2002-01-22 08:04:03 +00:00
Jim Meyering
cc6668c3e7
(libfetish_a_SOURCES): Add them.
2002-01-22 08:03:54 +00:00
Jim Meyering
ecf261bb6e
*** empty log message ***
2002-01-22 08:02:55 +00:00
Jim Meyering
3de8f89388
(quotearg_n_style_mem): New function.
2002-01-22 08:02:43 +00:00
Jim Meyering
1495a99781
(quotearg_buffer_restyled):
...
Fix bug with quoting buffers containing NUL when backslashing escapes.
This bug was exposed by the other changes in this patch.
(quotearg_n_options): New arg ARGSIZE.
All callers changed.
(quoting_options_from_style): New function.
(quotearg_n_style): Use it.
(quotearg_n_style_mem): New function.
2002-01-22 08:02:22 +00:00
Jim Meyering
80e8506f75
Include errno.h, and declare errno if not defined.
...
(memcoll): Set errno to zero if there is no error.
2002-01-22 07:56:44 +00:00
Jim Meyering
bb1f5171c4
*** empty log message ***
2002-01-21 23:33:51 +00:00
Jim Meyering
5883167774
*** empty log message ***
2002-01-21 22:02:35 +00:00
Jim Meyering
2d1ec93821
(CMP_WITH_IGNORE): Don't assume that the difference
...
between two size_t values can be stored in an int; this doesn't
work, for example, on 64-bit Solaris.
2002-01-21 22:02:28 +00:00
Jim Meyering
012945ff54
(keycmp): Don't assume that the difference between two size_t values can be
...
stored in an int; this doesn't work, for example, on 64-bit Solaris.
Also, fix the type of two locals to be size_t instead of int.
2002-01-21 22:01:58 +00:00
Jim Meyering
0199f37303
(compare_files): Don't assume that the difference
...
between two size_t values can be stored in an int; this doesn't
work, for example, on 64-bit Solaris.
2002-01-21 22:00:32 +00:00
Jim Meyering
8ecf5f402d
*** empty log message ***
2002-01-21 20:04:08 +00:00
Jim Meyering
81e204a3e7
(header-check): New rule.
...
(local-check): Add header-check.
2002-01-21 20:03:59 +00:00
Jim Meyering
ccfd76fbc8
(strftime-check): New rule.
...
(local-check): Convert this target to a list. Update uses.
Mark them as .PHONY.
2002-01-21 19:57:53 +00:00
Jim Meyering
0957ccf367
*** empty log message ***
2002-01-21 19:53:45 +00:00
Jim Meyering
3ca688d69a
Don't include "xalloc.h", as system.h already does that via sys2.h.
2002-01-21 19:53:23 +00:00
Jim Meyering
885956355c
*** empty log message ***
2002-01-21 19:52:06 +00:00
Jim Meyering
e6345ecb09
Don't include "xalloc.h", as system.h already does that via sys2.h.
2002-01-21 19:51:31 +00:00
Jim Meyering
758e7f409f
Don't include "xalloc.h", as system.h already does that via sys2.h.
2002-01-21 19:50:50 +00:00
Jim Meyering
945532de66
Don't include "xalloc.h", as system.h already does that via sys2.h.
2002-01-21 19:50:28 +00:00
Jim Meyering
54bf872aab
*** empty log message ***
2002-01-21 19:49:58 +00:00
Jim Meyering
ee6911b745
Don't include "xalloc.h", as system.h already does that via sys2.h.
2002-01-21 19:49:51 +00:00
Jim Meyering
c5c6647f22
Don't include "xalloc.h", as system.h already does that via sys2.h.
2002-01-21 19:49:24 +00:00
Jim Meyering
72d40f6724
Avoid undefined behavior when strcoll fails,
...
by resorting the directory with strcmp instead.
Include <setjmp.h>.
Include "quote.h".
(compare_atime, rev_cmp_atime, compare_ctime, rev_cmp_ctime,
compare_mtime, rev_cmp_mtime, compare_size, rev_comp_size,
compare_name, rev_cmp_name, compare_extension, rev_cmp_extension,
compare_version, rev_compare_version): Move before use, so that
we can remove the forward declaration. Reimplement in terms of
the new functions described below, using xstrcoll instead of strcoll.
(failed_strcoll): New var.
(xstrcoll): New function.
(V): New type.
(cmp_ctime, compstr_ctime, rev_str_ctime): New functions.
(cmp_mtime, compstr_mtime, rev_str_mtime): Likewise.
(cmp_atime, compstr_atime, rev_str_atime): Likewise.
(cmp_size, compstr_size, rev_str_size): Likewise.
(cmp_version): Likewise.
(cmp_name, compstr_name, rev_str_name): Likewise.
(cmp_extension, compstr_extension, rev_str_extension): Likewise.
(sort_files): Use prototype for internal function var.
If the strcoll-based comparison fails, fall back on a strcmp-based one.
2002-01-20 20:44:49 +00:00
Jim Meyering
99f7bd761f
*** empty log message ***
2002-01-20 08:22:12 +00:00
Jim Meyering
325addae1d
Ensure that the two version numbers in configure.ac remain in sync.
...
(local-check): Depend on ac-check.
(ac_p_pkg, AC_INIT_PKG): Define.
(ac_p_ver, AC_INIT_VER): Define.
(ac-check): New rule.
2002-01-19 00:12:30 +00:00
Jim Meyering
4e69204179
.
2002-01-19 00:07:20 +00:00
Jim Meyering
c7b097f904
*** empty log message ***
2002-01-19 00:03:42 +00:00
Jim Meyering
8723a1eaae
*** empty log message ***
2002-01-19 00:02:48 +00:00
Jim Meyering
fe680fd860
*** empty log message ***
2002-01-18 23:59:25 +00:00
Jim Meyering
2bd66cf7fc
.
2002-01-18 23:56:59 +00:00
Jim Meyering
8e7e29d1de
.
2002-01-18 23:56:32 +00:00
Jim Meyering
96efa91b23
.
2002-01-18 23:50:03 +00:00
Jim Meyering
ea2703dd8c
*** empty log message ***
2002-01-18 23:47:33 +00:00
Jim Meyering
009e3b99cf
*** empty log message ***
2002-01-18 23:47:13 +00:00
Jim Meyering
10b3363e2e
(jm_MACROS): Use AC_FUNC_STRNLEN.
...
Remove useless quotes: DF_PROG="df".
2002-01-18 23:43:38 +00:00
Jim Meyering
c8aa23a9cc
(main): Issue a warning for obsolete usage, unless POSIXLY_CORRECT.
2002-01-18 23:40:06 +00:00
Jim Meyering
8a755a3d27
(parse_obsolescent_option): Issue a warning for obsolete usage,
...
unless POSIXLY_CORRECT.
2002-01-18 23:39:37 +00:00
Jim Meyering
36a16de45c
(main): Issue a warning for obsolete usage, unless POSIXLY_CORRECT.
2002-01-18 23:39:06 +00:00
Jim Meyering
6e2ffd49b1
tweak copyright line
2002-01-18 23:36:00 +00:00
Jim Meyering
2abefb14eb
*** empty log message ***
2002-01-18 19:51:04 +00:00
Jim Meyering
e2c1c2e529
Add these tests:
...
tr '[==]' x
tr '[::]' x
they should fail, not get a failed assertion.
2002-01-18 19:50:28 +00:00
Jim Meyering
067c2ea921
Fix tr so it no longer gets a failed assertion for [::] or [==].
...
(xmemdup): Rename from `substr' and rewrite to
take only pointer/length parameters.
(build_spec_list): Update sole caller.
Properly diagnose the invalid specs [::] and [==].
Pawel Prokop reported that `tr [::] _' elicits a failed assertion.
2002-01-18 19:18:07 +00:00
Jim Meyering
e91fe759ec
*** empty log message ***
2002-01-18 19:16:03 +00:00
Jim Meyering
37d0d50168
*** empty log message ***
2002-01-18 19:13:27 +00:00
Jim Meyering
6f46b8dd99
.
2002-01-18 15:40:54 +00:00
Jim Meyering
1f2f9be7f8
(main): Issue a warning for obsolete usage, unless POSIXLY_CORRECT.
2002-01-18 15:36:23 +00:00
Jim Meyering
96400fcda4
.
2002-01-16 23:33:48 +00:00
Jim Meyering
4ff8979277
*** empty log message ***
2002-01-16 23:32:01 +00:00
Jim Meyering
3e9354e7f7
Add support for POSIX 1003.1-2001, which requires removal for
...
support of the obsolete `touch [-acm] MMDDhhmm[YY] FILE...' syntax.
Document this.
2002-01-16 23:31:51 +00:00
Jim Meyering
42e25937cf
*** empty log message ***
2002-01-16 23:31:33 +00:00
Jim Meyering
1701230f32
Add support for POSIX 1003.1-2001, which requires removal for
...
support of the obsolete `touch [-acm] MMDDhhmm[YY] FILE...' syntax.
(usage, main): Implement this.
2002-01-16 23:31:14 +00:00
Jim Meyering
68bd369ece
*** empty log message ***
2002-01-16 23:14:24 +00:00
Jim Meyering
358a274042
Add support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "+" option syntax in sort, tail, and uniq.
* doc/coreutils.texi: Document this. (Also, document a similar
change to "touch", for fileutils).
2002-01-16 23:13:49 +00:00
Jim Meyering
2f8c0a3131
(ISDIGIT, S_ISVTX, S_IXUGO): Comment fix.
2002-01-16 23:04:06 +00:00
Jim Meyering
9b0e6e4b56
*** empty log message ***
2002-01-16 23:02:37 +00:00
Jim Meyering
2302cc643b
(_POSIX2_VERSION, POSIX2_VERSION): New macros.
2002-01-16 23:02:28 +00:00
Jim Meyering
f29617e3fe
add 2002 to Copyright line
2002-01-16 23:01:04 +00:00
Jim Meyering
485d699baf
tweak comment
2002-01-16 23:00:10 +00:00
Jim Meyering
a5bda3260c
add 2002 to Copyright line
2002-01-16 22:59:27 +00:00
Jim Meyering
b5b50f46ea
Add support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "+" option syntax in sort, tail, and uniq.
(usage, main): Implement this.
2002-01-16 22:59:14 +00:00
Jim Meyering
0037e217df
add 2002 to Copyright line
2002-01-16 22:56:54 +00:00
Jim Meyering
2bea3939c6
Add support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "+" option syntax in sort, tail, and uniq.
(usage, main): Implement this.
2002-01-16 22:56:33 +00:00
Jim Meyering
65562d99c3
Add support for POSIX 1003.1-2001, which requires removal for
...
support of obsolete "+" option syntax in sort, tail, and uniq.
(usage, parse_obsolescent_option): Implement the above.
2002-01-16 22:53:00 +00:00
Jim Meyering
f199c753eb
*** empty log message ***
2002-01-16 22:46:26 +00:00
Jim Meyering
af0225072d
(ISDIGIT): Comment fix.
...
add 2002 to Copyright line
2002-01-16 22:44:43 +00:00
Jim Meyering
d85702e334
add 2002 to Copyright line
2002-01-16 22:43:41 +00:00
Jim Meyering
b4012f613a
add 2002 to Copyright line
2002-01-16 22:38:26 +00:00
Jim Meyering
bc3a5c4e5f
add 2002 to Copyright line
2002-01-16 22:38:04 +00:00
Jim Meyering
fe734b9b2d
(ISDIGIT): Comment fix.
2002-01-16 22:37:35 +00:00
Jim Meyering
d298aab8a2
(ISDIGIT): Comment fix.
2002-01-16 22:36:52 +00:00
Jim Meyering
87ca587534
*** empty log message ***
2002-01-16 22:34:07 +00:00
Jim Meyering
aafbc6e7fc
(ISDIGIT): Comment fix.
...
Add three semicolons, each just before a closing brace.
Bison (as of version 1.31) no longer papers over that mistake.
2002-01-16 22:33:58 +00:00
Jim Meyering
8efbf4f961
.
2002-01-16 10:01:52 +00:00
Jim Meyering
9e19c0c5cd
*** empty log message ***
2002-01-14 18:52:15 +00:00
Jim Meyering
9b2c2ebb79
.
2002-01-14 09:58:35 +00:00
Jim Meyering
9f9d6f6c31
Comment fixes to bring us up to date with respect to POSIX 1003.1-2001.
...
In particular, POSIX.2 is now obsolete.
2002-01-14 09:58:19 +00:00
Jim Meyering
e73a9ed54d
Comment fixes to bring us up to date with respect to POSIX 1003.1-2001.
...
In particular, POSIX.2 is now obsolete.
2002-01-14 09:56:49 +00:00
Jim Meyering
84f8fd1af6
Comment fixes to bring us up to date with respect to POSIX 1003.1-2001.
...
In particular, POSIX.2 is now obsolete.
2002-01-14 09:56:28 +00:00
Jim Meyering
15e112e97b
*** empty log message ***
2002-01-14 08:53:49 +00:00
Jim Meyering
37d93402d2
(TESTS): Add sort.
...
(TESTS_ENVIRONMENT): Add PROG=$$tst. This is a gross kludge
that depends on the name of an automake-generated local variable.
2002-01-14 08:53:25 +00:00
Jim Meyering
b00199bd9b
*** empty log message ***
2002-01-14 08:52:45 +00:00
Jim Meyering
98ad587709
(mergefps): Fix bug when eliminating empty files.
2002-01-14 08:36:48 +00:00
Jim Meyering
5d1f26b8e5
.
2002-01-13 19:54:12 +00:00
Jim Meyering
dd3d3d7226
*** empty log message ***
2002-01-13 19:44:32 +00:00
Jim Meyering
fe42846981
*** empty log message ***
2002-01-13 09:33:37 +00:00
Jim Meyering
a907e0806e
Tweak to work with the programs in diffutils.
2002-01-13 09:33:32 +00:00
Jim Meyering
4705104cfa
.
2002-01-12 22:33:09 +00:00
Jim Meyering
706fae60a3
.
2002-01-12 22:32:46 +00:00
Jim Meyering
9aec59b45a
*** empty log message ***
2002-01-12 22:32:09 +00:00
Jim Meyering
3fcb933b8c
*** empty log message ***
2002-01-12 22:30:02 +00:00
Jim Meyering
50c1199e09
(copy_reg): Don't treat errno==ENOENT as a special case.
...
(same_file_ok): Detect a case that would have lead to the errno==ENOENT
condition above (and a misleading diagnostic), and return 0 so we give
a diagnostic about the source and destination being the same file.
(copy_internal): Use an explicit test for errno==EXDEV to detect
that rename has failed because source and destination are on
different devices. This reverts part of a change from 1997-12-13,
and is to avoid letting a race condition evoke a bogus diagnostic.
Note that while POSIX has encouraged the errno==EXDEV test for
years, it was inadequate back in 1997. I'm hoping that many
more systems have conforming support these days.
Reported by Michael Gaughen <mgaughen@polyserve.com >
2002-01-12 22:29:55 +00:00
Jim Meyering
5ce160d64c
*** empty log message ***
2002-01-12 22:19:06 +00:00
Jim Meyering
30c0861e98
*** empty log message ***
2002-01-12 09:14:08 +00:00
Jim Meyering
6d5707dfa6
(shred invocation): List some journaled filesystems.
2002-01-12 09:13:31 +00:00
Jim Meyering
fca9e007c6
(usage): Also mention Ext3.
2002-01-12 09:12:13 +00:00
Jim Meyering
75ecfa15f1
s/the the/the/ in a comment
2002-01-12 08:48:08 +00:00
Jim Meyering
e3cc4f6bc8
*** empty log message ***
2002-01-09 18:11:35 +00:00
Jim Meyering
d851ca7056
*** empty log message ***
2002-01-08 21:51:25 +00:00
Jim Meyering
4471d9eb05
(long_time_format): Extended translator comments.
2002-01-08 21:51:14 +00:00
Jim Meyering
39b517459f
update from master
2002-01-06 09:34:09 +00:00
Jim Meyering
d4eb26affa
*** empty log message ***
2002-01-05 21:13:34 +00:00
Jim Meyering
fc9f72abca
(version_etc_copyright): Update copyright year.
2002-01-05 21:13:29 +00:00
Jim Meyering
cec759ed61
*** empty log message ***
2002-01-05 20:38:36 +00:00
Jim Meyering
9d4fa35a77
.
2002-01-05 20:11:34 +00:00
Jim Meyering
66be6a1689
*** empty log message ***
2002-01-05 20:11:05 +00:00
Jim Meyering
aaa4c7445b
add another test
2002-01-05 20:10:44 +00:00
Jim Meyering
4d18918a3a
*** empty log message ***
2002-01-05 19:18:02 +00:00
Jim Meyering
26802588fa
(install-data-yes, uninstall-data-yes):
...
Install the LC_TIME locale category as an alias for LC_MESSAGES.
This fixes a bug introduced in the 2001-09-22 upgrade to gettext 0.10.40.
2002-01-02 19:59:44 +00:00
Jim Meyering
d8a4f42f8c
.
2001-12-31 07:56:43 +00:00
Jim Meyering
638f87f1bd
*** empty log message ***
2001-12-29 23:01:15 +00:00
Jim Meyering
521f68c0a5
*** empty log message ***
2001-12-29 22:59:09 +00:00
Jim Meyering
c672e2892b
(main): With -r, always dereference symlinks.
2001-12-29 22:58:40 +00:00
Jim Meyering
27d553aad2
*** empty log message ***
2001-12-29 22:55:43 +00:00
Jim Meyering
d04627589e
.
2001-12-29 22:55:17 +00:00
Jim Meyering
9782cef803
*** empty log message ***
2001-12-29 22:53:38 +00:00
Jim Meyering
88429654db
(TESTS): Add r-vs-symlink.
2001-12-29 22:53:09 +00:00
Jim Meyering
b9ca7077bb
.
2001-12-28 08:08:15 +00:00
Jim Meyering
f5bf6fe980
Use notation compatible with SI and with IEC 60027-2.
...
For example, --block-size=1MB now means --block-size=1000000,
whereas --block-size=1MiB now means --block-size=1048576.
A trailing `B' now means decimal, not binary; this is a silent change.
-H or --si now outputs the trailing 'B', for consistency with this.
Programs now output trailing 'K' (not 'k') to mean 1024.
New df, du short option -B is short for --block-size.
You can omit an integer `1' before a block size suffix,
e.g. `df -BG' is equivalent to `df -B 1G' and to `df --block-size=1G'.
Document the above. Remove documentation
for obsolescent constructs MD, --kilobytes, -m or --megabytes.
2001-12-21 11:54:04 +00:00
Jim Meyering
9db9190cd4
*** empty log message ***
2001-12-21 11:40:55 +00:00
Jim Meyering
df5fb23be1
*** empty log message ***
2001-12-21 11:39:22 +00:00
Jim Meyering
9b9c6a8565
[!HAVE_CONFIG_H]: Remove block of code that duplicated
...
code in lib/ for compiling this program without config.h.
2001-12-21 11:39:02 +00:00
Jim Meyering
51a3adcefa
(usage): Deprecate --kilobytes. Document size suffixes.
2001-12-21 11:36:35 +00:00
Jim Meyering
d1772031ee
(BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
...
(long_options, usage, main): Add -B.
(usage): Deprecate --kilobytes, -m, --megabytes.
Document size suffixes.
(print_header, show_dev): Enlarge column widths for trailing "B".
2001-12-21 11:35:54 +00:00
Jim Meyering
309253682d
(BLOCK_SIZE_OPTION): Remove; no longer needed now that we have 'B'.
...
(long_options, usage, main): Add -B.
(usage): Deprecate --kilobytes, -m, --megabytes.
Document size suffixes.
2001-12-21 11:31:54 +00:00
Jim Meyering
b34d965da0
(usage, parse_integer): Prefer K to k for 1024.
2001-12-21 11:28:34 +00:00
Jim Meyering
b9676dd73d
*** empty log message ***
2001-12-20 16:54:24 +00:00
Jim Meyering
de9ef8a7a7
*** empty log message ***
2001-12-20 16:53:56 +00:00
Jim Meyering
3c20276087
(usage, specify_sort_size): Accept 'K' (which is
...
now preferred, as it connotes 1024) as well as 'k'.
2001-12-20 16:53:50 +00:00
Jim Meyering
174e9df9c1
*** empty log message ***
2001-12-20 10:01:41 +00:00
Jim Meyering
8d83abaf89
(close_stdout_status): If ferror (stdout), do
...
not silently exit merely because the output buffer happens to
have nothing pending.
2001-12-20 10:01:25 +00:00
Jim Meyering
82a83f3743
*** empty log message ***
2001-12-19 18:10:46 +00:00
Jim Meyering
0b6b9b5195
Add FSF copyright notice.
2001-12-19 18:10:24 +00:00
Jim Meyering
ae3295706e
*** empty log message ***
2001-12-19 15:07:13 +00:00
Jim Meyering
79a8c33f6d
*** empty log message ***
2001-12-19 15:05:38 +00:00
Jim Meyering
44dcbba28a
(suffixes): Prefer K to k for 1024.
...
(generate_suffix_backwards): New function.
(human_readable_inexact): Use it.
2001-12-19 15:05:33 +00:00
Jim Meyering
f0ed17134a
(__xstrtol): If there is no number but there
...
is a valid suffix, assume 1. "MB" now means decimal, "MiB" binary.
Accept 'K' as well as 'k'.
2001-12-19 10:41:27 +00:00
Jim Meyering
1cc94659ad
(xstrtoumax): If there is no number but there
...
is a valid suffix, assume 1. "MB" now means decimal, "MiB" binary.
Accept 'K' as well as 'k'.
2001-12-19 10:35:39 +00:00
Jim Meyering
4ee49675d3
*** empty log message ***
2001-12-17 19:45:12 +00:00
Jim Meyering
2fcddf2514
(usage): Remove strap `)' in --help output.
2001-12-17 19:45:03 +00:00
Jim Meyering
450dbb37c2
*** empty log message ***
2001-12-17 09:09:05 +00:00
Jim Meyering
42ee53e9ba
*** empty log message ***
2001-12-17 09:08:39 +00:00
Jim Meyering
2a9c589d4d
*** empty log message ***
2001-12-17 09:07:22 +00:00
Jim Meyering
4efee8b478
(url_dir_list): Don't set define it here, but...
2001-12-17 09:06:56 +00:00
Jim Meyering
6e5e7b7179
(url_dir_list): ...define it here instead.
...
(hosts, a_host, b_host): Remove now-unused variables.
(alpha_subdir, a_url_dir, b_url_dir): Remove now-unused variables.
2001-12-17 09:06:33 +00:00
Jim Meyering
a580a5e647
(real_dir): Remove unused variable.
2001-12-17 09:01:08 +00:00
Jim Meyering
d63b8caa5c
use generated fs_name function
2001-12-16 22:59:07 +00:00
Jim Meyering
2fae9e5d26
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
...
instead of hard-coding --help and --version descriptions.
Split --help output into smaller pieces.
Use fputs, not printf.
2001-12-15 20:46:30 +00:00
Jim Meyering
9be58099c4
*** empty log message ***
2001-12-15 20:46:00 +00:00
Jim Meyering
49db4dd32c
*** empty log message ***
2001-12-15 16:59:00 +00:00
Jim Meyering
c6be028a84
(STREQ): Define.
2001-12-15 16:58:53 +00:00
Jim Meyering
e92b78f873
(__restrict_arr): Update from libc.
2001-12-15 16:57:15 +00:00
Jim Meyering
83c58cadbc
from Marcus Brinkmann
2001-12-15 16:45:38 +00:00
Jim Meyering
c3d224580c
*** empty log message ***
2001-12-15 10:38:55 +00:00
Jim Meyering
894cb43a58
*** empty log message ***
2001-12-15 10:37:11 +00:00
Jim Meyering
d063f15ca1
(ME_REMOTE): Recognize file systems of type smbfs
...
as `remote' if the name starts with `//'.
2001-12-15 10:36:58 +00:00
Jim Meyering
7e03c96656
*** empty log message ***
2001-12-15 09:29:14 +00:00
Jim Meyering
ae66a6b2b0
Also accept SunOS4's `Not owner' diagnostic.
2001-12-15 09:28:50 +00:00
Jim Meyering
686562b5a7
Run each --help and --version test with a few different settings
...
of LC_MESSAGES.
2001-12-15 09:14:21 +00:00
Jim Meyering
b094fe9daa
Fail also if ./$i --version fails.
2001-12-15 09:07:18 +00:00
Jim Meyering
16a1aff95a
*** empty log message ***
2001-12-14 11:21:13 +00:00
Jim Meyering
7f892add00
(jm_MACROS): Check for iswspace.
...
Suggestion from Bruno Haible.
2001-12-14 11:21:04 +00:00
Jim Meyering
a9f5b7cff2
*** empty log message ***
2001-12-13 11:17:49 +00:00
Jim Meyering
6b1cbebf24
*** empty log message ***
2001-12-13 11:12:35 +00:00
Jim Meyering
fc0b04b093
*** empty log message ***
2001-12-13 11:12:23 +00:00
Jim Meyering
8471372f24
(wc): Use ISSPACE and iswspace in addition to hard-coding
...
the ASCII space character.
2001-12-13 11:12:18 +00:00
Jim Meyering
80f17f22f2
*** empty log message ***
2001-12-11 11:51:17 +00:00
Jim Meyering
098bfeea80
(main):
...
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/
2001-12-11 11:49:36 +00:00
Jim Meyering
0ef9bacdc7
split long line
2001-12-11 11:49:14 +00:00
Jim Meyering
879adb17cc
(change_file_mode, main):
...
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/
2001-12-11 11:48:54 +00:00
Jim Meyering
92c8fc20fb
(change_file_owner):
...
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/
2001-12-11 11:48:21 +00:00
Jim Meyering
47a2e7569c
(main):
...
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/
2001-12-11 11:47:54 +00:00
Jim Meyering
d5654c49bd
(re_protect):
...
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/
2001-12-11 11:47:25 +00:00
Jim Meyering
a6a92722ff
Include the word `fail' in some diagnostics to make it clearer
...
that they indicate a failure.
s/getting attributes/failed to get attributes/
2001-12-11 11:46:49 +00:00
Jim Meyering
f5a1b61888
*** empty log message ***
2001-12-11 11:41:15 +00:00
Jim Meyering
24d1484e1c
(buggy_lseek_support): Remove function.
...
(skip_via_lseek) [__linux__]: New function.
(skip): Use skip_via_lseek, not buggy_lseek_support.
2001-12-11 11:40:50 +00:00
Jim Meyering
efc6e85c74
.
2001-12-10 00:17:05 +00:00
Jim Meyering
a988aefd03
Remove explicit declarations of xmalloc and xrealloc,
...
Instead, include "xalloc.h".
(initbuffer): Don't cast xmalloc return value to char*.
(readline): Reword comment.
Don't cast xrealloc return value to char*
Return NULL, not 0.
2001-12-10 00:13:36 +00:00
Jim Meyering
a49772f23b
*** empty log message ***
2001-12-09 22:57:15 +00:00
Jim Meyering
ea1f6ec04b
*** empty log message ***
2001-12-09 22:56:52 +00:00
Jim Meyering
0b072ba82c
(posix_time_parse): Add cast to avoid warning about
...
`signed and unsigned type in conditional expression'.
2001-12-09 22:56:16 +00:00
Jim Meyering
0928d79889
(mode_compile): Add cast to avoid warning about
...
`signed and unsigned type in conditional expression'.
2001-12-09 22:54:19 +00:00
Jim Meyering
6994cb9650
(xreadlink): Add cast to avoid a warning.
2001-12-09 22:46:53 +00:00
Jim Meyering
5b34b167f9
(readtoken): Declare an index to be of type unsigned
...
to avoid a pedantic warning.
2001-12-09 22:39:02 +00:00
Jim Meyering
923091ff96
Don't include assert.h.
...
(getstr): Remove warning-evoking assertions.
Return -1 if offset parameter is out of bounds.
Change the type of a local from int to size_t.
2001-12-09 22:08:19 +00:00
Jim Meyering
26061de96f
(my_strftime_localtime_r): Include this function
...
definition in the `#if ! HAVE_TM_GMTOFF' block.
2001-12-09 21:02:43 +00:00
Jim Meyering
102ad5c8ff
*** empty log message ***
2001-12-09 21:01:23 +00:00
Jim Meyering
bb0d2464f8
Remove declarations of xmalloc and xrealloc.
...
Include xalloc.h instead.
2001-12-09 21:01:15 +00:00
Jim Meyering
2de5b90948
*** empty log message ***
2001-12-09 10:27:44 +00:00
Jim Meyering
d85b445409
*** empty log message ***
2001-12-08 20:44:05 +00:00
Jim Meyering
707c2dc263
*** empty log message ***
2001-12-08 20:42:13 +00:00
Jim Meyering
7f8213c31e
*** empty log message ***
2001-12-08 20:41:53 +00:00
Jim Meyering
e1958d172e
(wget_files): Remove ansi2knr.c, since it's
...
no longer available at that location.
2001-12-08 20:41:46 +00:00
Jim Meyering
7f0947ae50
*** empty log message ***
2001-12-08 19:19:19 +00:00
Jim Meyering
dcfb371a6b
tweak to align with libc
2001-12-08 06:57:58 +00:00
Jim Meyering
acca325884
(join invocation): tweak wording
2001-12-05 14:14:43 +00:00
Jim Meyering
3e729d218d
*** empty log message ***
2001-12-04 21:38:54 +00:00
Jim Meyering
56117f587b
*** empty log message ***
2001-12-04 21:37:37 +00:00
Jim Meyering
568ec722bb
*** empty log message ***
2001-12-04 17:55:12 +00:00
Jim Meyering
a95d10ec54
Don't use diff's -u option. It's not portable.
...
Besides, with GNU diff one can use the DIFF_OPTIONS envvar.
2001-12-04 17:55:08 +00:00
Jim Meyering
8f730b8a46
(usage): Don't split translatable strings in the middle of a sentence.
2001-12-03 16:07:50 +00:00
Jim Meyering
2f8490672b
*** empty log message ***
2001-12-03 16:07:23 +00:00
Jim Meyering
99fbca4eba
(usage): Merge lone "\n" into adjacent string.
2001-12-03 15:56:48 +00:00
Jim Meyering
f05581b361
(usage): Merge lone "\n" into adjacent string.
2001-12-03 15:56:24 +00:00
Jim Meyering
5444831241
*** empty log message ***
2001-12-02 22:47:09 +00:00
Jim Meyering
1e40feefae
*** empty log message ***
2001-12-02 22:27:01 +00:00
Jim Meyering
f3ac2e7839
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
...
instead of hard-coding --help and --version descriptions.
2001-12-02 22:26:57 +00:00
Jim Meyering
01f0361e79
*** empty log message ***
2001-12-02 20:18:43 +00:00
Jim Meyering
33c85ae850
*** empty log message ***
2001-12-02 20:16:28 +00:00
Jim Meyering
db5fd4aaae
*** empty log message ***
2001-12-02 20:10:31 +00:00
Jim Meyering
f4df046ab6
(TESTS): Add recursive.
2001-12-02 20:10:25 +00:00
Jim Meyering
93da1d6e5b
use diff -u
2001-12-02 20:09:27 +00:00
Jim Meyering
3e947ade15
*** empty log message ***
2001-12-02 20:08:14 +00:00
Jim Meyering
800c8d7882
*** empty log message ***
2001-12-02 20:05:56 +00:00
Jim Meyering
7afc9d1829
(touch): Extend the change of 2001-09-15 to work on
...
systems for which errno is set to EPERM in that case. Thus, e.g.,
`touch /' by non-root gives a better diagnostic on systems like SunOS4.
2001-12-02 20:05:33 +00:00
Jim Meyering
15295aaf8a
*** empty log message ***
2001-12-02 19:59:49 +00:00
Jim Meyering
4542868aea
Don't declare getenv, thus reverting the change of 2001-11-18.
...
It's no longer necessary, now that stdlib.h is always included.
2001-12-02 19:59:39 +00:00
Jim Meyering
3287aaae94
*** empty log message ***
2001-12-02 17:47:34 +00:00
Jim Meyering
86eb6a1aac
*** empty log message ***
2001-12-02 17:47:01 +00:00
Jim Meyering
4a2b55cc60
[!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue.
2001-12-02 17:46:54 +00:00
Jim Meyering
73711e47bb
*** empty log message ***
2001-12-02 07:50:04 +00:00
Jim Meyering
e03be48b10
Don't emulate dd's skip=N for *all* character devices; lseek works
...
just fine on non-tape character devices like /dev/mem and /dev/kmem.
(buggy_lseek_support) [__linux__]: Emulate `skip=N'
behavior using reads, not lseek for Linux tape devices (major == 9).
Kernel lseek support for tapes is broken, up to and including
linux-2.4.16. Reported by Herbert Xu.
2001-12-02 07:49:46 +00:00
Jim Meyering
b8efd17fe8
(emit-upload-commands): Fix typo: s/distdir/PACKAGE/.
2001-12-02 06:49:33 +00:00
Jim Meyering
d7b3fa5629
.
2001-12-01 19:52:31 +00:00
Jim Meyering
8572927454
(po-check): Check for uses of _() not just in .c files, but also in .h files.
2001-12-01 17:56:23 +00:00
Jim Meyering
b3fca9f7f6
*** empty log message ***
2001-12-01 17:54:34 +00:00
Jim Meyering
3a0a028c8c
Reflect renaming to, and new usage of these macros:
...
HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION.
2001-12-01 17:41:25 +00:00
Jim Meyering
0c3fd30903
*** empty log message ***
2001-12-01 17:40:17 +00:00
Jim Meyering
52f3031b24
Rename just-added macros. Here are the new names:
...
HELP_OPTION_DESCRIPTION
VERSION_OPTION_DESCRIPTION
2001-12-01 17:31:09 +00:00
Jim Meyering
b3463e39bd
*** empty log message ***
2001-12-01 17:22:02 +00:00
Jim Meyering
a34483b143
(EMIT_HELP_DESCRIPTION): New macro.
...
(EMIT_VERSION_DESCRIPTION): New macro.
2001-12-01 17:21:57 +00:00
Jim Meyering
afa12bc912
(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTION
...
instead of hard-coding --help and --version descriptions.
2001-12-01 17:21:56 +00:00
Jim Meyering
c0f45e1e43
.
2001-12-01 15:41:16 +00:00
Jim Meyering
7c8e0d8c97
*** empty log message ***
2001-11-30 14:51:13 +00:00
Jim Meyering
b0b791399d
Include xalloc.h, so that xstrdup is declared before being defined.
2001-11-30 14:32:22 +00:00
Jim Meyering
6dd490fa03
.
2001-11-28 14:05:29 +00:00
Jim Meyering
dec4961f11
*** empty log message ***
2001-11-28 06:57:33 +00:00
Jim Meyering
ff927371bd
(quotearg_n, quotearg_n_style):
...
First arg is int, not unsigned.
2001-11-28 06:57:25 +00:00
Jim Meyering
0dc8754559
(quotearg_n, quotearg_n_style): Likewise.
...
(SIZE_MAX, UINT_MAX): New macros.
(quotearg_n_options): Abort if N is negative.
Avoid overflow check on hosts where size_t is 64 bits and int
is 32 bits, as overflow is impossible there.
Fix off-by-one typo that caused unnecessary reallocation.
2001-11-28 06:57:02 +00:00
Jim Meyering
fb66999103
Merge with version from libc.
2001-11-27 21:34:15 +00:00
Jim Meyering
97b434be77
*** empty log message ***
2001-11-27 20:49:52 +00:00
Jim Meyering
51cd0868f5
*** empty log message ***
2001-11-27 12:56:20 +00:00
Jim Meyering
65d5eb615d
Include stdlib.h unconditionally. On some old systems for which
...
STDC_HEADERS is 0, it was not included, resulting in a warning
about an integer-to-pointer conversion problem with getenv.
2001-11-27 12:55:16 +00:00
Jim Meyering
0bb8253d33
Merge with version from libc.
2001-11-27 12:54:58 +00:00
Jim Meyering
b0c1bd7cb5
(libfetish_a_SOURCES): Remove gtod.h.
2001-11-27 10:25:52 +00:00
Jim Meyering
2fe074017c
*** empty log message ***
2001-11-27 10:22:43 +00:00
Jim Meyering
e91b426d5a
Compare all lines of output.
...
Update code to use `trap' and more up to date infrastructure.
2001-11-27 10:22:28 +00:00
Jim Meyering
f05548e77b
*** empty log message ***
2001-11-27 10:19:30 +00:00
Jim Meyering
df4c89a556
The change of 2001-11-01 introduced a bug whereby some recursive
...
listings didn't have a blank line between per-directory groups of files.
(print_dir): Print a newline before each directory name
except the first one, rather than after each except the last, since
now (after the changes of 2001-11-01) detecting whether a `pending*'
is the last would involve more work. Reported by Andreas Schwab.
This change has no net effect.
(main): Remove always-true conjunct and add a comment.
2001-11-27 10:19:24 +00:00
Jim Meyering
2c9dc1f509
*** empty log message ***
2001-11-27 10:16:18 +00:00
Jim Meyering
b7d1e33e4a
*** empty log message ***
2001-11-27 07:50:35 +00:00
Jim Meyering
0d1ddb59de
(SET_MODE) [O_BINARY]: Call setmode, not set_mode.
2001-11-27 07:48:47 +00:00
Jim Meyering
022e60027b
Don't include "gtod.h"
...
(main): Don't `call' GETTIMEOFDAY_INIT.
2001-11-26 16:46:20 +00:00
Jim Meyering
2bb262fd64
*** empty log message ***
2001-11-26 12:31:12 +00:00
Jim Meyering
225d614f6f
Don't include gtod.h.
...
(GTOD_init): Remove function.
(rpl_gettimeofday): Do its job here instead, rather than aborting.
2001-11-26 12:29:43 +00:00
Jim Meyering
8087128c07
(cat): Don't test whether the full_write return value (of type size_t)
...
is less than 0. Reported by Nelson H. F. Beebe,
as a warning from Irix 6.5's C compiler.
2001-11-26 12:16:48 +00:00
Jim Meyering
3cfa2e263a
.
2001-11-26 12:08:16 +00:00
Jim Meyering
a927d9b0ae
*** empty log message ***
2001-11-26 11:04:49 +00:00
Jim Meyering
0099b7b26e
*** empty log message ***
2001-11-25 14:47:06 +00:00
Jim Meyering
9e1b4e382a
(usage): Indent --help and --version strings to start in the 7th column.
2001-11-25 14:46:05 +00:00
Jim Meyering
a62884b9bb
*** empty log message ***
2001-11-25 14:37:40 +00:00
Jim Meyering
79d3f45d37
(usage): Indent --help and --version strings to start in the 7th column.
2001-11-25 14:37:18 +00:00
Jim Meyering
31f6ab878e
*** empty log message ***
2001-11-24 10:00:54 +00:00
Jim Meyering
8fade926f8
Include signatures for the xdelta file, too.
2001-11-24 10:00:30 +00:00
Jim Meyering
7fa1528c0f
(emit-upload-commands): Rename from emit-rsync-commands.
...
Output only the package name and the prev and current version numbers.
2001-11-24 08:57:02 +00:00
Jim Meyering
5073e90886
*** empty log message ***
2001-11-24 08:19:59 +00:00