summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2004-10-18Sync from gnulib.Paul Eggert
2004-10-15* src/printf.c (usage): Mention Unicode, and use H for hex digits.Paul Eggert
2004-10-15(usage): Mention Unicode, and use H for hex digits.Paul Eggert
2004-10-15(printf invocation): Mention ISO/IEC 10646 as well as Unicode.Paul Eggert
2004-10-15(printf invocation): Mention ISO/IEC 10646 asPaul Eggert
well as Unicode. Various minor formatting cleanups.
2004-10-14*** empty log message ***Jim Meyering
2004-10-14*** empty log message ***Jim Meyering
2004-10-13* tests/stty/row-col-1: Set LC_ALL=C.Paul Eggert
2004-10-13*** empty log message ***Paul Eggert
2004-10-13* coreutils.texi (sort invocation): Move LC_ALL, LC_COLLATEPaul Eggert
2004-10-13(sort invocation): Move LC_ALL, LC_COLLATEPaul Eggert
index entries to proper paragraph.
2004-10-13*** empty log message ***Jim Meyering
2004-10-13(fts_read): When about to fail (by returning NULL) dueJim Meyering
to a failed fchdir or failed fts_safe_changedir call, set `sp->fts_cur = p'. Do this by removing the explicit `return NULL;' statements and setting p->fts_errno so execution falls through to the common-case code below. Otherwise, after such a failure, calling fts_close would attempt to free an already-freed buffer. Reported by Luis Lopez Lopez in http://bugs.debian.org/276352.
2004-10-12*** empty log message ***Jim Meyering
2004-10-12Add .mpc as an audio suffix, too.Jim Meyering
2004-10-12*** empty log message ***Jim Meyering
2004-10-12Add .flac as an audio suffix.Jim Meyering
2004-10-12(check-texinfo): Add `builtin' and `builtins' to the list of words to avoid.Jim Meyering
2004-10-12(check-texinfo): Add `builtin' and `builtins' toJim Meyering
the list of words to avoid.
2004-10-11Add missing .Paul Eggert
2004-10-11* coreutils.texi (Special built-in utilities): New node.Paul Eggert
Warn about env variable spelling.
2004-10-11(Special built-in utilities): New node.Paul Eggert
(printf invocation): builtin -> built-in, for consistency with POSIX terminology. (test invocation, pwd invocation): Use specific rather than generic language to warn about built-in commands. (chroot invocation, env invocation, nice invocation, nohup invocation): Warn that command must not be a special built-in. (env invocation): Warn about environment variables with unusual spellings, or duplicates.
2004-10-11*** empty log message ***Jim Meyering
2004-10-05* src/ls.c (ignore_mode): Renamed from ignore.Paul Eggert
2004-10-05(ignore_mode): Renamed from ignore, to avoid shadowingPaul Eggert
problems. All uses changed.
2004-10-05*** empty log message ***Jim Meyering
2004-10-05Add an exclusion for config/texinfo.tex,Jim Meyering
since Karl says its trailing blanks are there to stay :-)
2004-10-05remove trailing blanks.Jim Meyering
2004-10-05Regenerate.Paul Eggert
2004-10-05Rename xclone to xmemdup. Remove obsolete xalloc macros.Paul Eggert
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.
2004-10-05* src/expr.c (NEW, OLD): Remove.Paul Eggert
2004-10-05(NEW, OLD): Remove, partly to avoidPaul Eggert
reference to obsolescent macro XMALLOC. All uses replaced by xmalloc and free.
2004-10-05Sync from gnulib.Paul Eggert
2004-10-04Regenerate.Paul Eggert
2004-10-04Sync from gnulib, to remove dependencies of other modules on unlocked-io.Paul Eggert
2004-10-04Regenerate.Paul Eggert
2004-10-04Sync from gnulib.Paul Eggert
2004-10-04Sync from gnulib.Paul Eggert
2004-09-28*** empty log message ***Jim Meyering
2004-09-28(usage): Clarify: --retry works only with --follow=name.Jim Meyering
Reported by Nik A. Melchior in http://bugs.debian.org/273781.
2004-09-28* src/od.c (format_address_paren): Don't output c if it's '\0'.Paul Eggert
2004-09-28(format_address_paren): c is optional, so don't output it if it's '\0'.Paul Eggert
2004-09-27*** empty log message ***Jim Meyering
2004-09-27.Jim Meyering
2004-09-27Use [[] in place of \[, since cvsu doesn't handle the latter,Jim Meyering
and both cvs and cvsu handle the former.