Commit Graph

  • c6a13a3354 * src/su.c (usage): Correct typo in --help output: s/commmand/command/ Reported by Tim Waugh. Also remove the comment duplicating much of --help output. Jim Meyering 2006-07-21 13:32:40 +00:00
  • 680bd6f6dd *** empty log message *** Jim Meyering 2006-07-21 09:14:43 +00:00
  • a1eae84aed (FILE_TYPE_INDICATOR_OPTION): Reposition this new name so the list remains alphabetized. Jim Meyering 2006-07-21 09:14:39 +00:00
  • 2c5f6e6e2c mention yesterday's other ls bugfix Jim Meyering 2006-07-21 08:58:00 +00:00
  • eb12ed1aa7 *** empty log message *** Jim Meyering 2006-07-21 08:57:47 +00:00
  • 9e0a095be6 Fix another bug: ls --indicator-style=file-type would call stat for a symlink, even though it wasn't always needed. In some cases, that unnecessary stat would cause ls to fail. * src/ls.c (gobble_file): Don't treat symlinks specially (in requiring a stat syscall). Remove the offending exclusion. * NEWS: Mention the fix. * tests/ls/stat-dtype: New file/test, for the above fix. Also exercises the new df feature, below. Jim Meyering 2006-07-21 08:49:24 +00:00
  • 2060c55141 * src/df.c (main): Fail and don't print the headers if no file system is processed. This makes it easy to test whether a specified directory is on a file system of a given type or types. Otherwise, applications would have had to parse df's output. E.g., is "." either ext3 or reiserfs: df -t ext3 -t reiserfs . Jim Meyering 2006-07-20 15:42:26 +00:00
  • 6ad7eac04f *** empty log message *** Jim Meyering 2006-07-20 10:31:48 +00:00
  • 492f011795 (file-type): New test: For 5.97 and earlier, --file-type acted like --indicator-style=slash. Jim Meyering 2006-07-20 10:30:42 +00:00
  • 3ddfde6897 Fix a bug: ls --file-type worked like --indicator-style=slash, rather than like --indicator-style=file-type. Jim Meyering 2006-07-20 10:20:23 +00:00
  • aa91e4fe34 *** empty log message *** Jim Meyering 2006-07-20 08:34:22 +00:00
  • 6e41860c41 [ME_REMOTE]: Filter out cifs. Reported by Toralf Frster in <http://bugs.gentoo.org/141012>. Jim Meyering 2006-07-20 08:34:15 +00:00
  • 6e31234fbb *** empty log message *** Jim Meyering 2006-07-20 08:33:19 +00:00
  • 84d2889e40 *** empty log message *** Jim Meyering 2006-07-20 07:57:10 +00:00
  • db42e50e5e (ME_REMOTE): Compare strchr's result to NULL, not 0, for better readability. Jim Meyering 2006-07-20 07:57:06 +00:00
  • 7d97c337a7 * src/ls.c (print_dir): Give a better diagnostic for failed opendir. Jim Meyering 2006-07-19 10:36:02 +00:00
  • 30e6fc491f *** empty log message *** Jim Meyering 2006-07-19 09:56:03 +00:00
  • 865bf3e4ff (EXTRA_DIST): Add build-aux/vc-list-files. Jim Meyering 2006-07-19 09:54:53 +00:00
  • 603da96fbd *** empty log message *** Jim Meyering 2006-07-19 09:54:32 +00:00
  • 6f91fb9595 Command line args correspond to an "include" list, not an exclude list. Jim Meyering 2006-07-19 09:54:28 +00:00
  • 76d82ec5cc tweak spacing to align backslashes Jim Meyering 2006-07-19 08:43:27 +00:00
  • f8e8d8dd69 In comment: bits bits -> bits. Paul Eggert 2006-07-17 05:56:28 +00:00
  • a58ac00556 Regenerate. Paul Eggert 2006-07-17 03:52:18 +00:00
  • 16f64d42ba Regenerate. Paul Eggert 2006-07-17 03:51:25 +00:00
  • 6d62ac46ce Fix typo in previous checkin; some file names were wrong. Paul Eggert 2006-07-17 03:35:18 +00:00
  • 628c7baa85 chmod, install, and mkdir now leave setgid and setuid bits of directories alone unless you specify them explicitly. install and mkdir now implement X correctly. install now creates parent directories with mode 755, without changing their owner or group. Paul Eggert 2006-07-17 03:13:14 +00:00
  • d847e28b37 Add a test for the X bug. Paul Eggert 2006-07-17 03:12:44 +00:00
  • 01014bb951 Remove re_protect case that no longer applies. GNU chmod now behaves like other versions of chmod. Paul Eggert 2006-07-17 03:12:22 +00:00
  • 4d9d2da4a8 Do the setgid test instead of bailing. Paul Eggert 2006-07-17 03:11:51 +00:00
  • 577faf65e3 (main): Adjust to new mode_adjust API. Paul Eggert 2006-07-17 03:11:01 +00:00
  • 1d396d7008 (main): Adjust to new mode_adjust API. Paul Eggert 2006-07-17 03:10:29 +00:00
  • 76b12f0005 (struct mkdir_options): New struct. (announce_mkdir, make_ancestor): New functions. (main): Use them. Adjust to mode_adjust API change. Stick with umask 0. Use make_dir_parents for all the work. Paul Eggert 2006-07-17 03:10:10 +00:00
  • 83978a5654 Include mkancesdirs.h. (announce_mkdir, make_ancestor): New functions. (DEFAULT_MODE): New macro, specifying initial value of 'mode'. (mode): Use it. (dir_mode, dir_mode_bits): New vars. (main): Set dir modes separately from nondir, so that the X op of -m works correctly. (main): Remove cwd_errno cruft, since make_dir_parents no longer affects cwd. Adjust to new make_dir_parents API. (install_file_in_file_parents): 2nd arg is now char *, not char const *. Use mkancesdirs instead of rolling our own code. (change_attributes): Don't worry about AFS, since that kludge should not be needed any more. Paul Eggert 2006-07-17 03:09:49 +00:00
  • 8401b6ae54 (process_file): Adjust to mode_adjust API change. Paul Eggert 2006-07-17 03:09:26 +00:00
  • c09c4070ff (gl_PREREQ): Require gl_MKANCESDIRS. Paul Eggert 2006-07-17 03:09:09 +00:00
  • 6060142d89 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h. Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed. Require gl_FUNC_LCHOWN, since dirchownmod.c needs it. Paul Eggert 2006-07-17 03:08:42 +00:00
  • 1d5f7fa081 Remove; no longer needed. Paul Eggert 2006-07-17 03:08:18 +00:00
  • b2bc8fd0fd (gl_MACROS): Remove gl_AFS. Paul Eggert 2006-07-17 03:08:04 +00:00
  • 86e8a6b15e (mode_adjust): New API. Paul Eggert 2006-07-17 03:07:41 +00:00
  • 44ba013923 (octal_to_mode): New function. (struct mode_change): New member mentioned. (make_node_op_equals): New arg mentioned. All callers changed. (mode_compile): Keep track of which mode bits the user has explicitly mentioned. (mode_adjust): New arg DIR, so that we implement the X op correctly. New arg PMODE_BITS, to keep track of which mode bits the user mentioned; it treats S_ISUID and S_ISGID speciall. All callers changed. Paul Eggert 2006-07-17 03:07:23 +00:00
  • 9a1ed6fbf9 Adjust to new make_dir_parents API. Paul Eggert 2006-07-17 03:07:04 +00:00
  • a60cc14aed Don't include alloca.h, stdio.h, sys/types.h, unistd.h, string.h, chdir-safer.h, dirname.h, lchmod.h, lchown.h, save-cwd.h. Instead, include dirchownmod.h and mkancesdirs.h. (make_dir_parents): New args MAKE_ANCESTOR, OPTIONS, ANNOUNCE, MODE_BITS. Remove options VERBOSE_FMT_STRING, CWD_ERRNO. All callers changed. Revamp internals significantly, by not attempting to create directories that are temporarily more permissive than the final results. Do not attempt to use save_cwd/restore_cwd; it isn't worth it for mkdir and install. This removes some race conditions, fixes some bugs, and simplifies things. Use new dirchownmod function to do owner and mode changes. Paul Eggert 2006-07-17 03:06:48 +00:00
  • e9b48653e2 (Mode Structure): Modernize the explanation of the setuid and setgid bits on directories. (Changing Special Mode Bits): Mention that a implies both u and g for s. Cross reference to new node. (Numeric Modes): Don't claim that 0055 is the same as 55; this isn't true any more. Mention new node. 4755 is now like u=rwxs,go=rx,g-s, not like u=rwxs,go=rx. (Directory Setuid and Setgid): New node. Paul Eggert 2006-07-17 03:06:25 +00:00
  • 3a10b32994 Change GNU to @acronym{GNU} in a few places. Use "set-user-ID" and "set-group-ID" a bit more consistently. Use "appropriate privileges" rather than "super-user" a bit more consistently. (install invocation): Parent directories are now 755 without uid or gid changing. The default mode is now 0755, not 755. (mkdir invocation): Rewrite the top-level usage description, since I couldn't easily follow the old one. It's now 3 lines not 8. For -m, describe file permission bits versus other bits, and note that mkdir is atomic if you don't mention special bits. (chmod invocation): Mention what chmod does to setgid and setuid bits. Paul Eggert 2006-07-17 03:06:03 +00:00
  • f25ddb12c6 Initial version. Paul Eggert 2006-07-17 03:05:23 +00:00
  • 999eeed90f chmod, install, and mkdir now leave setgid and setuid bits of directories alone unless you specify them explicitly. install and mkdir now implement X correctly. install now creates parent directories with mode 755, without changing their owner or group. Paul Eggert 2006-07-17 03:02:45 +00:00
  • c5b6394401 * userspec.c (parse_with_separator): Say "invalid spec" rather than the sometimes erroneous "cannot get the login group of a numeric UID" for a spec like "not-a-username:" or "1:". Reported by suckfish@ihug.co.nz in https://bugzilla.redhat.com/bugzilla/199027. Jim Meyering 2006-07-16 07:13:07 +00:00
  • 77c9d9a009 (do_decode): Output to parameter OUT, not to stdout. Paul Eggert 2006-07-14 17:54:54 +00:00
  • a283f2df1a * Makefile.maint (CVS_LIST): Use new file, build-aux/vc-list-files, rather than open-coding it. Now supports mercurial, too. * .hgignore: New file. * Makefile.am (EXTRA_DIST): Add .hgignore, which ignores nearly all generated files, including ones like configure and po/*.po that are currently version-controlled in cvs. * build-aux/vc-list-files: New file. Jim Meyering 2006-07-14 14:42:27 +00:00
  • 01e7d49a3b * Makefile.am (EXTRA_DIST): Add a few more .??* files. They've been in CVS, just haven't been distributed before this. Distribute ChangeLog-2005, too. (MAINTAINERCLEANFILES): Add THANKS-to-translators. Jim Meyering 2006-07-14 14:27:38 +00:00
  • d6697c60c3 Assume <dirent.h> exists, since gnulib assumes this now as well. Paul Eggert 2006-07-11 17:22:15 +00:00
  • 2b6236d156 Sync from gnulib. Paul Eggert 2006-07-11 17:19:48 +00:00
  • 888ee9b8d9 (gl_STDINT_H): Like yesterday's change to absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string "no/such/file/stdint.h" when there is no such file, so that the resulting C code can be parsed by dodgy compilers. Problems reported by Bob Proulx. Paul Eggert 2006-07-11 03:29:56 +00:00
  • 6e1e9cd9b4 (gl_ABSOLUTE_HEADER): Use "" rather than <> around the absolute name, to work around a problem with the HP-UX 11.23 native C compiler, reported by Bob Proulx. Paul Eggert 2006-07-10 04:37:33 +00:00
  • 86f86c121b *** empty log message *** Jim Meyering 2006-07-09 17:49:28 +00:00
  • 6eb562ad35 (TESTS): Add dir2dir. Jim Meyering 2006-07-09 17:49:24 +00:00
  • 04463c3a6f *** empty log message *** Jim Meyering 2006-07-09 17:48:13 +00:00
  • 159f930158 Adjust so failing with ENOTEMPTY is ok, too. That happens with Linux/tmpfs. Jim Meyering 2006-07-09 17:48:08 +00:00
  • 914c8674a5 Regenerate. Paul Eggert 2006-07-09 17:20:26 +00:00
  • f354f3be02 Adjust to recent updates from gnulib. Paul Eggert 2006-07-09 17:09:48 +00:00
  • 197b96d069 Adjust to today's renaming changes in system.h. Paul Eggert 2006-07-09 17:08:55 +00:00
  • b3e1ad7a5d (print_it): Don't assume char is unsigned. Paul Eggert 2006-07-09 17:07:12 +00:00
  • b35b31b0f8 (print_esc): Don't assume char is unsigned. Paul Eggert 2006-07-09 17:06:35 +00:00
  • 20c336e6d2 (create_fullname): Don't assume char is unsigned. Paul Eggert 2006-07-09 17:06:06 +00:00
  • 2b001e3490 (is_blank): Remove; no longer needed. All uses replaced by isblank (to_uchar (...)). Paul Eggert 2006-07-09 17:05:33 +00:00
  • c7a6c4014f (unexpand): Don't assume that isprint etc. return booleans (needed for pre-C99 hosts). Paul Eggert 2006-07-09 17:05:13 +00:00
  • 8c572b86f6 (is_char_class_member): Don't assume that isprint etc. return booleans (needed for pre-C99 hosts). Paul Eggert 2006-07-09 17:04:48 +00:00
  • 613b3f819c (initialize_regex, fix_output_parameters): Don't assume that isprint etc. return booleans (needed for pre-C99 hosts). (SKIP_NON_WHITE, SKIP_WHITE, SKIP_WHITE_BACKWARDS): (copy_unescaped_string): Don't assume char is unsigned. Paul Eggert 2006-07-09 17:04:06 +00:00
  • 925076c5d6 (check_punctuation): Don't assume that isprint etc. return booleans (needed for pre-C99 hosts). Paul Eggert 2006-07-09 17:03:20 +00:00
  • 55755b03cd (expand): Don't assume that isprint etc. return booleans (needed for pre-C99 hosts). Paul Eggert 2006-07-09 17:02:53 +00:00
  • 1ee1c4d4a3 (inittables): Use toupper rather than islower followed by toupper; it's simpler and typically faster now that we assume at least C89 semantics. Similarly for tolower. Paul Eggert 2006-07-09 17:02:17 +00:00
  • 7c3fd7cbec (apply_translations): Use toupper rather than islower followed by toupper; it's simpler and typically faster now that we assume at least C89 semantics. Similarly for tolower. Paul Eggert 2006-07-09 17:01:38 +00:00
  • d740f05066 (_D_EXACT_NAMELEN): Renamed from NLENGTH, for convenience on GNU systems. All uses changed. Don't bother looking for any dirent.h substitute other than ndir.h. (D_INO): Remove unnecessary parentheses. (IN_CTYPE_DOMAIN, ISGRAPH, ISPRINT, ISALNUM, ISALPHA): (ISCNTRL, ISLOWER, ISPUNCT, ISSPACE, ISUPPER, ISXDIGIT): (ISDIGIT_LOCALE, TOLOWER, TOUPPER): Remove. All uses changed to ctype.h equivalents. (isblank): Renamed from ISBLANK. Check for HAVE_DECL_ISBLANK too. All uses changed. Paul Eggert 2006-07-09 17:01:13 +00:00
  • fbb436b3f8 Update from gnulib. Paul Eggert 2006-07-09 16:59:35 +00:00
  • cb052e4f6c Update from gnulib. Paul Eggert 2006-07-09 16:59:05 +00:00
  • 28edf6a75e (stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H, to accommodate update from gnulib. Paul Eggert 2006-07-09 16:57:35 +00:00
  • 533793f35c Update from gnulib. Paul Eggert 2006-07-09 16:57:00 +00:00
  • ba6a5af063 remove doubled "in" Jim Meyering 2006-07-09 09:49:10 +00:00
  • 62f3c3097c fix typo: remove doubled "each" Jim Meyering 2006-07-09 09:47:20 +00:00
  • 75f0b1e2da New file, test for 2006-07-05 fix in copy.c. Jim Meyering 2006-07-08 21:52:24 +00:00
  • 7d65513654 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment. Jim Meyering 2006-07-08 12:08:59 +00:00
  • 00318b60c9 * link-follow.m4: Remove one of two adjacent "whether"s in a comment. Jim Meyering 2006-07-08 11:28:05 +00:00
  • 7ea443fa86 Remove one of two adjacent "your"s in a comment. Jim Meyering 2006-07-08 11:27:07 +00:00
  • a3752970c9 Remove one of two adjacent "can"s in a comment. Jim Meyering 2006-07-08 11:25:18 +00:00
  • ecdb09854e (getndelim2): Remove doubled "after" in comment. Jim Meyering 2006-07-08 09:58:13 +00:00
  • 2d9ebdc8ae * tests/Coreutils.pm: Remove one of two adjacent "then"s in a comment. Jim Meyering 2006-07-08 07:37:16 +00:00
  • d80c390842 * Makefile.maint (sc_the_the): New rule. Jim Meyering 2006-07-08 06:08:34 +00:00
  • 6b535b03bb * src/dd.c (skip): Remove one of two adjacent "the"s in a comment. Jim Meyering 2006-07-08 06:04:18 +00:00
  • 24ec8f28bb * coreutils.texi (Squeezing): Separate doubled "the", so typo-checkers don't complain. Jim Meyering 2006-07-08 06:03:50 +00:00
  • a56e9c5a4d * Makefile.am (check-texinfo): Enforce the zeros vs. zeroes consistency. Jim Meyering 2006-07-08 05:31:59 +00:00
  • 38fbc11f7b * coreutils.texi: Fix some typos. Use zeros' consistently (both zeros' and `zeroes' are correct). Jim Meyering 2006-07-08 05:28:39 +00:00
  • 1ac491f062 * NEWS: Mention that mv can now remove an empty destination directory, and give an example. Prompted by a report from Florent Bayle. Jim Meyering 2006-07-07 06:38:36 +00:00
  • b544360dab * src/ls.c (usage): Correct the description of -G: it is useful only in a long listing. Reported by Martin Pool in <https://launchpad.net/distros/ubuntu/+source/coreutils/+bug/51653>. Jim Meyering 2006-07-05 10:17:24 +00:00
  • 2a7f886e47 * man/chmod.x: Correct the description of the sticky bit. Reported by Chris Moore via Ian Jackson in <http://bugs.debian.org/376745>. Jim Meyering 2006-07-05 10:03:55 +00:00
  • 36a288e41a * src/copy.c (copy_internal): Don't work around old NFS clients like SunOS-4.1.4 and Irix 5.3 that set errno to values like EIO and ENOTEMPTY upon failed rename. Otherwise, we risk misinterpreting a banal failure as a recursive move-into-self failure. Reported by Florent Bayle in <http://bugs.debian.org/376749>. Jim Meyering 2006-07-05 09:08:42 +00:00
  • 7669f3998d . Jim Meyering 2006-07-05 06:57:09 +00:00
  • 21f0c888a2 Regenerate, to remove fuzz. Jim Meyering 2006-07-05 06:57:00 +00:00
  • addbdadf16 Really add wcwidth.h. Jim Meyering 2006-07-04 07:28:57 +00:00
  • 2880a90019 *** empty log message *** Jim Meyering 2006-07-04 07:28:45 +00:00
  • ba761d685f *** empty log message *** Jim Meyering 2006-07-04 07:23:10 +00:00