Jim Meyering [Wed, 27 Aug 2003 09:04:55 +0000 (09:04 +0000)]
.
Jim Meyering [Wed, 27 Aug 2003 09:01:16 +0000 (09:01 +0000)]
.
Jim Meyering [Wed, 27 Aug 2003 09:01:01 +0000 (09:01 +0000)]
(TESTS): Add stat-fmt.
Jim Meyering [Wed, 27 Aug 2003 09:00:47 +0000 (09:00 +0000)]
*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 08:55:33 +0000 (08:55 +0000)]
*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 08:55:01 +0000 (08:55 +0000)]
(print_it): Avoid buffer overrun that would occur
when the user-specified format string ends with `%'.
Jim Meyering [Wed, 27 Aug 2003 07:22:53 +0000 (07:22 +0000)]
*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 06:42:34 +0000 (06:42 +0000)]
*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 06:42:31 +0000 (06:42 +0000)]
Require that the system mkstemp be able to create
70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
would fail after 32. Reported by Danny Levinson. Details here:
http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
Jim Meyering [Wed, 27 Aug 2003 06:29:25 +0000 (06:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 12:08:05 +0000 (12:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 09:29:31 +0000 (09:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 09:29:26 +0000 (09:29 +0000)]
(local-checks-to-skip): New.
Jim Meyering [Tue, 26 Aug 2003 09:29:15 +0000 (09:29 +0000)]
(local-check): Rename as...
(local-checks-available): this.
(local-check): New.
Jim Meyering [Tue, 26 Aug 2003 07:49:44 +0000 (07:49 +0000)]
Apply changes from bison.
(WGETFLAGS): Define to `-C off'.
Update all uses of $(WGET).
Jim Meyering [Tue, 26 Aug 2003 07:40:04 +0000 (07:40 +0000)]
(SHELL): Define to `sh', if necessary.
Add copyright.
Jim Meyering [Tue, 26 Aug 2003 07:20:03 +0000 (07:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 07:19:57 +0000 (07:19 +0000)]
(print_changelog_deltas): Neutralize "<#" as
"<\#" to avoid magic from Gnus when posting parts of this script.
Jim Meyering [Tue, 26 Aug 2003 06:39:10 +0000 (06:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Aug 2003 07:39:36 +0000 (07:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Aug 2003 07:39:26 +0000 (07:39 +0000)]
(main): Warn about use of deprecated `-l' option.
Jim Meyering [Mon, 25 Aug 2003 06:30:06 +0000 (06:30 +0000)]
.
Jim Meyering [Sat, 23 Aug 2003 12:23:50 +0000 (12:23 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Aug 2003 12:23:35 +0000 (12:23 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Aug 2003 09:46:16 +0000 (09:46 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Aug 2003 08:20:29 +0000 (08:20 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Aug 2003 08:20:05 +0000 (08:20 +0000)]
(do_stat): For link count at end of line, use %h format,
instead of %-5h. The latter would make stat emit trailing spaces.
Jim Meyering [Wed, 20 Aug 2003 15:32:56 +0000 (15:32 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Aug 2003 15:32:48 +0000 (15:32 +0000)]
(EXTRA_DIST): Add .x-sc_space_tab .x-sc_sun_os_names
Jim Meyering [Wed, 20 Aug 2003 15:30:49 +0000 (15:30 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 21:05:04 +0000 (21:05 +0000)]
.
Jim Meyering [Tue, 19 Aug 2003 17:55:59 +0000 (17:55 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 17:50:32 +0000 (17:50 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 17:49:48 +0000 (17:49 +0000)]
(MSGID_BUGS_ADDRESS): Define.
Jim Meyering [Tue, 19 Aug 2003 17:02:25 +0000 (17:02 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 17:02:22 +0000 (17:02 +0000)]
Revert yesterday's change, per Bruno's request here:
http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
Jim Meyering [Tue, 19 Aug 2003 17:00:36 +0000 (17:00 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 10:25:37 +0000 (10:25 +0000)]
.
Jim Meyering [Tue, 19 Aug 2003 10:24:21 +0000 (10:24 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 10:07:33 +0000 (10:07 +0000)]
Include stdlib.h unconditionally,
as we're now assuming that part of hosted C89.
Jim Meyering [Tue, 19 Aug 2003 10:03:22 +0000 (10:03 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 10:02:57 +0000 (10:02 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 10:02:53 +0000 (10:02 +0000)]
Include <stdlib.h> and <string.h> unconditionally,
as we're now assuming that part of hosted C89.
(free) [!HAVE_DECL_FREE]: Remove decl; no longer needed.
(same_name): Invoke pathconf on destination, not source, as
that's a bit clearer even if they are the same dir.
Jim Meyering [Tue, 19 Aug 2003 10:02:00 +0000 (10:02 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 10:01:52 +0000 (10:01 +0000)]
(gl_SAME): Do not check for stdlib.h or string.h or free.
Check for pathconf.
Jim Meyering [Mon, 18 Aug 2003 21:07:47 +0000 (21:07 +0000)]
tweak serial number
Jim Meyering [Mon, 18 Aug 2003 20:59:05 +0000 (20:59 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 20:59:02 +0000 (20:59 +0000)]
(AM_PO_SUBDIRS, AM_NLS): Don't define as no-ops.
Their absence provoked a failure due to non-creation of po/Makefile.
Jim Meyering [Mon, 18 Aug 2003 20:57:27 +0000 (20:57 +0000)]
bump serial number
Jim Meyering [Mon, 18 Aug 2003 20:56:46 +0000 (20:56 +0000)]
.
Jim Meyering [Mon, 18 Aug 2003 20:56:37 +0000 (20:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 20:56:23 +0000 (20:56 +0000)]
New file, from gnulib.
Jim Meyering [Mon, 18 Aug 2003 15:30:47 +0000 (15:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 15:28:05 +0000 (15:28 +0000)]
bump serial number
Jim Meyering [Mon, 18 Aug 2003 12:32:46 +0000 (12:32 +0000)]
.
Jim Meyering [Mon, 18 Aug 2003 12:15:22 +0000 (12:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 12:15:12 +0000 (12:15 +0000)]
Remove space before TAB.
Jim Meyering [Mon, 18 Aug 2003 12:14:07 +0000 (12:14 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 12:13:50 +0000 (12:13 +0000)]
Use `[\t ]', not [ \t] (where \t is a literal TAB).
Jim Meyering [Mon, 18 Aug 2003 12:09:55 +0000 (12:09 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 12:09:42 +0000 (12:09 +0000)]
(textdomain, bindtextdomain) [! ENABLE_NLS]: Define away,
to avoid warnings from gcc.
Jim Meyering [Mon, 18 Aug 2003 09:46:12 +0000 (09:46 +0000)]
.
Jim Meyering [Mon, 18 Aug 2003 09:45:57 +0000 (09:45 +0000)]
Sync with gnulib.
Jim Meyering [Mon, 18 Aug 2003 09:45:27 +0000 (09:45 +0000)]
.
Jim Meyering [Mon, 18 Aug 2003 09:44:49 +0000 (09:44 +0000)]
Sync with gnulib.
Jim Meyering [Mon, 18 Aug 2003 09:44:40 +0000 (09:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 09:44:00 +0000 (09:44 +0000)]
add a few, to let me check in Paul's big merge from gnulib
Jim Meyering [Mon, 18 Aug 2003 09:41:31 +0000 (09:41 +0000)]
undo last change -- duh
Jim Meyering [Mon, 18 Aug 2003 09:39:31 +0000 (09:39 +0000)]
.
Jim Meyering [Mon, 18 Aug 2003 09:38:54 +0000 (09:38 +0000)]
Add a bunch so I can commit Paul's big merge from gnulib
Jim Meyering [Mon, 18 Aug 2003 09:04:37 +0000 (09:04 +0000)]
Sync with gnulib, and indent nested cpp directives.
Jim Meyering [Mon, 18 Aug 2003 08:58:27 +0000 (08:58 +0000)]
Sync with gnulib.
Jim Meyering [Mon, 18 Aug 2003 08:53:29 +0000 (08:53 +0000)]
Sync with gnulib.
Jim Meyering [Mon, 18 Aug 2003 08:52:59 +0000 (08:52 +0000)]
Sync with gnulib.
Jim Meyering [Mon, 18 Aug 2003 08:34:34 +0000 (08:34 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 07:51:29 +0000 (07:51 +0000)]
Merge from gnulib.
(libfetish_a_SOURCES): Remove getndelim2.c,
getndelim2.h, xstrtoimax.c. Add localcharset.h.
(CLEANFILES, SUFFIXES): Initialize to empty.
(EXTRA_DIST): Add getndelim2.c, getndelim2.h.
(install-exec-local): Use $(GLIBC21), not @GLIBC21@.
Do not mkdir libdir if not glibc21.
(charset.alias): @host@ -> $(host).
(SUFFIXES, .sin.sed, CLEANFILES): Reorder rules
to match gnulib module suggestions.
Jim Meyering [Mon, 18 Aug 2003 07:47:40 +0000 (07:47 +0000)]
Include <stdbool.h>, <limits.h>.
(_POSIX_NAME_MAX): Define if not defined.
(MIN): New macro.
(same_name): If file names are silently truncated, report
that the file names are the same if they are the same after
the silent truncation.
Jim Meyering [Sun, 17 Aug 2003 17:58:22 +0000 (17:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Aug 2003 17:58:01 +0000 (17:58 +0000)]
New file, from gnulib.
Jim Meyering [Sun, 17 Aug 2003 17:57:38 +0000 (17:57 +0000)]
Sync with gnulib.
Jim Meyering [Sun, 17 Aug 2003 17:55:24 +0000 (17:55 +0000)]
.
Jim Meyering [Sun, 17 Aug 2003 17:50:30 +0000 (17:50 +0000)]
(fu_cv_sys_truncating_statfs): Remove; now done by gnulib .m4 files.
(jm_DUMMY_1): Require gl_READUTMP, not jm_PREREQ_READUTMP.
Jim Meyering [Sun, 17 Aug 2003 17:48:14 +0000 (17:48 +0000)]
(strtoull): Remove unused declaration.
Jim Meyering [Sun, 17 Aug 2003 17:10:25 +0000 (17:10 +0000)]
(who invocation): Begin adding missing option documentation.
Jim Meyering [Sun, 17 Aug 2003 16:13:30 +0000 (16:13 +0000)]
(who invocation): Add an entry for -l, --login.
Remove `-l' from the entry for --lookup.
Jim Meyering [Sun, 17 Aug 2003 16:04:04 +0000 (16:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Aug 2003 16:04:00 +0000 (16:04 +0000)]
Avoid unnecessary and sometimes time-consuming hostname lookups.
(print_user): Likewise.
This fixes a typo I introduced in who-users.c on 1996-02-23.
Jim Meyering [Sun, 17 Aug 2003 16:03:42 +0000 (16:03 +0000)]
Avoid unnecessary and sometimes time-consuming hostname lookups.
(print_entry): Likewise.
This fixes a typo I introduced in who-users.c on 1996-02-23.
Jim Meyering [Sun, 17 Aug 2003 07:57:29 +0000 (07:57 +0000)]
(makefile-check): Add 0-9 to the range of characters disallowed between `@...@'.
Jim Meyering [Sun, 17 Aug 2003 07:53:48 +0000 (07:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Aug 2003 07:50:40 +0000 (07:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Aug 2003 07:49:10 +0000 (07:49 +0000)]
.
Jim Meyering [Sun, 17 Aug 2003 07:47:03 +0000 (07:47 +0000)]
(TESTS): Add tail-n0f.
Jim Meyering [Sat, 16 Aug 2003 20:49:04 +0000 (20:49 +0000)]
(.x.1): `@'-prefix a few commands
Jim Meyering [Sat, 16 Aug 2003 20:46:47 +0000 (20:46 +0000)]
use only -f, not -rf
Jim Meyering [Sat, 16 Aug 2003 20:46:13 +0000 (20:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Aug 2003 20:46:08 +0000 (20:46 +0000)]
(.x.1): Ensure that generated PROGRAM.1 files are read-only.
Jim Meyering [Sat, 16 Aug 2003 17:39:51 +0000 (17:39 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Aug 2003 17:34:41 +0000 (17:34 +0000)]
(tail_lines): Fix a potential (but very hard to exercise)
race condition bug. The bug would be triggered when tailing a file
with file pointer not at beginning of file, and where the file was
truncated to have a length of less than the initial offset at just
the right moment (between the two lseek calls in this function).
Jim Meyering [Sat, 16 Aug 2003 17:28:33 +0000 (17:28 +0000)]
An invalid initial value for *read_pos would result in
`tail -n0 -f FILE' and `tail -c0 -f FILE' doing what amounted to a
busy-wait rather than sleeping between iterations. The bug manifests
itself only when tailing regular files that are initially nonempty.
(tail_bytes): Set *read_pos to new file offset after
each xlseek call.
(tail_lines): Likewise, after lseek calls.