Commit Graph

19481 Commits

Author SHA1 Message Date
Jim Meyering 4e1cbbdb67 (main): Remove declaration of unused local, c. 2004-10-18 07:52:19 +00:00
Paul Eggert d7ac96d586 Regenerate. 2004-10-18 06:34:20 +00:00
Paul Eggert d0bc999e2f pathchk cleanups, gnulib merge 2004-10-18 06:33:20 +00:00
Paul Eggert 8d177f684a (AUTHORS): Add self.
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 06:30:49 +00:00
Paul Eggert 765016e9e2 (gl_MACROS): Check for mbrlen, for pathchk.
(gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
2004-10-18 06:30:22 +00:00
Paul Eggert 91b17c0c82 (pathchk invocation): Overall lengths are
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-18 06:29:51 +00:00
Paul Eggert 586910ff61 Add self to pathchk. 2004-10-18 06:29:19 +00:00
Paul Eggert 0581f17dca Sync from gnulib. 2004-10-18 05:06:47 +00:00
Paul Eggert 3ae9ce3622 * src/printf.c (usage): Mention Unicode, and use H for hex digits. 2004-10-15 19:32:04 +00:00
Paul Eggert c34c0ac31e (usage): Mention Unicode, and use H for hex digits. 2004-10-15 19:31:47 +00:00
Paul Eggert 7e20a09f8f (printf invocation): Mention ISO/IEC 10646 as well as Unicode. 2004-10-15 19:31:26 +00:00
Paul Eggert 235bae84e1 (printf invocation): Mention ISO/IEC 10646 as
well as Unicode.  Various minor formatting cleanups.
2004-10-15 19:31:08 +00:00
Jim Meyering 2d383a77c9 *** empty log message *** 2004-10-14 19:55:18 +00:00
Jim Meyering bd98640cd8 *** empty log message *** 2004-10-14 19:22:50 +00:00
Paul Eggert c16bd9bbb6 * tests/stty/row-col-1: Set LC_ALL=C. 2004-10-13 23:07:09 +00:00
Paul Eggert 681b457b55 *** empty log message *** 2004-10-13 23:06:57 +00:00
Paul Eggert 4ef7839e26 * coreutils.texi (sort invocation): Move LC_ALL, LC_COLLATE 2004-10-13 23:05:08 +00:00
Paul Eggert 71e1d43186 (sort invocation): Move LC_ALL, LC_COLLATE
index entries to proper paragraph.
2004-10-13 21:47:58 +00:00
Jim Meyering 3618fc84c3 *** empty log message *** 2004-10-13 19:25:34 +00:00
Jim Meyering 8be7fa2d6a (fts_read): When about to fail (by returning NULL) due
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-13 19:25:30 +00:00
Jim Meyering 292abe4bf0 *** empty log message *** 2004-10-12 16:58:54 +00:00
Jim Meyering 3d19556081 Add .mpc as an audio suffix, too. 2004-10-12 16:58:51 +00:00
Jim Meyering 947f803833 *** empty log message *** 2004-10-12 16:54:28 +00:00
Jim Meyering 44ac21f970 Add .flac as an audio suffix. 2004-10-12 16:54:24 +00:00
Jim Meyering a8580f3fa4 (check-texinfo): Add builtin' and builtins' to the list of words to avoid. 2004-10-12 09:14:56 +00:00
Jim Meyering 1ba2928bd0 (check-texinfo): Add builtin' and builtins' to
the list of words to avoid.
2004-10-12 07:58:47 +00:00
Paul Eggert 5e291def7c Add missing . 2004-10-11 23:47:20 +00:00
Paul Eggert fa4568055b * coreutils.texi (Special built-in utilities): New node.
Warn about env variable spelling.
2004-10-11 23:44:18 +00:00
Paul Eggert 23b1a403d0 (Special built-in utilities): New node.
(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 23:43:49 +00:00
Jim Meyering 8acb0278ec *** empty log message *** 2004-10-11 06:49:45 +00:00
Paul Eggert 3d795da10f * src/ls.c (ignore_mode): Renamed from ignore. 2004-10-05 17:38:35 +00:00
Paul Eggert 677c71d285 (ignore_mode): Renamed from ignore, to avoid shadowing
problems.  All uses changed.
2004-10-05 17:38:15 +00:00
Jim Meyering 100e5bc72d *** empty log message *** 2004-10-05 14:52:12 +00:00
Jim Meyering 6df8e1ff63 Add an exclusion for config/texinfo.tex,
since Karl says its trailing blanks are there to stay :-)
2004-10-05 14:52:04 +00:00
Jim Meyering 041c1bc62e remove trailing blanks. 2004-10-05 07:13:08 +00:00
Paul Eggert 75c5c677d6 Regenerate. 2004-10-05 06:53:58 +00:00
Paul Eggert 00873ce076 Rename xclone to xmemdup. Remove obsolete xalloc macros.
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.
2004-10-05 06:52:09 +00:00
Paul Eggert 01f57610c4 * src/expr.c (NEW, OLD): Remove. 2004-10-05 06:34:12 +00:00
Paul Eggert bcae12896c (NEW, OLD): Remove, partly to avoid
reference to obsolescent macro XMALLOC.
All uses replaced by xmalloc and free.
2004-10-05 06:33:53 +00:00
Paul Eggert 1ccdcbff40 Sync from gnulib. 2004-10-05 06:05:20 +00:00
Paul Eggert 021196e07a Regenerate. 2004-10-04 20:19:28 +00:00
Paul Eggert 1cc46fbf53 Sync from gnulib, to remove dependencies of other modules on unlocked-io. 2004-10-04 20:18:43 +00:00
Paul Eggert be1d0e7285 Regenerate. 2004-10-04 04:12:53 +00:00
Paul Eggert 69dee46913 Sync from gnulib. 2004-10-04 04:12:18 +00:00
Paul Eggert 55fbe6686a Sync from gnulib. 2004-10-04 04:09:41 +00:00
Jim Meyering 14f5062c30 *** empty log message *** 2004-09-28 06:34:29 +00:00
Jim Meyering ca4c25cccb (usage): Clarify: --retry works only with --follow=name.
Reported by Nik A. Melchior in http://bugs.debian.org/273781.
2004-09-28 06:34:22 +00:00
Paul Eggert 7b020a3739 * src/od.c (format_address_paren): Don't output c if it's '\0'. 2004-09-28 01:09:41 +00:00
Paul Eggert 2001cde81e (format_address_paren): c is optional, so don't output it if it's '\0'. 2004-09-28 01:09:03 +00:00
Jim Meyering 80664a7d82 *** empty log message *** 2004-09-27 07:23:23 +00:00