<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/tac.c, branch v8.18</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.18</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2012-05-08T01:18:39Z</updated>
<entry>
<title>maint: fix common spelling errors</title>
<updated>2012-05-08T01:18:39Z</updated>
<author>
<name>Kevin Lyda</name>
<email>kevin@ie.suberic.net</email>
</author>
<published>2012-04-17T23:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=aa078afcf9828344697ef0469272657ac12a30b1'/>
<id>urn:sha1:aa078afcf9828344697ef0469272657ac12a30b1</id>
<content type='text'>
These were identified using: https://github.com/lyda/misspell-check
executed like: git ls-files | misspellings -f -

* src/cat.c: Correct a spelling error.
* src/comm.c: Likewise.
* src/expr.c: Likewise.
* src/pr.c: Likewise.
* src/tac.c: Likewise.
* src/test.c: Likewise.
* src/ChangeLog-2005: Likewise.
* src/ChangeLog-2007: Likewise.
* src/NEWS: Likewise.
* src/doc/coreutils.texi: Likewise.
* src/lib/ChangeLog-2007: Likewise.
* src/man/help2man: Likewise.
* src/old/fileutils/ChangeLog-1997: Likewise.
* src/old/fileutils/NEWS: Likewise.
* src/old/sh-utils/ChangeLog.0: Likewise.
* src/old/textutils/ChangeLog: Likewise.
* src/tests/misc/comm: Likewise.
* src/tests/misc/uniq: Likewise.
* src/tests/mv/dir2dir: Likewise.
* src/cfg.mk (old_NEWS_hash): update with `make update-NEWS-hash`
</content>
</entry>
<entry>
<title>maint: tac: use memcpy, not strcpy</title>
<updated>2012-04-19T11:10:36Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-04-19T09:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=219b894de4c366496ffdf3591389de074bfdb2b9'/>
<id>urn:sha1:219b894de4c366496ffdf3591389de074bfdb2b9</id>
<content type='text'>
* src/tac.c (main): Use memcpy, not strcpy, since we know the length.
</content>
</entry>
<entry>
<title>maint: use more modern fseeko, rather than fseek</title>
<updated>2012-03-21T21:00:17Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-03-20T18:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ee7740c300f38205b114b6ae34ccf4c5aa4d9134'/>
<id>urn:sha1:ee7740c300f38205b114b6ae34ccf4c5aa4d9134</id>
<content type='text'>
* src/tac.c (temp_stream): Use fseeko, not fseek, on principle:
use the more modern interface.  In general it is better to avoid
fseek due to its ABI-imposed 4GiB limit on the "offset", here its
use was fine because the offset was always 0.  Using fseeko also
has the advantage of not triggering a GNULIB_POSIXCHECK warning.
Reported by Eric Blake in
http://thread.gmane.org/gmane.comp.gnu.coreutils.general/2426/focus=2489
</content>
</entry>
<entry>
<title>maint: use single copyright year range</title>
<updated>2012-01-27T10:35:24Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-27T10:35:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d7878454cd02518959b0d6036db3a5b6ff00ca57'/>
<id>urn:sha1:d7878454cd02518959b0d6036db3a5b6ff00ca57</id>
<content type='text'>
Run "make update-copyright".
</content>
</entry>
<entry>
<title>maint: src/*.c: change remaining quotes (without embedded spaces)</title>
<updated>2012-01-09T20:50:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-08T14:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4'/>
<id>urn:sha1:a517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4</id>
<content type='text'>
Run this (twice):
  git grep -E -l '`[^ ]+'\' src/*.c \
    |xargs perl -pi -e 's/`([^ ]+'\'')/'\''$1/'
</content>
</entry>
<entry>
<title>maint: use new emit_try_help in place of equivalent fprintf</title>
<updated>2012-01-07T15:54:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-07T15:54:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=101d1203c667ec3ab54a026dde43117563d4e944'/>
<id>urn:sha1:101d1203c667ec3ab54a026dde43117563d4e944</id>
<content type='text'>
Run this command:
  perl -0777 -pi -e \
   's/fprintf \(stderr, _\("Try `%s --help.*\n.*;/emit_try_help ();/m'\
     src/*.c
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2012-01-01T09:04:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-01-01T08:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5111aa42968262bd4d44eeca277b194020bb5007'/>
<id>urn:sha1:5111aa42968262bd4d44eeca277b194020bb5007</id>
<content type='text'>
Run "make update-copyright".
</content>
</entry>
<entry>
<title>maint: tac: prefer "failed to" diagnostic over "cannot"</title>
<updated>2011-10-19T07:31:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-10-18T12:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e6fb579f4131506c14195788c6a5ae980ca7b05d'/>
<id>urn:sha1:e6fb579f4131506c14195788c6a5ae980ca7b05d</id>
<content type='text'>
* src/tac.c: Change wording in diagnostic: "failed to open" seems
clearer than "cannot open".
</content>
</entry>
<entry>
<title>tac: do not let failed allocation cause immediate exit</title>
<updated>2011-10-19T07:31:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-10-18T10:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1bb97e2aa16a247304c2492f6b52f2106259dbf4'/>
<id>urn:sha1:1bb97e2aa16a247304c2492f6b52f2106259dbf4</id>
<content type='text'>
* src/tac.c (temp_stream): Don't exit immediately upon failed heap
allocation, here.  That would inhibit processing of any additional
command-line arguments.
</content>
</entry>
<entry>
<title>tac: use only one temporary file, with multiple nonseekable inputs</title>
<updated>2011-10-19T07:31:30Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-10-18T09:44:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d96c2069d9453ba455540e045046ead19e885ff7'/>
<id>urn:sha1:d96c2069d9453ba455540e045046ead19e885ff7</id>
<content type='text'>
* src/tac.c (temp_stream): New function, factored out of...
(copy_to_temp): ...here.
(tac_nonseekable): Don't free or fclose, now that we reuse the file.
Suggested by Ambrose Feinstein.
* THANKS.in: Update.
</content>
</entry>
</feed>
