<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/shred.c, branch v6.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-11-27T10:27:46Z</updated>
<entry>
<title>Improve the check for departures from C89, and fix the departures</title>
<updated>2006-11-27T10:27:46Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@penguin.cs.ucla.edu</email>
</author>
<published>2006-11-27T10:27:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9b06af3367500dfe09067b047381e788969059cd'/>
<id>urn:sha1:9b06af3367500dfe09067b047381e788969059cd</id>
<content type='text'>
I found.
* Makefile.maint (my-distcheck): Also check for C89 compatibility
as best we can with GCC.
* src/stat.c (PRINTF_OPTION): Omit comma before } in enum
declaration; C89 doesn't allow this.
* src/dcgen: Don't generate string literals longer than
what C89 requires support for.
* src/cut.c (usage): Don't use string literals longer than
what C89 requires support for.
* src/date.c (usage): Likewise.
* src/dd.c (usage): Likewise.
* src/du.c (usage): Likewise.
* src/ls.c (usage): Likewise.
* src/od.c (usage): Likewise.
* src/readlink.c (usage): Likewise.
* src/seq.c (usage): Likewise.
* src/shred.c (usage): Likewise.
</content>
</entry>
<entry>
<title>* src/ls.c (quote_name): Use initializer rather than memset to</title>
<updated>2006-10-10T22:57:07Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-10-10T22:57:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e245a66054cac00f2916fbc9436d926ea2cf4d1c'/>
<id>urn:sha1:e245a66054cac00f2916fbc9436d926ea2cf4d1c</id>
<content type='text'>
initialize an object to zero.  This is easier to read and is less
likely to introduce an runtime error due to a mixup.  It causes
gcc -W to issue a warning, but you can work around this by
appending -Wno-missing-field-initializers.
* src/pathchk.c (portable_chars_only): Likewise.
* src/shred.c (main): Likewise.
* src/stty.c (main): Likewise.
* src/tr.c (card_of_complement): Likewise.
* src/wc.c (wc): Likewise.
</content>
</entry>
<entry>
<title>Don't include dirname.h, since system.h does it now.</title>
<updated>2006-09-03T02:53:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-03T02:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d8049d74780e587525622f69219243097a13861b'/>
<id>urn:sha1:d8049d74780e587525622f69219243097a13861b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include &lt;config.h&gt; unconditionally, since we now assume config.h exists.</title>
<updated>2006-08-26T06:55:57Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-26T06:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8f8f1d01884eadb85326f2bacbb80944aa01f871'/>
<id>urn:sha1:8f8f1d01884eadb85326f2bacbb80944aa01f871</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in previous checkin; a "&amp;" went missing.</title>
<updated>2006-08-25T23:12:01Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-25T23:12:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1a5c74f01a6ed5469f7271d3d6a7e9c7a0e986ee'/>
<id>urn:sha1:1a5c74f01a6ed5469f7271d3d6a7e9c7a0e986ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rewrite to avoid some unnecessary casts, macros, literals.</title>
<updated>2006-08-25T23:08:58Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-25T23:08:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=db3f6c256b231300775742c8b956d8451a62d517'/>
<id>urn:sha1:db3f6c256b231300775742c8b956d8451a62d517</id>
<content type='text'>
(DEFAULT_PASSES, VERBOSE_UPDATE): Now constants, not macros.
(SECTOR_SIZE, SECTOR_MASK): New constants.
(fillpattern, dopass, do_wipefd, main): Remove unnecessary casts,
and use the SECTOR_* constants when applicable.  Check for size &lt;
0 rather than size == -1, since negative-size files are a sign of
trouble anyway.

(dopass): Assume a continuable error if EIO even if the current
position is not a multiple of 512.
</content>
</entry>
<entry>
<title>* src/shred.c (usage): Don't indent the second line of an item.</title>
<updated>2006-08-13T21:21:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-08-13T21:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=418a7c8c43a610e5cf261c75168692887ba43c98'/>
<id>urn:sha1:418a7c8c43a610e5cf261c75168692887ba43c98</id>
<content type='text'>
Otherwise, help2man would misformat the output.
Reported by Adam Buchbinder in &lt;https://launchpad.net/bugs/48917&gt;.
</content>
</entry>
<entry>
<title>Use new random-number interface rather than rand-isaac.c.</title>
<updated>2006-08-08T22:19:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-08T22:19:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=65533e1b0939bba6a1a222ebc82189f448640ea9'/>
<id>urn:sha1:65533e1b0939bba6a1a222ebc82189f448640ea9</id>
<content type='text'>
Don't include rand-isaac.c; include randint.h and randread.h instead.
(RANDOM_SOURCE_OPTION): New enum.
(long_opts, usage, main): New option --random-source.
(struct irand_state, irand_init, irand32, irand_mod): Remove.
All callers changed to use randint interface.
(fillrand): Remove.  All callers changed to use randread interface.
(dopass): Remove dependency on ISAAC buffer size.
(genpattern): Don't wipe the random state here.
(randint_source): New static var.
(clear_random_data): New function.
(main): Allocate random source, and arrange to wipe it on exit.
</content>
</entry>
<entry>
<title>(fillrand): The assertion was way too weak, due to</title>
<updated>2006-04-19T06:27:43Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-04-19T06:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=43d487b7112d84bfbcb792164e6ccd046f1568a7'/>
<id>urn:sha1:43d487b7112d84bfbcb792164e6ccd046f1568a7</id>
<content type='text'>
what must be a typo.  Strengthen it to its intended value.
(dopass): Don't use alloca; it's not worth the aggravation here,
since it's used only to get a page-aligned buffer, and page
alignment doesn't buy us much here.  I'm suspicious that alloca
causes problems on some hosts, due to a recent bug report by Adam
Waltman.
</content>
</entry>
<entry>
<title>(wipename): Use new last_component, in place of base_name.</title>
<updated>2006-03-26T12:07:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-26T12:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d4d9a40b8277d288d6f13317f975f0ee704f11a7'/>
<id>urn:sha1:d4d9a40b8277d288d6f13317f975f0ee704f11a7</id>
<content type='text'>
</content>
</entry>
</feed>
