<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/join.c, branch v5.2.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.2.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.2.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2004-01-21T23:14:46Z</updated>
<entry>
<title>(usage): Use EXIT_SUCCESS, not 0, for clarity.</title>
<updated>2004-01-21T23:14:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2004-01-21T23:14:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f56bc12872aa4ac8a9dca4f2d5a2c48956f4191c'/>
<id>urn:sha1:f56bc12872aa4ac8a9dca4f2d5a2c48956f4191c</id>
<content type='text'>
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
</content>
</entry>
<entry>
<title>Include posixver.h.</title>
<updated>2003-12-30T08:26:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-12-30T08:26:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9e72e463c0fdc3c569c8fffa35692093e8b20e01'/>
<id>urn:sha1:9e72e463c0fdc3c569c8fffa35692093e8b20e01</id>
<content type='text'>
(obsolete_usage): New var.
(longopts): Put obsolete options first.
(OBSOLETE_LONG_OPTIONS): New constant.
(get_option, add_file_name): New functions.
(main): Use them to support new behavior.
(usage): Remove documentation for -j1 FIELD and -j2 FIELD.
Do not mark -j FIELD as obsolescent; it is longstanding
UNIX tradition and is a valid extension to POSIX.
</content>
</entry>
<entry>
<title>remove trailing blank</title>
<updated>2003-12-30T08:24:41Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-12-30T08:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=621e3e07cd52154656f73d4597e9720a812e20a4'/>
<id>urn:sha1:621e3e07cd52154656f73d4597e9720a812e20a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(add_field_list): Don't use alloca with unbounded</title>
<updated>2003-12-30T08:24:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-12-30T08:24:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f646cade60b80bde25eb448414529676239a115a'/>
<id>urn:sha1:f646cade60b80bde25eb448414529676239a115a</id>
<content type='text'>
size; just modify the argument, which is no longer const *.

Various other minor cleanups, mostly to avoid the need for casts.

(extract_field): Renamed from ADD_FIELD, as it's now a function.

(struct field.beg): Now char *, not unsigned char const *.  All
uses changed.  It shouldn't be const since xmemcoll writes on its
arguments.
(extract_field): Likewise, for 2nd arg.
(keycmp): Remove now-unnecessary cast of xmemcoll args.

(is_blank): New function, to avoid need to cast arg to unsigned char.
(extract_field): Use it.

(xfields): Rewrite pretty much from scratch.

(hard_LC_COLLATE): Now bool, not int.
(get_line, getseq, add_field_list): Now returns bool, not int.
(decode_field_spec, add_field_list): Return true on success (not
false), for consistency with the rest of the code.  All uses changed.

(tab): Now char, not unsigned char.  This wasn't 100% necessary
but is slightly cleaner.
(prjoin): Hoist (tab ? tab : ' ') expression, to help the compiler.

(empty_filler): Now const *.

(make_blank): Remove; wasn't needed.  Remove all calls.
(main): Don't set uni_blank.nfields; zero is fine.
</content>
</entry>
<entry>
<title>Include "quote.h".</title>
<updated>2003-12-27T14:36:26Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-12-27T14:36:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fdb08248b8a7671a404fa222d3e0e4122b20140e'/>
<id>urn:sha1:fdb08248b8a7671a404fa222d3e0e4122b20140e</id>
<content type='text'>
(min, max): Remove definitions.
Make a few function parameters and corresponding
locals `const'.  Use bool for boolean variables.
Use size_t (not int) for all counters and related index variables.
(prjoin): Remove now-useless assertion.
(string_to_join_field): New function.
(main): Accept join fields as large as SIZE_MAX.
(keycmp): Rename `min' to MIN and max to MAX.
</content>
</entry>
<entry>
<title>[struct seq]: Change types of members count and alloc</title>
<updated>2003-12-20T16:41:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-12-20T16:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=18c313d5638f29fa2b3288a096b5323795f1af72'/>
<id>urn:sha1:18c313d5638f29fa2b3288a096b5323795f1af72</id>
<content type='text'>
from `int' to `size_t'.
</content>
</entry>
<entry>
<title>(usage): Mention that FILE1 and FILE2 must be sorted</title>
<updated>2003-11-19T23:04:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-11-19T23:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=91c7bb89a1bd57eda7ec8315284453742d5815d3'/>
<id>urn:sha1:91c7bb89a1bd57eda7ec8315284453742d5815d3</id>
<content type='text'>
on the join fields.  Suggestion from Bruce Robertson.
</content>
</entry>
<entry>
<title>(ADD_FIELD, initseq, getseq): Use x2nrealloc rather than xrealloc.</title>
<updated>2003-11-04T14:42:05Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-11-04T14:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=62236f25e82b3b7f6f78df12791838ecd6a06db6'/>
<id>urn:sha1:62236f25e82b3b7f6f78df12791838ecd6a06db6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(initseq, add_field, make_blank): Use `sizeof *var' rather</title>
<updated>2003-11-04T06:07:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-11-04T06:07:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d63bdf9a4d66e18abec04d6455efabb3c54e44a2'/>
<id>urn:sha1:d63bdf9a4d66e18abec04d6455efabb3c54e44a2</id>
<content type='text'>
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
</content>
</entry>
<entry>
<title>Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change</title>
<updated>2003-10-18T10:05:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-10-18T10:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cf4fdf373fa202877d8141fcf7c1ef655a8e06d9'/>
<id>urn:sha1:cf4fdf373fa202877d8141fcf7c1ef655a8e06d9</id>
<content type='text'>
of 2003-09-19.  Now, AUTHORS is a comma-separated list of strings.
Update the call to parse_long_options so that `AUTHORS, NULL' are the
last parameters.

* src/true.c (main): Append NULL to version_etc argument list.
* src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
</content>
</entry>
</feed>
