Jim Meyering [Fri, 26 Sep 2003 13:47:19 +0000 (13:47 +0000)]
Also list `chattr' in SEE ALSO section.
Jim Meyering [Fri, 26 Sep 2003 13:47:05 +0000 (13:47 +0000)]
*** empty log message ***
Jim Meyering [Thu, 25 Sep 2003 18:01:32 +0000 (18:01 +0000)]
*** empty log message ***
Jim Meyering [Thu, 25 Sep 2003 18:01:25 +0000 (18:01 +0000)]
Don't invoke AC_AIX or AC_MINIX explicitly, now
that we use gl_USE_SYSTEM_EXTENSIONS, since it AC_REQUIREs them.
Jim Meyering [Thu, 25 Sep 2003 17:50:05 +0000 (17:50 +0000)]
*** empty log message ***
Jim Meyering [Wed, 24 Sep 2003 17:57:03 +0000 (17:57 +0000)]
.
Jim Meyering [Wed, 24 Sep 2003 08:21:30 +0000 (08:21 +0000)]
(check_and_close, dump, dump_strings): Don't report bogus errno value
after ferror discovers an output error. We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
(skip): If a read fails, don't retry it later, so
that we report the proper errno.
Jim Meyering [Tue, 23 Sep 2003 22:02:44 +0000 (22:02 +0000)]
.
Jim Meyering [Tue, 23 Sep 2003 22:02:26 +0000 (22:02 +0000)]
(TESTS): Add deref-args.
Jim Meyering [Tue, 23 Sep 2003 22:00:51 +0000 (22:00 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Sep 2003 21:57:52 +0000 (21:57 +0000)]
(get_line): Report error right away if I/O fails,
so that the proper errno value is used.
Jim Meyering [Tue, 23 Sep 2003 21:57:19 +0000 (21:57 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Sep 2003 21:57:13 +0000 (21:57 +0000)]
(close_output_file): Don't report bogus errno value
after ferror discovers an output error. We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
Jim Meyering [Tue, 23 Sep 2003 17:47:59 +0000 (17:47 +0000)]
(paste_serial): Save errno after input error,
to report proper errno value.
Based on a patch from Paul Eggert.
Jim Meyering [Tue, 23 Sep 2003 12:12:25 +0000 (12:12 +0000)]
(fold_file): Save errno after input error, to report proper errno value.
Jim Meyering [Tue, 23 Sep 2003 12:09:33 +0000 (12:09 +0000)]
(compare_files): Save errno after input error, to report proper errno value.
Jim Meyering [Tue, 23 Sep 2003 08:01:26 +0000 (08:01 +0000)]
(unexpand): Save errno after input error, to report proper errno value.
Jim Meyering [Tue, 23 Sep 2003 07:53:25 +0000 (07:53 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Sep 2003 07:51:02 +0000 (07:51 +0000)]
(tee): Adjust fwrite arguments so that the return
value is the number of bytes written.
Jim Meyering [Mon, 22 Sep 2003 21:49:18 +0000 (21:49 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Sep 2003 18:58:34 +0000 (18:58 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Sep 2003 18:58:30 +0000 (18:58 +0000)]
(XGETTEXT_OPTIONS): Add --from-code=UTF-8 to accommodate the
non-ASCII comment to translators in ptx.c regarding the author's name.
Jim Meyering [Mon, 22 Sep 2003 16:03:21 +0000 (16:03 +0000)]
(tac_mem): Don't return a value; nobody uses it.
Jim Meyering [Mon, 22 Sep 2003 16:00:49 +0000 (16:00 +0000)]
(tee): Once a write failure has occurred, don't bother
writing anything more to that stream.
Jim Meyering [Mon, 22 Sep 2003 15:59:29 +0000 (15:59 +0000)]
(check_file): Report error right away if I/O fails,
so that the proper errno value is used.
(check_file): Check for ferror (stdout) even if ostream == stdout.
(check_file): Don't report bogus errno value
after ferror discovers an output error. We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
Jim Meyering [Mon, 22 Sep 2003 15:41:05 +0000 (15:41 +0000)]
(UNROLL): Remove.
(main): Exit immediately when write failure is detected.
Simplify code by assigning to argv when argc == 1.
Jim Meyering [Mon, 22 Sep 2003 15:31:06 +0000 (15:31 +0000)]
.
Jim Meyering [Mon, 22 Sep 2003 15:29:51 +0000 (15:29 +0000)]
.
Jim Meyering [Mon, 22 Sep 2003 15:29:02 +0000 (15:29 +0000)]
.
Jim Meyering [Mon, 22 Sep 2003 07:26:17 +0000 (07:26 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Sep 2003 07:07:16 +0000 (07:07 +0000)]
Switch encoding from Latin-1 to UTF-8.
(WRITTEN_BY): Change "Franc,ois" (actually using
c-with-cedilla in Latin-1) to "F.", so that it's ASCII, as
xgettext requires.
Jim Meyering [Sat, 20 Sep 2003 08:05:51 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Sep 2003 08:29:09 +0000 (08:29 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Sep 2003 08:27:29 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Sep 2003 07:40:55 +0000 (07:40 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Sep 2003 07:39:04 +0000 (07:39 +0000)]
`du -D symlink-to-dir' would mistakenly omit the slash in
lines like this: 24 symlink-to-dir/subdir
(process_file): Fix offset calculation.
Reported by Jeff Sheinberg as Debian bug #211591;
http://bugs.debian.org/205251
Jim Meyering [Fri, 19 Sep 2003 07:38:26 +0000 (07:38 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Sep 2003 06:52:12 +0000 (06:52 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Sep 2003 06:51:59 +0000 (06:51 +0000)]
(process_file): Remove useless disjunct.
Jim Meyering [Thu, 18 Sep 2003 22:23:09 +0000 (22:23 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 22:22:37 +0000 (22:22 +0000)]
.
Jim Meyering [Thu, 18 Sep 2003 22:22:17 +0000 (22:22 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 22:21:41 +0000 (22:21 +0000)]
(version_etc): Rename parameter, authors, to written_by.
Jim Meyering [Thu, 18 Sep 2003 22:21:10 +0000 (22:21 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 22:20:44 +0000 (22:20 +0000)]
(version_etc): Rename parameter, authors, to written_by.
Combine fprintf and following putc('\n'.
Jim Meyering [Thu, 18 Sep 2003 22:19:03 +0000 (22:19 +0000)]
(WRITTEN_BY): Rename from AUTHORS.
Begin each WRITTEN_BY string with `Written by ' and end it with `.'.
Mark each WRITTEN_BY string as translatable.
Jim Meyering [Thu, 18 Sep 2003 22:16:00 +0000 (22:16 +0000)]
(case_GETOPT_VERSION_CHAR): Rename parameter, Authors, to Written_by.
Jim Meyering [Thu, 18 Sep 2003 22:09:05 +0000 (22:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 19:39:12 +0000 (19:39 +0000)]
revert previous change
Jim Meyering [Thu, 18 Sep 2003 18:23:19 +0000 (18:23 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 18:22:23 +0000 (18:22 +0000)]
Update AUTHORS definition to be a comma-separated list of strings and/or update
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
Jim Meyering [Thu, 18 Sep 2003 18:13:57 +0000 (18:13 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 18:13:44 +0000 (18:13 +0000)]
(parse_long_options): Update prototype.
Jim Meyering [Thu, 18 Sep 2003 18:13:18 +0000 (18:13 +0000)]
Include stdarg.h.
(parse_long_options): Make this function variadic (authors), too.
Call version_etc_va, not version_etc.
Jim Meyering [Thu, 18 Sep 2003 18:10:22 +0000 (18:10 +0000)]
(version_etc_va): Declare it.
Jim Meyering [Thu, 18 Sep 2003 18:09:44 +0000 (18:09 +0000)]
This lets translators provide better translations for the
`Written by ...' part of --version output.
Include stdarg.h, stdlib.h, string.h, and xalloc.h.
(version_etc): Make this function variadic,
with a NULL-terminated list of author name strings.
(version_etc_va): New function.
Jim Meyering [Thu, 18 Sep 2003 18:09:00 +0000 (18:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 17:39:02 +0000 (17:39 +0000)]
(case_GETOPT_VERSION_CHAR): Append NULL to version_etc argument list.
Jim Meyering [Thu, 18 Sep 2003 17:38:47 +0000 (17:38 +0000)]
(main): Append NULL to version_etc argument list.
Jim Meyering [Thu, 18 Sep 2003 16:41:18 +0000 (16:41 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 16:41:11 +0000 (16:41 +0000)]
Update from gnulib.
(gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
to avoid spurious warnings like "AC_RUN_IFELSE was called before
gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
Jim Meyering [Thu, 18 Sep 2003 16:28:53 +0000 (16:28 +0000)]
*** empty log message ***
Jim Meyering [Thu, 18 Sep 2003 16:28:47 +0000 (16:28 +0000)]
(numcompare): Rename local, logb, to log_b to avoid
shadowing the math function name. Also rename loga to log_a.
Jim Meyering [Wed, 17 Sep 2003 18:49:41 +0000 (18:49 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Sep 2003 18:49:34 +0000 (18:49 +0000)]
(read_utmp): Likewise.
Check for fstat error. Close stream and free storage when failing.
Jim Meyering [Wed, 17 Sep 2003 18:46:57 +0000 (18:46 +0000)]
(getndelim2): Don't trash errno when a read
fails, so that the caller gets the proper errno.
Jim Meyering [Wed, 17 Sep 2003 18:45:24 +0000 (18:45 +0000)]
(readlinebuffer): Return NULL immediately upon
input error, instead of returning NULL the next time we are called
(and therefore losing track of errno).
Jim Meyering [Wed, 17 Sep 2003 18:43:25 +0000 (18:43 +0000)]
Add comment from Bruno Haible.
Jim Meyering [Mon, 15 Sep 2003 09:34:29 +0000 (09:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 14 Sep 2003 17:25:25 +0000 (17:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 14 Sep 2003 17:25:16 +0000 (17:25 +0000)]
(print_factors): Give a separate diagnostic
for numbers that are too large, but otherwise valid.
Jim Meyering [Sun, 14 Sep 2003 17:24:38 +0000 (17:24 +0000)]
*** empty log message ***
Jim Meyering [Sun, 14 Sep 2003 08:29:44 +0000 (08:29 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 22:12:21 +0000 (22:12 +0000)]
Update from gnulib.
Jim Meyering [Sat, 13 Sep 2003 22:04:16 +0000 (22:04 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 22:03:55 +0000 (22:03 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 22:03:50 +0000 (22:03 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 22:03:45 +0000 (22:03 +0000)]
(libfetish_a_SOURCES): Add exit.h, strndup.h, time_r.c, time_r.h.
Jim Meyering [Sat, 13 Sep 2003 22:03:02 +0000 (22:03 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 22:01:20 +0000 (22:01 +0000)]
Update from gnulib.
Jim Meyering [Sat, 13 Sep 2003 21:54:35 +0000 (21:54 +0000)]
Update from gnulib.
Jim Meyering [Sat, 13 Sep 2003 21:53:33 +0000 (21:53 +0000)]
New file, from gnulib.
Jim Meyering [Sat, 13 Sep 2003 19:54:00 +0000 (19:54 +0000)]
Update from gnulib.
Jim Meyering [Sat, 13 Sep 2003 19:53:18 +0000 (19:53 +0000)]
Update from gnulib.
Jim Meyering [Sat, 13 Sep 2003 19:52:30 +0000 (19:52 +0000)]
Update from gnulib.
Jim Meyering [Sat, 13 Sep 2003 19:50:59 +0000 (19:50 +0000)]
New file, from gnulib.
Jim Meyering [Sat, 13 Sep 2003 18:02:10 +0000 (18:02 +0000)]
New file, from GNU gettext, via gnulib.
Jim Meyering [Sat, 13 Sep 2003 18:00:43 +0000 (18:00 +0000)]
from gnulib
Jim Meyering [Sat, 13 Sep 2003 18:00:08 +0000 (18:00 +0000)]
from gnulib
Jim Meyering [Sat, 13 Sep 2003 17:59:53 +0000 (17:59 +0000)]
(my_mktime_localtime_r): Remove; all uses changed to __localtime_r.
(__localtime_r) [!defined _LIBC]: New macro. Include <time_r.h>.
(__mktime_internal) [!defined _LIBC]: Now extern, not static.
Jim Meyering [Sat, 13 Sep 2003 17:58:57 +0000 (17:58 +0000)]
(my_strftime_gmtime_r): Remove; all uses changed to __gmtime_r.
(my_strftime_localtime_r): Remove; all uses changed to __localtime_r.
(__gtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros.
Include <time_r.h>.
Jim Meyering [Sat, 13 Sep 2003 12:29:15 +0000 (12:29 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 11:58:35 +0000 (11:58 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 11:53:36 +0000 (11:53 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 10:49:33 +0000 (10:49 +0000)]
(gl_FUNC_STRTOL): Do not check for limits.h.
Jim Meyering [Sat, 13 Sep 2003 10:49:25 +0000 (10:49 +0000)]
(gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
Jim Meyering [Sat, 13 Sep 2003 10:49:17 +0000 (10:49 +0000)]
(gl_FUNC_STRTOD): Do not check for float.h.
Jim Meyering [Sat, 13 Sep 2003 10:48:46 +0000 (10:48 +0000)]
(_jm_STRFTIME_PREREQS): Don't check for limits.h, memcpy, memset.
(jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
Jim Meyering [Sat, 13 Sep 2003 10:48:09 +0000 (10:48 +0000)]
(gl_PREREQ_XSTRTOL): Do not check for string.h, strtol, strtoul.
Jim Meyering [Sat, 13 Sep 2003 10:47:56 +0000 (10:47 +0000)]
(gl_XSTRTOD): Likewise.