Paul Eggert
c3b2c15cfe
ls now exits with status 1 on minor problems, 2 if serious trouble.
2004-12-09 17:49:45 +00:00
Paul Eggert
a64afdee8b
ls and variants now exit with status 2 on serious trouble.
2004-12-09 17:49:18 +00:00
Paul Eggert
310ef64346
(LS_MINOR_PROBLEM, LS_FAILURE): New constants.
...
All uses of EXIT_FAILURE replaced with LS_FAILURE, unless
specified below.
(main): Initialize exit failure to LS_FAILURE.
(print_dir, gobble_file, get_link_name, xstrcoll):
Set exit status to LS_MINOR_PROBLEM if the failure is minor.
(print_dir): Do not give up on entire directory merely because readdir
returns EOVERFLOW.
(usage): Explain exit status.
2004-12-09 17:48:57 +00:00
Paul Eggert
73eca3827e
Undo previous change.
2004-12-08 23:05:42 +00:00
Paul Eggert
394d21a31e
Undo previous change; it's already there.
2004-12-08 23:05:13 +00:00
Paul Eggert
0f504f3f36
* src/join.c (usage): Mention that input files should be sorted.
2004-12-08 23:03:02 +00:00
Paul Eggert
98fe5b67ac
(usage): Mention that input files should be sorted.
2004-12-08 23:02:45 +00:00
Paul Eggert
7a0a0d4e7c
* NEWS: Document new UTC+HH:MM date syntax, and put date changes together.
2004-12-08 22:38:26 +00:00
Paul Eggert
05af1b4f11
Document new UTC+HH:MM date syntax, and put date changes together.
2004-12-08 22:38:10 +00:00
Paul Eggert
a00580a677
(Time of day items, Time zone items):
...
Describe new formats +00:00, UTC+00:00.
2004-12-08 22:27:12 +00:00
Paul Eggert
9d683a1b65
Add support for time zones like +HH:MM and UTC+HH:MM.
2004-12-08 22:26:37 +00:00
Paul Eggert
50c9e0509c
(textint): New member "negative".
...
(time_zone_hhmm): New function.
Expect 14 shift-reduce conflicts, not 13.
(o_colon_minutes): New rule.
(time, zone): Use it to add support for +HH:MM, UTC+HH:MM.
(yylex): Set the "negative" member of signed numbers.
2004-12-08 22:26:07 +00:00
Paul Eggert
ba5a97696f
* src/factor.c (factor): Don't list 1 as a factor of 1.
2004-12-07 21:12:40 +00:00
Paul Eggert
f84a6e71fe
(factor): Don't list 1 as a factor of 1.
...
Problem reported by Thomas Folz-Donahue.
2004-12-07 21:11:59 +00:00
Paul Eggert
29a74f8a30
* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change: spurious "-l"s.
2004-12-07 18:44:22 +00:00
Paul Eggert
c2f3ca32d2
(AC_FUNC_GETMNTENT): Fix typo in previous change:
...
spurious "-l"s.
2004-12-07 18:44:07 +00:00
Jim Meyering
1a55542a7c
*** empty log message ***
2004-12-06 22:45:41 +00:00
Jim Meyering
0170a262f5
*** empty log message ***
2004-12-06 22:44:39 +00:00
Jim Meyering
d28eb0923b
Sanitize environment.
...
Otherwise, e.g., BLOCKSIZE=k would cause a failure.
2004-12-06 22:42:47 +00:00
Jim Meyering
31ae5dcf85
.
2004-12-06 22:25:12 +00:00
Paul Eggert
e4b102af0e
* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
...
in Autoconf 2.59.
2004-12-06 21:56:21 +00:00
Jim Meyering
97af685a66
.
2004-12-06 11:52:00 +00:00
Jim Meyering
ff2b33dcae
*** empty log message ***
2004-12-06 11:50:04 +00:00
Jim Meyering
c1d66f31cf
Use AC_LIBOBJ(save-cwd).
2004-12-06 10:35:27 +00:00
Jim Meyering
760cfaf4d3
Use AC_LIBOBJ(chdir-long).
2004-12-06 10:35:19 +00:00
Jim Meyering
d4579825bc
(libfetish_a_SOURCES): Begin removing .c and .h file names, as they
...
are added to AC_LIBSOURCES directives in the corresponding m4/*.m4 files.
2004-12-06 10:10:19 +00:00
Jim Meyering
27d14caedd
*** empty log message ***
2004-12-06 10:06:49 +00:00
Jim Meyering
6ec428b7f7
(gl_SAVE_CWD): Use AC_LIBSOURCES.
2004-12-06 10:06:23 +00:00
Jim Meyering
e90702fd4b
*** empty log message ***
2004-12-06 10:03:46 +00:00
Jim Meyering
f005eb317b
(gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
2004-12-06 10:03:39 +00:00
Jim Meyering
3d1e6484f5
(gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
2004-12-06 10:02:18 +00:00
Jim Meyering
6cfc09f125
*** empty log message ***
2004-12-06 10:01:39 +00:00
Jim Meyering
5a36ddca47
(gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES.
2004-12-06 10:01:34 +00:00
Jim Meyering
1de56a5dc3
.
2004-12-06 10:00:43 +00:00
Jim Meyering
1cded77e7e
(gl_FUNC_OPENAT): Use AC_LIBSOURCES.
...
(gl_PREREQ_GETCWD): Use AC_REQUIRE.
2004-12-06 10:00:14 +00:00
Jim Meyering
b272341d19
.
2004-12-05 23:15:01 +00:00
Jim Meyering
9e373e5a86
*** empty log message ***
2004-12-05 23:01:57 +00:00
Jim Meyering
6d96f41e1a
(test_vector): Avoid test failure when
...
_POSIX2_VERSION=199209 is in the environment, or when building on
e.g., OpenBSD 3.2.
2004-12-05 23:01:53 +00:00
Jim Meyering
39a1adb375
*** empty log message ***
2004-12-05 21:11:56 +00:00
Jim Meyering
22dd0ce5f2
(unit-test): Depend on t-fpending.
...
Make the target .PHONY.
2004-12-05 21:11:48 +00:00
Jim Meyering
9390aecd60
*** empty log message ***
2004-12-05 20:17:08 +00:00
Jim Meyering
35dc3847ac
.
2004-12-05 20:03:06 +00:00
Jim Meyering
f31e5e6def
*** empty log message ***
2004-12-05 20:02:28 +00:00
Jim Meyering
89647b7451
(LDADD): Define.
2004-12-05 20:02:23 +00:00
Jim Meyering
55ec26651c
.
2004-12-05 19:50:46 +00:00
Jim Meyering
fbd9c5dc91
*** empty log message ***
2004-12-05 19:38:32 +00:00
Jim Meyering
8bd2bc6d00
*** empty log message ***
2004-12-05 19:37:56 +00:00
Jim Meyering
334c1b1801
(unit-test): New target.
...
(check): Depend on it.
(noinst_PROGRAMS): Define.
2004-12-05 19:37:49 +00:00
Jim Meyering
ff13a286c7
Test the __fpending function.
...
This ensures that if there is an error in the definition of the
PENDING_OUTPUT_N_BYTES expression, we'll find about it right away;
that value is used only in the rare event that close_stdout's
fclose fails with EBADF.
2004-12-05 19:28:15 +00:00
Jim Meyering
a2b300f156
revert to 1.8, now that we test the offending
...
condition externally (via new t-fpending.c program)
2004-12-05 19:27:47 +00:00