and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

This project is mirrored from git://git.sv.gnu.org/coreutils.git. Pull mirroring failed .
Last successful update .
  1. 06 Jan, 2012 5 commits
  2. 05 Jan, 2012 6 commits
  3. 04 Jan, 2012 1 commit
  4. 03 Jan, 2012 5 commits
    • Jim Meyering's avatar
      doc: adjust NEWS · 2403b1ca
      Jim Meyering authored
      * NEWS (New programs): Move this small section to the top.
      (df): Reword entry, from Pádraig Brady.
      2403b1ca
    • Jim Meyering's avatar
      df: work around long-named /dev/disk/by-uuid/... symlinks · 1e18d841
      Jim Meyering authored
      On systems with recent kernel/tools, a symlink from /etc/mtab to
      /proc/mounts, and a by-UUID mount (i.e., soon, nearly everyone),
      you will see something like the following when running "df -hT":
      (this has been truncated to fit in a width-limited ChangeLog file)
      
      Filesystem                                             Type      Siz...
      rootfs                                                 rootfs     11G
      udev                                                   devtmpfs  3.8G
      tmpfs                                                  tmpfs     774M
      /dev/disk/by-uuid/828fc648-9f30-43d8-a0b1-f7096a2edb66 ext4       11G
      tmpfs                                                  tmpfs     1.6G
      /dev/sda2                                              ext3      494M
      /dev/sda5                                              ext4       12G
      /dev/sda6                                              ext4      9.9G
      
      Contrast that with what we're used to seeing (modulo the
      two entries mounted on "/", which is a separate problem):
      
      Filesystem     Type      Size  Used Avail Use% Mounted on
      rootfs         rootfs     11G  1.9G  8.0G  19% /
      udev           devtmpfs  3.8G     0  3.8G   0% /dev
      tmpfs          tmpfs     774M  376K  774M   1% /run
      /dev/sda3      ext4       11G  1.9G  8.0G  19% /
      tmpfs          tmpfs     1.6G  8.0K  1.6G   1% /run/shm
      /dev/sda2      ext3      494M   78M  392M  17% /boot
      /dev/sda5      ext4       12G  7.6G  3.7G  68% /usr
      /dev/sda6      ext4      9.9G  6.6G  2.8G  71% /var
      
      When that long /dev/disk/by-uuid/... name is merely a symlink
      to a much shorter (and often more useful) device name like
      "/dev/sda3", and when it's part of a listing of all file systems,
      I would much prefer to see only the latter.  Similarly, when using
      an encrypted root file system, you would see a name like
      /dev/mapper/luks-828fc648-9f30-43d8-a0b1-f7196a2edb66 pointing
      to say, /dev/dm-0, I prefer the shorter name.
      
      I.e., if I explicitly run
      "df -hT /dev/disk/by-uuid/828fc648-9f30-43d8-a0b1-f7096a2edb66",
      then, it's fine -- and expected -- to print to the long name.
      It was explicitly given.  However, with no non-option argument,
      df should print the shorter name.  Note that performing this
      translation at a lower level (via a change to gnulib's mountlist.c)
      would make it impossible to distinguish those two cases.
      
      * src/df.c: Include "canonicalize.h".
      (get_dev): Add a parameter, telling when we're in process-all-
      mount-points mode; update all callers.  When true, resolve
      UUID-suffixed symlinks.
      * NEWS (Changes in behavior): Mention it.
      Reported by Dan Jacobson in http://bugs.gnu.org/10363
      1e18d841
    • Jim Meyering's avatar
      tests: adjust realpath test to avoid "make distcheck" failure · 520b69ce
      Jim Meyering authored
      * tests/misc/realpath: Quote lhs of test ... = ..., so that
      when $PWD contains a space (like it does via "make distcheck"),
      the test does not fail
      520b69ce
    • Pádraig Brady's avatar
      realpath: a new program to print the resolved path · 77ea441f
      Pádraig Brady authored
      This program is compatible with other realpath(1)
      implementations, and also incorporates relpath like support,
      through the --relative options.  The relpath support
      was suggested by Peng Yu, who also provided an initial
      implemenation of that functionality.
      
      * AUTHORS: Add my name.
      * NEWS: Mention the new command.
      * README: Likewise.
      * doc/coreutils.texi (realpath invocation): Add realpath info.
      * man/Makefile.am (realpath.1): Add dependency.
      * man/realpath.x: New template.
      * man/.gitignore: Ignore generated man page.
      * po/POTFILES.in: Add src/realpath.c.
      * src/.gitignore: Exclude realpath.
      * src/Makefile.am (EXTRA_PROGRAMS): Add realpath.
      * src/realpath.c: New file.
      * scripts/git-hooks/commit-msg: Add realpath to the list of prefixes.
      * tests/Makefile.am (TESTS): Add misc/realpath.
      * tests/misc/realpath: New file.
      77ea441f
    • Pádraig Brady's avatar
      build: update gnulib for canonicalize_filename_mode improvements · 76352c77
      Pádraig Brady authored
      This is required for the new realpath command.
      76352c77
  5. 02 Jan, 2012 1 commit
  6. 01 Jan, 2012 3 commits
  7. 31 Dec, 2011 1 commit
    • Jim Meyering's avatar
      tests: fix a missing-dependency problem · 76fd122a
      Jim Meyering authored
      * tests/check.mk (.built-programs): Depend on src/Makefile.am,
      so that when we add a program, this file is updated, and the new
      program is tested via misc/help-version.  Spotted by Pádraig Brady.
      76fd122a
  8. 30 Dec, 2011 1 commit
  9. 28 Dec, 2011 2 commits
  10. 26 Dec, 2011 2 commits
    • Pádraig Brady's avatar
      doc: homologize ch{con,grp,mod,own} option descriptions · 44e20cda
      Pádraig Brady authored
      * src/chgrp.c (usage): Group associated options together,
      to aid users.  Also minimize the differences between
      individual messages across these four commands, to
      aid translators.
      * src/chmod.c: Likewise.
      * src/chown.c: Likewise.
      * src/chcon.c (usage): Likewise.  Document the
      --dereference option.
      
      Suggested by Paul Eggert and Jari Aalto
      44e20cda
    • Jim Meyering's avatar
      stat,tail: recognize new FS type: pipefs · b1230020
      Jim Meyering authored
      * src/stat.c (human_fstype) [S_MAGIC_PIPEFS]: New case.
      * NEWS (Bug fixes): Mention this.
      b1230020
  11. 24 Dec, 2011 1 commit
  12. 23 Dec, 2011 1 commit
    • Jim Meyering's avatar
      tail: with -f, use polling when a file is on an FS of unknown type · 9c54c0a1
      Jim Meyering authored
      Before, we would use inotify in that case, which would work as long
      as updates were taking place locally, but not at all when remote.
      Move hard-coded list of known remote FS types into a more
      maintainable table in stat.c, alongside the list of FS
      names and magic numbers.  Generate a new is_local_fs_type function.
      * src/Makefile.am (fs-is-local.h): New rule, generated file.
      * src/extract-magic: Revamp to parse local/remote keyword after
      each magic number in src/stat.c's case statements.
      Accept new --local option.
      * src/.gitignore: Ignore the generated fs-is-local.h.
      * src/tail.c [HAVE_INOTIFY]: Include fs-is-local.h.
      (fremote) [HAVE_INOTIFY]: Use the new function in place of
      the switch stmt with hard-coded list of FS types.
      Emit a warning when processing a file on a file system of unknown type.
      * NEWS (Changes in behavior): Mention it.
      Suggested by Sven Breuner.
      9c54c0a1
  13. 22 Dec, 2011 2 commits
  14. 20 Dec, 2011 1 commit
    • Jim Meyering's avatar
      doc: improve factor example · ed71262b
      Jim Meyering authored
      * doc/coreutils.texi (factor invocation): Adjust example to use $(...)
      consistently, not a mix of `...` and $(...).  Separate the computation
      of the product and the actual factorization, so the timing of the
      latter doesn't include the cost of the former.
      ed71262b
  15. 17 Dec, 2011 2 commits
  16. 15 Dec, 2011 1 commit
    • Paul Eggert's avatar
      du: -x should not count files in other file systems · cfe1040c
      Paul Eggert authored
      This fixes Bug#10293, which I guess was introduced in commit
      95c948b0 dated 2003-10-02.
      * NEWS: Document fix.
      * src/du.c (process_file): Don't count files in different file
      systems if -x is given.
      * tests/du/one-file-system: Test for this bug.
      cfe1040c
  17. 13 Dec, 2011 1 commit
  18. 12 Dec, 2011 1 commit
  19. 09 Dec, 2011 1 commit
    • Jim Meyering's avatar
      maint: remove a misleading comment from shred.c · da4793e9
      Jim Meyering authored
      * src/shred.c: Remove obsolete TODO comment.  The first two and the
      last item were done, adding --recursive (-r) is neither necessary
      nor appropriate, and I don't want to add --interactive.  I don't
      see a need for the others.  Prompted by comments from Amr Ali.
      da4793e9
  20. 08 Dec, 2011 1 commit
    • Jim Meyering's avatar
      ls: be responsive to interrupts when color-listing large directories · c592a00f
      Jim Meyering authored
      Starting with commit adc30a83, when using --color, ls inhibited
      interrupts to avoid corrupting the state of an output terminal.
      However, for very large directories, that inhibition rendered ls
      uninterruptible for too long, including a potentially long period
      even before any output is generated.
      * src/ls.c: Two phases of processing are time-consuming enough that
      they can provoke this: the readdir loop and the printing loop.  The
      printing was supposed to be covered by a call to process_signals in
      (print_name_with_quoting): ... but that call was mistakenly guarded
      by a condition that might be false for many or even all files being
      processed.  Call process_signals unconditionally.
      (print_dir): Also call process_signals in the readdir loop.
      * NEWS (Bug fixes): Mention it.
      Reported by Arkadiusz Miśkiewicz in http://bugs.gnu.org/10243Co-authored-by: default avatarEric Blake <eblake@redhat.com>
      c592a00f
  21. 05 Dec, 2011 1 commit