Files
gnu-coreutils/src
Jim Meyering f646cade60 (add_field_list): Don't use alloca with unbounded
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.
2003-12-30 08:24:26 +00:00
..
.
2003-10-18 10:10:50 +00:00
2003-11-09 21:04:20 +00:00
2003-11-09 21:03:57 +00:00
2003-11-09 21:07:31 +00:00
2003-11-09 20:47:15 +00:00
2003-12-24 16:38:36 +00:00
2003-08-15 06:53:02 +00:00
.
2003-12-27 09:55:48 +00:00
2003-11-09 20:50:37 +00:00
2003-11-18 16:17:00 +00:00
2003-11-06 10:01:06 +00:00
2003-11-20 07:57:24 +00:00
2003-11-09 21:06:16 +00:00
2003-11-09 20:47:54 +00:00
2003-11-27 08:14:39 +00:00
2003-11-27 08:16:38 +00:00
2003-11-04 09:28:28 +00:00
2003-08-19 10:07:33 +00:00
2003-11-04 09:31:08 +00:00
2003-11-27 08:17:35 +00:00
2003-11-05 03:49:29 +00:00
2003-11-05 03:43:30 +00:00