Jim Meyering [Wed, 2 Feb 2005 14:14:36 +0000 (14:14 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Feb 2005 14:14:31 +0000 (14:14 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Feb 2005 14:14:28 +0000 (14:14 +0000)]
Check for $2 -ge 128, rather than $2 = 128, in case
there is a file system type that doesn't support sparse files,
yet for which metadata takes up additional space.
Jim Meyering [Wed, 2 Feb 2005 13:10:23 +0000 (13:10 +0000)]
Also adjust the test to detect systems that don't support sparse files.
Jim Meyering [Wed, 2 Feb 2005 08:30:27 +0000 (08:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Feb 2005 08:30:08 +0000 (08:30 +0000)]
Detect sparse files on NTFS under cygwin.
Paul Eggert [Tue, 1 Feb 2005 23:59:45 +0000 (23:59 +0000)]
mountlist.h, mountlist.h cleanup, and add support for subfs.
Paul Eggert [Tue, 1 Feb 2005 23:58:30 +0000 (23:58 +0000)]
(MOUNTLIST_H_): New macro, to protect against double inclusion.
Include <sys/types.h>, for dev_t.
(ME_DUMMY, ME_REMOTE): Move to mountlist.c.
Paul Eggert [Tue, 1 Feb 2005 23:58:01 +0000 (23:58 +0000)]
Include mountlist.h first, to test the interface.
(ME_DUMMY, ME_REMOTE): Moved here from mountlist.c.
(ME_DUMMY): Count "subfs" as a dummy.
Jim Meyering [Mon, 31 Jan 2005 13:09:38 +0000 (13:09 +0000)]
update from gnulib
Jim Meyering [Sun, 30 Jan 2005 17:58:04 +0000 (17:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jan 2005 17:57:24 +0000 (17:57 +0000)]
(elide_tail_bytes_pipe): Correct wording in diagnostic.
Jim Meyering [Sun, 30 Jan 2005 17:41:06 +0000 (17:41 +0000)]
.
Jim Meyering [Sun, 30 Jan 2005 14:58:15 +0000 (14:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jan 2005 14:58:11 +0000 (14:58 +0000)]
Remove unnecessary parentheses in #if directives.
Jim Meyering [Sun, 30 Jan 2005 14:50:35 +0000 (14:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jan 2005 14:50:22 +0000 (14:50 +0000)]
[VSWTCH]: Some systems, like Cygwin, use VSWTC
instead of VSWTCH, for use with CSWTCH.
Jim Meyering [Sun, 30 Jan 2005 14:44:30 +0000 (14:44 +0000)]
.
Jim Meyering [Sun, 30 Jan 2005 14:31:24 +0000 (14:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jan 2005 14:31:19 +0000 (14:31 +0000)]
Quote user and group names.
Jim Meyering [Sun, 30 Jan 2005 14:30:10 +0000 (14:30 +0000)]
Ignore ACL designation.
Jim Meyering [Sun, 30 Jan 2005 14:29:03 +0000 (14:29 +0000)]
Ignore ACL designation.
Jim Meyering [Sun, 30 Jan 2005 14:28:36 +0000 (14:28 +0000)]
(.PHONY): Add check-root and root-hint.
Jim Meyering [Sat, 29 Jan 2005 14:45:17 +0000 (14:45 +0000)]
.
Jim Meyering [Sat, 29 Jan 2005 00:24:08 +0000 (00:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jan 2005 00:21:24 +0000 (00:21 +0000)]
.
Jim Meyering [Sat, 29 Jan 2005 00:20:50 +0000 (00:20 +0000)]
* Makefile.am (libfetish_a_SOURCES): Remove many files from this
list, now that automake determines their names automatically,
thanks to the new AC_LIBSOURCES and AC_LIBOBJ uses in the
corresponding ../m4/*.m4 files.
(EXTRA_DIST): Add getdate.c here, so that we continue to distribute it.
Jim Meyering [Sat, 29 Jan 2005 00:16:39 +0000 (00:16 +0000)]
Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
so that automake automatically knows to distribute those files.
Use AC_LIBOBJ to ensure that automake automatically knows the
names of always-compiled source files. Automake already knows
the names of conditionally compiled ones, e.g., due to preexisting
uses of AC_LIBOBJ and AC_REPLACE_FUNCS.
[This is a start. Many still remain to be fixed...]
Jim Meyering [Sat, 29 Jan 2005 00:04:35 +0000 (00:04 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jan 2005 00:04:30 +0000 (00:04 +0000)]
Require gl_HASH_PJW and gl_BASENAME.
Jim Meyering [Sat, 29 Jan 2005 00:03:58 +0000 (00:03 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Jan 2005 18:14:15 +0000 (18:14 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Jan 2005 18:10:25 +0000 (18:10 +0000)]
(gl_BASENAME): New file/macro.
Jim Meyering [Tue, 25 Jan 2005 12:30:15 +0000 (12:30 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Jan 2005 12:30:01 +0000 (12:30 +0000)]
Don't include assert.h.
(path_concat): Remove assertion that would have triggered
for ABASE starting with more than one slash.
Reported by Andreas Schwab.
Jim Meyering [Tue, 25 Jan 2005 09:32:53 +0000 (09:32 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Jan 2005 09:09:09 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Jan 2005 09:07:49 +0000 (09:07 +0000)]
(path_concat): Set *BASE_IN_RESULT
properly when ABASE is an absolute file name.
Correct the description of this function.
Include <assert.h>.
Add an assertion and a test driver.
This fixes a bug introduced on 2004-07-02.
Paul Eggert [Tue, 25 Jan 2005 00:51:05 +0000 (00:51 +0000)]
Regenerate.
Paul Eggert [Tue, 25 Jan 2005 00:41:36 +0000 (00:41 +0000)]
(usage): Add comma after "-P" to fix typo in previous patch.
Jim Meyering [Mon, 24 Jan 2005 08:27:37 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Jan 2005 08:27:15 +0000 (08:27 +0000)]
Use S_BLKSIZE value for ST_NBLOCKSIZE where available.
Jim Meyering [Mon, 24 Jan 2005 08:22:06 +0000 (08:22 +0000)]
(all_programs.list): Strip $(EXEEXT) and remove duplicates.
Jim Meyering [Mon, 24 Jan 2005 08:21:39 +0000 (08:21 +0000)]
(all_programs): Revert previous patch; updated all_programs.list fixes this.
(.x.1): No need to add $(EXEEXT).
Jim Meyering [Mon, 24 Jan 2005 08:10:59 +0000 (08:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Jan 2005 08:10:53 +0000 (08:10 +0000)]
(usage): Merge the descriptions of --no-dereference and -P.
Jim Meyering [Mon, 24 Jan 2005 08:10:36 +0000 (08:10 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jan 2005 20:38:11 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jan 2005 14:35:09 +0000 (14:35 +0000)]
*** empty log message ***
Paul Eggert [Sun, 23 Jan 2005 09:07:57 +0000 (09:07 +0000)]
Use an all-permissive copyright notice, recommended by RMS.
Jim Meyering [Sat, 22 Jan 2005 09:05:09 +0000 (09:05 +0000)]
(v_etc_file): The version string has moved to
version-etc-fsf.c, search that new file, not version-etc.c.
Paul Eggert [Sat, 22 Jan 2005 06:30:33 +0000 (06:30 +0000)]
Regenerate.
Paul Eggert [Sat, 22 Jan 2005 06:28:21 +0000 (06:28 +0000)]
Remove "m4/" from listed file names.
Paul Eggert [Sat, 22 Jan 2005 06:25:53 +0000 (06:25 +0000)]
Sync from gnulib.
Jim Meyering [Fri, 21 Jan 2005 12:46:36 +0000 (12:46 +0000)]
*** empty log message ***
Paul Eggert [Fri, 21 Jan 2005 00:21:37 +0000 (00:21 +0000)]
Add version-etc-fsf.
Paul Eggert [Fri, 21 Jan 2005 00:21:01 +0000 (00:21 +0000)]
(libfetish_a_SOURCES): Add version-etc-fsf.c.
Paul Eggert [Fri, 21 Jan 2005 00:20:20 +0000 (00:20 +0000)]
Initial version.
Paul Eggert [Fri, 21 Jan 2005 00:20:05 +0000 (00:20 +0000)]
(version_etc_copyright): Use [] instead of * in prototype.
Paul Eggert [Fri, 21 Jan 2005 00:19:49 +0000 (00:19 +0000)]
Remove version_etc_copyright.
Jim Meyering [Thu, 20 Jan 2005 22:57:36 +0000 (22:57 +0000)]
.
Paul Eggert [Thu, 20 Jan 2005 22:17:47 +0000 (22:17 +0000)]
* save-cwd.c (save_cwd): Remove code to support non-fchdir case.
Paul Eggert [Thu, 20 Jan 2005 22:17:26 +0000 (22:17 +0000)]
(save_cwd): Remove code to support the case
where fchdir is missing or flaky.
Paul Eggert [Thu, 20 Jan 2005 22:17:00 +0000 (22:17 +0000)]
* save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
Paul Eggert [Thu, 20 Jan 2005 22:16:44 +0000 (22:16 +0000)]
(gl_SAVE_CWD): Remove check for fcntl; we now assume it.
Jim Meyering [Wed, 19 Jan 2005 13:45:22 +0000 (13:45 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 13:44:54 +0000 (13:44 +0000)]
(AT_SYMLINK_NOFOLLOW): Define to 4096, so it's the same value as for Solaris 9.
Jim Meyering [Wed, 19 Jan 2005 12:52:15 +0000 (12:52 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 12:51:06 +0000 (12:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 12:50:12 +0000 (12:50 +0000)]
remove diff, in, out
Jim Meyering [Wed, 19 Jan 2005 12:48:19 +0000 (12:48 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 12:48:15 +0000 (12:48 +0000)]
A test harness to exercize chdir-long.c's sample main program.
Jim Meyering [Wed, 19 Jan 2005 10:22:02 +0000 (10:22 +0000)]
(chdir_long): Update prototype.
Jim Meyering [Wed, 19 Jan 2005 10:21:49 +0000 (10:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 10:21:43 +0000 (10:21 +0000)]
(chdir_long): Rewrite to remove limitation on
component length. This included changing the parameter to be
of type `char *' rather than `char const *'.
Jim Meyering [Wed, 19 Jan 2005 09:59:08 +0000 (09:59 +0000)]
.
Jim Meyering [Wed, 19 Jan 2005 09:58:01 +0000 (09:58 +0000)]
(fdopendir, fstatat): New functions.
Jim Meyering [Wed, 19 Jan 2005 09:57:49 +0000 (09:57 +0000)]
Include headers required for use of DIR and struct stat.
[AT_SYMLINK_NOFOLLOW]: Define.
(fdopendir, fstatat): Add prototypes.
Paul Eggert [Mon, 17 Jan 2005 22:40:57 +0000 (22:40 +0000)]
Use numeric group ids, not symbolic group names, to avoid shell quoting issues.
Jim Meyering [Sat, 15 Jan 2005 21:34:18 +0000 (21:34 +0000)]
.
Jim Meyering [Sat, 15 Jan 2005 19:56:32 +0000 (19:56 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 19:51:00 +0000 (19:51 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:24:58 +0000 (17:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:24:16 +0000 (17:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:21:03 +0000 (17:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:19:47 +0000 (17:19 +0000)]
(isaac_seed) [HAVE_GETHRTIME]: #if-0 this block,
because just calling gethrtime evokes an `illegal instruction'
failure when compiled with Sun's c89 on Solaris 8 and 9.
Jim Meyering [Sat, 15 Jan 2005 17:13:03 +0000 (17:13 +0000)]
(isaac_seed) [HAVE_GETHRTIME]: Don't call ISAAC_SEED
twice with the same value of `t'.
Replace nested #if-#else blocks with #if-#elif-#elif chain.
Jim Meyering [Fri, 14 Jan 2005 16:34:56 +0000 (16:34 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 16:30:18 +0000 (16:30 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 16:30:15 +0000 (16:30 +0000)]
The test, tests/tail/f-1, failed on powerpc-apple-darwin7.7.0.
(IS_TAILABLE_FILE_TYPE): Adjust definition also to include
sockets, since that's what you get when reading from a command-line-
supplied pipe on Darwin 7.7.
(IS_PIPE_LIKE_FILE_TYPE): Define.
(main): Use new IS_PIPE_LIKE_FILE_TYPE rather than simply S_ISFIFO.
This same change is also required on NetBSD/sparc-1.5.
Reported by Adrian Bunk.
Jim Meyering [Fri, 14 Jan 2005 15:15:58 +0000 (15:15 +0000)]
.
Jim Meyering [Fri, 14 Jan 2005 14:16:10 +0000 (14:16 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 14:15:31 +0000 (14:15 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 14:15:25 +0000 (14:15 +0000)]
(toarith): Rewrite to detect/diagnose integer overflow,
rather than suffering silently.
Before, expr would silently overflow and wrap around:
$ expr
9223372036854775808 = 0 # $(echo 2^63|bc)
1
Now it detects the problem and exits nonzero:
$ ./expr $(echo 2^63|bc) = 0
./expr:
9223372036854775808: integer is too large
Jim Meyering [Fri, 14 Jan 2005 13:39:51 +0000 (13:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 13:33:32 +0000 (13:33 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 13:33:26 +0000 (13:33 +0000)]
Work around tests/touch/empty-file failure on a system
(sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
NULL-means-set-to-current-time semantics.
Remove temporary file immediately, rather than waiting
for configure's at-exit trap code to do it.
Jim Meyering [Fri, 14 Jan 2005 10:39:15 +0000 (10:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 10:39:05 +0000 (10:39 +0000)]
(id_gn): Exit 77, not 1, for a test-framework
failure, so that doesn't cause `make check' to stop. Nelson Beebe
reported that this test would fail with this diagnostic
`cannot find name for group ID 10' on one of his systems.
Jim Meyering [Thu, 13 Jan 2005 23:33:22 +0000 (23:33 +0000)]
*** empty log message ***