<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/du.c, branch v7.6</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.6</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-09-10T14:28:50Z</updated>
<entry>
<title>doc: improve various BLOCKSIZE and SIZE help</title>
<updated>2009-09-10T14:28:50Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2009-09-10T11:33:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b64d9b6d9e7fdc96614e3cbef001f8e078fe9588'/>
<id>urn:sha1:b64d9b6d9e7fdc96614e3cbef001f8e078fe9588</id>
<content type='text'>
* doc/coreutils.texi (multiplierSuffixes): Mention that
the suffix can be specified without a leading number
* src/split.c (usage): Refactor SIZE help to within a function
* src/truncate.c (usage): Likewise
* src/ls.c (usage): Likewise
* src/df.c (usage): Likewise. Also add a function with BLOCKSIZE help
* src/du.c (usage): Likewise.
* src/system.h: Define 2 functions to emit common help text
This was prompted by https://bugzilla.redhat.com/show_bug.cgi?id=511188
</content>
</entry>
<entry>
<title>chcon, chmod, chgrp, chown, du: report fts_close failure</title>
<updated>2009-09-01T11:05:06Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-09-01T11:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1b2d2635eeabce4a2176427dc1de9c1b9b87bc7d'/>
<id>urn:sha1:1b2d2635eeabce4a2176427dc1de9c1b9b87bc7d</id>
<content type='text'>
* src/du.c (du_files): Don't fail silently upon fts_close failure.
* src/chcon.c (process_files): Likewise.
* src/chmod.c (process_files): Likewise.
* src/chown-core.c (chown_files): Likewise.
</content>
</entry>
<entry>
<title>chcon, chmod, chgrp, chown, du: do not ignore fts_close failure</title>
<updated>2009-09-01T10:10:07Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-09-01T09:31:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=228c8e9eece21738070a986ff664f41d35b7e52e'/>
<id>urn:sha1:228c8e9eece21738070a986ff664f41d35b7e52e</id>
<content type='text'>
This is probably never visible, but who knows...
* src/chcon.c (process_files): Don't ignore fts_close failure.
* src/chmod.c (process_files): Likewise.
* src/chown-core.c (chown_files): Likewise.
* src/du.c (du_files): Likewise.
</content>
</entry>
<entry>
<title>maint: du: remove unnecessary initialization</title>
<updated>2009-09-01T10:10:07Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-08-31T16:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1ce27f74ec9aa20214e28969799c0f569288daf1'/>
<id>urn:sha1:1ce27f74ec9aa20214e28969799c0f569288daf1</id>
<content type='text'>
* src/du.c (main): Don't set "skip_file" unnecessarily.
</content>
</entry>
<entry>
<title>global: convert indentation-TABs to spaces</title>
<updated>2009-08-25T07:21:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-08-22T16:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e778f7c8d1ecf3d8f11385db013af2ba026e2a5'/>
<id>urn:sha1:5e778f7c8d1ecf3d8f11385db013af2ba026e2a5</id>
<content type='text'>
Transformed via this shell code:
t=$'\t'
git ls-files \
  | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
  | grep -vE 'tests/pr/|help2man' \
  | xargs grep -lE "^ *$t" \
  | xargs perl -MText::Tabs -ni -le \
    '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
</content>
</entry>
<entry>
<title>du,chgrp,chmod,chown: use FTS_DEFER_STAT</title>
<updated>2009-02-13T17:41:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-02-11T11:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=982504452d60a87632a5a2f11d1be645e06d8346'/>
<id>urn:sha1:982504452d60a87632a5a2f11d1be645e06d8346</id>
<content type='text'>
* src/du.c (main): Use FTS_DEFER_STAT, for better locality of inode
reference.  Important when traversing file systems with fake inodes.
* src/chgrp.c (main): Likewise.
* src/chmod.c (main): Likewise.
* src/chown.c (main): Likewise.
The only remaining fts client, chcon, doesn't need this, since it goes
further and uses FTS_NOSTAT, which suppresses all non- directory
stat calls.
</content>
</entry>
<entry>
<title>du: -H now does what POSIX requires</title>
<updated>2008-12-16T07:04:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-12-09T07:22:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9965d234e52590d932ff09b4b8c534336b0ab93e'/>
<id>urn:sha1:9965d234e52590d932ff09b4b8c534336b0ab93e</id>
<content type='text'>
* src/du.c (usage): Update --help output.
(main): Move -H-handling code from the --si block to
the one for --dereference-args (-D).
* doc/coreutils.texi (du invocation): Update description.
* NEWS (Changes in behavior): Mention this.
</content>
</entry>
<entry>
<title>du: read and process --files0-from= input a name at a time,</title>
<updated>2008-12-02T12:12:13Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-11-24T08:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=031e2fb5e9501fb9cda4d739a92abb02e2b05a52'/>
<id>urn:sha1:031e2fb5e9501fb9cda4d739a92abb02e2b05a52</id>
<content type='text'>
rather than by reading the entire input into memory and *then*
processing each file name.
* src/du.c: Include "argv-iter.h", not "readtokens0.h".
(main): Rewrite to use argv-iter.
Call xfts_open on each argument, rather than on the entire
argv list at once.
Call print_size here, not from du_files.
Diagnose read failure.
* NEWS (Bug fixes): Mention it.
* THANKS: update.
Reported by Barry Kelly.  More details in
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/15159/
</content>
</entry>
<entry>
<title>doc: Improve description of --files0-from option</title>
<updated>2008-12-01T02:09:19Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2008-12-01T02:09:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=00b5a2db33cddadf641ae2f01534514314d7e817'/>
<id>urn:sha1:00b5a2db33cddadf641ae2f01534514314d7e817</id>
<content type='text'>
* doc/coreutils.texi: Describe the most common
usage of --files0-from=- to read names from stdin.
* src/du.c: Likewise.
* src/sort.c: Likewise.
* src/wc.c: Likewise.
</content>
</entry>
<entry>
<title>avoid warnings about discarding "qualifiers from pointer target type"</title>
<updated>2008-11-10T07:11:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-10-28T21:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=854284f7887677395239c1085b27a09e834291b7'/>
<id>urn:sha1:854284f7887677395239c1085b27a09e834291b7</id>
<content type='text'>
Use the new "bad_cast" function or an actual cast-to-"(char *)"
to avoid warnings.
* src/system.h (bad_cast): Define.
* src/chown.c (main):
* src/chroot.c (main):
* src/date.c (main):
* src/du.c (main):
* src/expand.c (stdin_argv):
* src/ls.c (decode_switches):
* src/md5sum.c (main):
* src/paste.c (main):
* src/pr.c (col_sep_string, column_separator, line_separator, main):
* src/sort.c (main):
* src/split.c (main):
* src/tail.c (main):
* src/unexpand.c (stdin_argv):
* src/yes.c (main):
</content>
</entry>
</feed>
