<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/sort.c, branch v7.1</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.1</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2008-12-01T02:09:19Z</updated>
<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>make --help print "Report PROGRAM translation bugs to &lt;...&gt;."</title>
<updated>2008-11-10T07:19:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-11-09T16:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=43448b049341d9b88293f38eb941759820f42e84'/>
<id>urn:sha1:43448b049341d9b88293f38eb941759820f42e84</id>
<content type='text'>
for all but the C/POSIX locale.
* src/system.h: Include "hard-locale.h".
(emit_bug_reporting_address): Tell where to report translation bugs.

don't include "hard-locale.h", now that system.h does
* src/comm.c: Likewise.
* src/join.c: Likewise.
* src/ls.c: Likewise.
* src/pinky.c: Likewise.
* src/pr.c: Likewise.
* src/sort.c: Likewise.
* src/uniq.c: Likewise.
* src/who.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>
<entry>
<title>ls and sort: use filevercmp instead of strverscmp</title>
<updated>2008-10-03T09:59:17Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2008-10-03T09:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e505736f8211a608b00dfe75fb186a5211e1a183'/>
<id>urn:sha1:e505736f8211a608b00dfe75fb186a5211e1a183</id>
<content type='text'>
* src/ls.c (cmp_version): Use filevercmp instead of strverscmp.
* src/sort.c (usage): Remove mna reference to strverscmp(3).
(compare_version): Use filevercmp instead of strverscmp.
* bootstrap.conf: Add filevercmp to list of gnulib modules.
* tests/misc/sort-version: Remove conflicting string and enhance test.
* NEWS: Mention the change.
</content>
</entry>
<entry>
<title>sort --help: sort the options better alphabetically</title>
<updated>2008-09-19T10:27:37Z</updated>
<author>
<name>Benno Schulenberg</name>
<email>bensberg@justemail.net</email>
</author>
<published>2008-08-24T13:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b39aa796fd57af518d6ab9bbc63ef171cefe605'/>
<id>urn:sha1:3b39aa796fd57af518d6ab9bbc63ef171cefe605</id>
<content type='text'>
Take the opportunity to split the long message into three parts.
</content>
</entry>
<entry>
<title>sort: improve usage wording</title>
<updated>2008-08-19T03:52:04Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2008-08-19T03:50:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=edd292f8d4a5845bcc0d01ab080a6fc9f51a36fa'/>
<id>urn:sha1:edd292f8d4a5845bcc0d01ab080a6fc9f51a36fa</id>
<content type='text'>
* src/sort.c (usage): Mention that -k defaults to end of line if
POS2 omitted.
* THANKS: Update.
Reported by Tim Ryan.

Signed-off-by: Eric Blake &lt;ebb9@byu.net&gt;
</content>
</entry>
<entry>
<title>adjust</title>
<updated>2008-08-15T08:18:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-08-15T07:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=929479026b3fd5910c165c22e1fae9f02e773342'/>
<id>urn:sha1:929479026b3fd5910c165c22e1fae9f02e773342</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sort: new option, --sort=version, for version number ordering</title>
<updated>2008-08-15T07:52:06Z</updated>
<author>
<name>Bruce Korb</name>
<email>bkorb@gnu.org</email>
</author>
<published>2008-08-14T13:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4c9fae4e97d95a9f89d1399a8aeb03051f0fec96'/>
<id>urn:sha1:4c9fae4e97d95a9f89d1399a8aeb03051f0fec96</id>
<content type='text'>
* src/sort.c [struct keyfield] (version): New member.
(usage): Describe --version-sort.
(sort_options): Add 'V'.
(long_options): Add "version-sort".
(CHECK_TABLE, _ct_, SORT_TABLE, _st_): Define new macros.
(check_args, sort_args, sort_types): Use these new macros in declarations.
(ARGMATCH_VERIFY): Remove use.  No longer needed.
(compare_version): New function.
(key_compare): Add a case.
(check_ordering_compatibility): Handle new type.
(main): Likewise.  Reformat two expressions for readability.
* tests/misc/sort-version: new test file
* tests/Makefile.am: add it to the list
* doc/coreutils.texi (sort invocation): Document it.
* NEWS: Mention the new feature.
</content>
</entry>
<entry>
<title>mktemp, sort, tac: don't use undefined after mkstemp failure</title>
<updated>2008-08-14T12:37:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-08-13T18:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=22999697b81acf3e8683c95c310a36926e7af96f'/>
<id>urn:sha1:22999697b81acf3e8683c95c310a36926e7af96f</id>
<content type='text'>
When mkstemp fails, the template buffer may have undefined
contents, so we must not print it.
* src/sort.c (create_temp_file): Use temp_dir, not "file"
when diagnosing failed mkstemp, because "file" may be undefined.
* tests/misc/sort-merge: Adjust for new expected output.
Jeph Cowan and Ralf Wildenhues reported the test failure:
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14235/focus=14257
* src/tac.c (copy_to_temp): Don't use template buffer after
failed mkstemp call, since its contents may be undefined.
* tests/misc/tac (pipe-bad-tmpdir): New test for the above.
* src/mktemp.c (main): Save a copy of the template string,
solely for use in case mkstemp fails.
* tests/misc/mktemp (pipe-bad-tmpdir): New test for the above.
</content>
</entry>
<entry>
<title>sort: remove unnecessary declaration of strtod</title>
<updated>2008-08-10T14:49:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-08-10T14:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4b5e044be39c4699adfe499bd100d19613a98c58'/>
<id>urn:sha1:4b5e044be39c4699adfe499bd100d19613a98c58</id>
<content type='text'>
* src/sort.c (STDC_HEADERS): Remove declaration of strtod.
</content>
</entry>
</feed>
