summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-01-24tweak wording so as to pass `remedial English class' :-)Jim Meyering
2006-01-24tail -f once again works on a file with the append-onlyJim Meyering
attribute (affects at least Linux ext2, ext3, xfs file systems)
2006-01-24*** empty log message ***Jim Meyering
2006-01-24*** empty log message ***Jim Meyering
2006-01-24(tail_forever): Don't exit-nonzero when an attemptJim Meyering
to put a regular file in O_NONBLOCK mode fails with EPERM. That happens on Linux when using tail -f on a file with the append-only attribute. Reported by Dean Gaudet. For details, see http://savannah.gnu.org/bugs/?func=detailitem&item_id=15473.
2006-01-24Import from gnulib.Paul Eggert
2006-01-23*** empty log message ***Jim Meyering
2006-01-23*** empty log message ***Jim Meyering
2006-01-23Remove unused definition of N_.Jim Meyering
2006-01-22.Jim Meyering
2006-01-22(quotearg_buffer_restyled): Add "default: break;"Paul Eggert
to pacify gcc -Wswitch-default.
2006-01-21.Jim Meyering
2006-01-21*** empty log message ***Jim Meyering
2006-01-21Mention fts-related improvements and bug fixes.Jim Meyering
2006-01-21* lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignorePaul Eggert
rather than -Xlinker -z -Xlinker ignore, as it's more portable.
2006-01-21(gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignorePaul Eggert
rather than -Xlinker -z -Xlinker ignore, as it's more portable.
2006-01-19*** empty log message ***Jim Meyering
2006-01-19(pfx-1, pfx-2): New tests, to demonstrate the bugJim Meyering
reported as http://bugs.debian.org/147577. Forwarded by Thomas Hood.
2006-01-18*** empty log message ***Jim Meyering
2006-01-18(TESTS): Add long-from-unreadable.Jim Meyering
2006-01-17.Jim Meyering
2006-01-17(openat_needs_fchdir): New function.Jim Meyering
2006-01-17*** empty log message ***Jim Meyering
2006-01-17(openat_needs_fchdir): Declare it.Jim Meyering
2006-01-17*** empty log message ***Jim Meyering
2006-01-17(gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.Jim Meyering
2006-01-17*** empty log message ***Jim Meyering
2006-01-17New test, to exercise one small corner of fts.c.Jim Meyering
2006-01-17Include "openat.h".Jim Meyering
Don't include "lchown.h". (restricted_chown): Accept a new parameter, CWD_FD, and use it in calling openat, lchownat, chownat, rather than open, lchown, chown. Update caller.
2006-01-17Now that fts no longer changes the current working directory, adjustJim Meyering
its clients accordingly -- note that du.c uses fts but doesn't need any adjustment, since it doesn't operate on the actual files, but rather just uses the stat buffers provided by fts. Include "openat.h". (process_file): Use chmodat (fts->fts_cwd_fd,... in place of chmod (...
2006-01-17*** empty log message ***Jim Meyering
2006-01-17[struct FTS] (fts_cwd_fd): New member.Jim Meyering
[struct FTS] (fts_rft): Remove now-unused member. [struct FTS] (fts_cycle.state): Improve comment.
2006-01-17Rewrite fts.c not to change the current working directory,Jim Meyering
by using openat, fstatat, fdopendir, etc.. [! _LIBC]: Include "openat.h" and "unistd--.h". (HAVE_OPENAT_SUPPORT): Define. [_LIBC] (fchdir): Don't undef or define; no longer used. (FCHDIR): Define in terms of cwd_advance_fd rather than fchdir. Now, this `function' always succeeds, and consumes its file descriptor parameter -- so callers must not close such FDs. Update callers. (diropen_fd, opendirat, cwd_advance_fd): New functions. (diropen): Add parameter, SP. Adjust all callers. Implement using diropen_fd, rather than open. (fts_open): Initialize new member, fts_cwd_fd. Remove fts_rft-setting code. (fts_close): Close fts_cwd_fd, if necessary. (__opendir2): Define in terms of opendir or opendirat, depending on whether the FST_NOCHDIR flag is set. (fts_build): Since fts_safe_changedir consumes its FD, and since this code must do `closedir(dirp)', dup the dirfd(dirp) argument, and close the dup'd file descriptor upon failure. (fts_stat): Use fstatat(...AT_SYMLINK_NOFOLLOW) in place of lstat. (fts_safe_changedir): Tweak semantics to reflect that this function now calls cwd_advance_fd and hence consumes its FD argument.
2006-01-17(gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as it's not portablePaul Eggert
and it doesn't work with cross-compiles. Fix missing-$ typo in 'test "gl_cv_ignore_unused_libraries" ...' that prevented -zignore from being used with Sun's C compiler.
2006-01-13*** empty log message ***Jim Meyering
2006-01-13(SUBDIRS): Add comments discouraging theJim Meyering
addition of new directories under tests/.
2006-01-13*** empty log message ***Jim Meyering
2006-01-13Redirect stdin to /dev/null. Otherwise, FreeBSD 5.0's getfacl would hang.Jim Meyering
2006-01-13*** empty log message ***Jim Meyering
2006-01-13(AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)Jim Meyering
unconditionally so that tests of $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses that variable, to accommodate the rare case in which getmntent is available in none of the libraries checked. This happens at least on FreeBSD 5.0.
2006-01-12*** empty log message ***Jim Meyering
2006-01-12Adjust not to hard-code the expectedJim Meyering
diagnostic corresponding to ELOOP. Solaris' diagnostic differs from that of Linux/libc. Reported by Paul Eggert.
2006-01-12Create final file *after* the loop.Jim Meyering
2006-01-12Create file at end of symlink chain.Jim Meyering
2006-01-12skip the test on a system that can handle this many symlinks in a file name,Jim Meyering
2006-01-12.Jim Meyering
2006-01-12whoops. traps were commented out.Jim Meyering
2006-01-12*** empty log message ***Jim Meyering
2006-01-12Remove useless parentheses in cpp directives, so thatJim Meyering
this file passes coreutils' `make syntax-check' tests.
2006-01-12fix typo: s/stdint.h.m4/stdint.m4/Jim Meyering