<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/sort.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-13T18:15:43Z</updated>
<entry>
<title>* src/sort.c (insertkey): Use xmemdup, rather than xmalloc+assignment.</title>
<updated>2006-11-13T18:15:43Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-13T18:15:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7932d2e2d47f5a0543b7ee46a4a6ac76037219c0'/>
<id>urn:sha1:7932d2e2d47f5a0543b7ee46a4a6ac76037219c0</id>
<content type='text'>
From Paul Eggert.
</content>
</entry>
<entry>
<title>Plug another technically-unimportant leak in sort.</title>
<updated>2006-11-13T14:19:22Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-13T14:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2061f0484753bb8de0fb9dd5821ee983ceda2e23'/>
<id>urn:sha1:2061f0484753bb8de0fb9dd5821ee983ceda2e23</id>
<content type='text'>
* src/sort.c (main): Don't allocate memory for each new key here.
(insertkey): Allocate memory for each key here, instead.
(key_init): Rename from new_key.  Don't allocate.
</content>
</entry>
<entry>
<title>* src/sort.c (main): Plug a tiny memory leak.</title>
<updated>2006-11-13T14:06:15Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-13T14:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d5d00c7f9f2fc1bd43c1ef682e44117ff661ad01'/>
<id>urn:sha1:d5d00c7f9f2fc1bd43c1ef682e44117ff661ad01</id>
<content type='text'>
Move declaration of local "minus" down to be nearer point of use.
</content>
</entry>
<entry>
<title>* src/sort.c (usage): Mention again that sort fields are origin 1.</title>
<updated>2006-10-09T23:26:33Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-10-09T23:26:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=489ff7f0cdaa63403aefcce778ea7214dc4e6808'/>
<id>urn:sha1:489ff7f0cdaa63403aefcce778ea7214dc4e6808</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use new random-number interface rather than rand-isaac.c.</title>
<updated>2006-08-08T22:20:12Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-08T22:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f8abf03c3fb0f8abf3d41893922b59bb06daac2e'/>
<id>urn:sha1:f8abf03c3fb0f8abf3d41893922b59bb06daac2e</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.
Include md5.h, randread.h, xmemxfrm.h.
(longopts, usage, main): Remove undocumented --seed option;
it's now replaced by --random-source.
(rand_state, get_hash): Remove.
(randread_source): New static var.
(random_state, cmp_hashes, compare_random): New functions; they guarantee
no collisions in the random hash function.
(keycompare): Use compare_random for -R; don't fall back on comparing
via memcoll, since compare_random does the right thing.
</content>
</entry>
<entry>
<title>(inittables):  Use toupper rather than</title>
<updated>2006-07-09T17:02:17Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-09T17:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1ee1c4d4a33ebc90cb2797175bf11c0e90fda8b2'/>
<id>urn:sha1:1ee1c4d4a33ebc90cb2797175bf11c0e90fda8b2</id>
<content type='text'>
islower followed by toupper; it's simpler and typically
faster now that we assume at least C89 semantics.  Similarly
for tolower.
</content>
</entry>
<entry>
<title>* src/sort.c (main): Support obsolete usages like "sort +1 -2" even when</title>
<updated>2006-06-28T23:51:13Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-06-28T23:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4a8016db69e2df36a55c971977102a65ebf2f41e'/>
<id>urn:sha1:4a8016db69e2df36a55c971977102a65ebf2f41e</id>
<content type='text'>
conforming to POSIX 1003.1-2001, since this is a pure extension to
POSIX.
</content>
</entry>
<entry>
<title>(usage): Remove mention of --seed.</title>
<updated>2006-05-25T16:47:43Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-05-25T16:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5002b0ba7930677271bc42a2e291779a3e02bc62'/>
<id>urn:sha1:5002b0ba7930677271bc42a2e291779a3e02bc62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(incompatible_options): New function.</title>
<updated>2005-12-14T23:59:23Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-12-14T23:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e18c4ff172e0018df5b2d6abffd4f0e37637d00c'/>
<id>urn:sha1:e18c4ff172e0018df5b2d6abffd4f0e37637d00c</id>
<content type='text'>
(check_ordering_compatibility, main): Use it.
(main): Check for -c and -o.
Don't bother with a usage message for
"sort -c a b", for consistency with other error diagnostics.
</content>
</entry>
<entry>
<title>(check_ordering_compatibility): New function.</title>
<updated>2005-12-14T22:46:02Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-12-14T22:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=56805cd20232d0065be1091df04969c5597d75b1'/>
<id>urn:sha1:56805cd20232d0065be1091df04969c5597d75b1</id>
<content type='text'>
(main): Use it.
</content>
</entry>
</feed>
