summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-11-03Sync from gnulib.Paul Eggert
2004-10-30* NEWS: Document getdate changes.Paul Eggert
2004-10-30Document getdate changes.Paul Eggert
2004-10-29Sync from gnulib (for getdate changes).Paul Eggert
2004-10-29Sync from gnulib.Paul Eggert
2004-10-29Document TZ better, and adjust to new getdate.texi.Paul Eggert
(Top): Update menu. (pr invocation, Formatting file timestamps, touch invocation, stat invocation, who invocation, date invocation, Options for date): Mention TZ.
2004-10-29`tac /proc/modules' would print nothingJim Meyering
2004-10-29*** empty log message ***Jim Meyering
2004-10-29*** empty log message ***Jim Meyering
2004-10-29 * src/tac.c (tac_file): Remove temporary prototype and move thisJim Meyering
function `down' so that it precedes definition of tac_nonseekable.
2004-10-29*** empty log message ***Jim Meyering
2004-10-29`tac /proc/modules' would print nothingJim Meyering
(copy_to_temp): Renamed from save_stdin, since now it copies a general file descriptor, not just stdin. (tac_nonseekable): Renamed/adapted from tac_stdin. (tac_file): Get fd via `open' directly rather than via fopen/fileno, since we never used the stream. Perform "-" to stdin mapping here rather than in main. Determine whether a file is seekable, by trying to `lseek' to its end, and dispatch to tac_seekable or tac_nonseekable accordingly. (main): Rewrite argument handling now that it uses only tac_file. Reported by Harald Dunkel in http://bugs.debian.org/278604.
2004-10-29*** empty log message ***Jim Meyering
2004-10-28* coreutils.texi (Standards conformance): Use "head -10" ratherPaul Eggert
than "head -1".
2004-10-28(Standards conformance): Use "head -10" rather than "head -1" asPaul Eggert
example of obsolete usage, since the POSIX consensus is that "head -1" could be supported even if we don't yet have clear consensus on "head -10". See today's revision to the SUS FAQ <http://www.opengroup.org/austin/papers/single_unix_faq.html>.
2004-10-25* coreutils.texi (pathchk invocation): Options must precede operands.Paul Eggert
2004-10-25(pathchk invocation): Options must precede operands.Paul Eggert
2004-10-24* mktime.c (leapyear): Arg is long int, not int.Paul Eggert
2004-10-24(leapyear): Arg is long int, not int. Change imported from gnulib.Paul Eggert
2004-10-21.Jim Meyering
2004-10-21*** empty log message ***Jim Meyering
2004-10-21*** empty log message ***Jim Meyering
2004-10-21*** empty log message ***Jim Meyering
2004-10-21Correct my patch of 2004-10-18.Jim Meyering
(rm): Destroy the saved_cwd here (via cwd_state), if necessary, not in remove_dir. Otherwise, removing multiple `.'-relative nonempty directories no longer worked.
2004-10-21*** empty log message ***Jim Meyering
2004-10-21(TESTS): Add leak-fd.Jim Meyering
2004-10-21*** empty log message ***Jim Meyering
2004-10-21(TESTS): Add dot-rel.Jim Meyering
2004-10-21*** empty log message ***Jim Meyering
2004-10-20* src/fmt.c (usage): Improve description of --prefix.Paul Eggert
2004-10-20(usage): Improve description of --prefix.Paul Eggert
Problem reported by Edward Welbourne.
2004-10-20* man/uniq.x: Change summary.Paul Eggert
2004-10-20Change summary so that it doesn't imply that uniq writes to its input file.Paul Eggert
2004-10-18*** empty log message ***Jim Meyering
2004-10-18Plug a leak that would cause rm or a cross-device mv to fail whenJim Meyering
operating on too many command-line-specified nonempty directories. (remove_dir): Destroy the `struct saved_cwd' on the top of the stack before returning. This usually closes the file descriptor that was used to return to the original working directory. Reported by Cyril Bouthors in http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/3048
2004-10-18 rm (and mv when moving between partitions) no longer fails whenJim Meyering
operating on too many command-line-specified nonempty directories.
2004-10-18*** empty log message ***Jim Meyering
2004-10-18*** empty log message ***Jim Meyering
2004-10-18*** empty log message ***Jim Meyering
2004-10-18(validate_file_name): Give a more descriptiveJim Meyering
diagnostic when pathconf fails. This also avoids an unwarranted warning from gcc-3.3.5 about a format not being a string literal.
2004-10-18*** empty log message ***Jim Meyering
2004-10-18(main): Remove declaration of unused local, optc.Jim Meyering
2004-10-18(main): Remove declaration of unused local, opt.Jim Meyering
2004-10-18(main): Remove declaration of unused local, c.Jim Meyering
2004-10-18Regenerate.Paul Eggert
2004-10-18pathchk cleanups, gnulib mergePaul Eggert
2004-10-18(AUTHORS): Add self.Paul Eggert
Change "path" to "file name" whenever possible. Remove usage comment, as it was a duplication of the code or doc. Include <wchar.h> if available. (mbrlen, mbstate_t) [! (HAVE_MBRLEN && HAVE_MBSTATE_T)]: Define. (NEED_PATHCONF_WRAPPER, PATH_MAX, PATH_MAX_FOR, NAME_MAX, pathconf_wrapper, portable_chars, dir_ok): Remove. (NAME_MAX_MINIMUM, PATH_MAX_MINIMUM): New macros. (pathconf, _PC_NAME_MAX, _PC_PATH_MAX): Define if nonexistent. (portable_chars_only): New arg FILELEN. Don't assume ASCII; we might be on an EBCDIC host. Don't assume unibyte locale in diagnostic. (component_start, component_len): New functions. (validate_file_name): Renamed from validate_path. All uses changed. Pretty much a complete rewrite. Don't make copy of file arg. Always append trailing slash to pathconf arg, just in case it's a symlink (this is pure paranoia; we don't know of any hosts where the trailing slash is required). Use size_t instead of long int when possible. Avoid need to call pathconf in most practical cases. Don't use euidaccess several times to test searchability; just use lstat once. Reword diagnostic to put the (often very long) file names last.
2004-10-18(gl_MACROS): Check for mbrlen, for pathchk.Paul Eggert
(gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
2004-10-18(pathchk invocation): Overall lengths arePaul Eggert
OS limits, not file system limits. Component length checks apply to all components, not merely to existing ones. Say that nonexistent names are not errors. For -p, omit all checks based on the underlying file system, not merely length checks. Explain what the portabile file name character set is.
2004-10-18Add self to pathchk.Paul Eggert