]> git.ipfire.org Git - thirdparty/coreutils.git/log
thirdparty/coreutils.git
26 years agoTreat the trailing newline as part of the line, as required by POSIX.2.
Jim Meyering [Fri, 21 May 1999 20:24:19 +0000 (20:24 +0000)] 
Treat the trailing newline as part of the line, as required by POSIX.2.

(struct line, findlines, compare, checkfp, mergefps, sort):
A line now includes its trailing newline.
(findlines): Do not replace newline with NUL.
(memcoll, keycompare): Work even if the data to be compared are
adjacent strings; this is possible now that lines contain the
trailing newline.
(fillbuf): Always have an unused byte at the end of the buffer,
since memcoll and keycompare want to modify a byte after the last line.
(sortalloc, mergealloc): Increase by 1, for trailing byte.

26 years ago*** empty log message ***
Jim Meyering [Fri, 21 May 1999 19:53:05 +0000 (19:53 +0000)] 
*** empty log message ***

26 years ago.
Jim Meyering [Thu, 20 May 1999 20:12:17 +0000 (20:12 +0000)] 
.

26 years ago[AC_SEARCH_LIBS]: Quote name in undefine.
Jim Meyering [Thu, 20 May 1999 20:12:12 +0000 (20:12 +0000)] 
[AC_SEARCH_LIBS]: Quote name in undefine.
Add a colon after each `then' in case $4 is empty.

26 years ago.
Jim Meyering [Thu, 20 May 1999 20:10:17 +0000 (20:10 +0000)] 
.

26 years ago.
Jim Meyering [Thu, 20 May 1999 16:51:40 +0000 (16:51 +0000)] 
.

26 years ago*** empty log message ***
Jim Meyering [Thu, 20 May 1999 16:51:29 +0000 (16:51 +0000)] 
*** empty log message ***

26 years agoAdd test case from Paul Eggert.
Jim Meyering [Thu, 20 May 1999 16:48:56 +0000 (16:48 +0000)] 
Add test case from Paul Eggert.

26 years ago*** empty log message ***
Jim Meyering [Thu, 20 May 1999 16:29:51 +0000 (16:29 +0000)] 
*** empty log message ***

26 years ago(keycompare): Ignore any length difference if the
Jim Meyering [Thu, 20 May 1999 16:29:38 +0000 (16:29 +0000)] 
(keycompare): Ignore any length difference if the
localized comparison says the strings are equal.

26 years ago(memcoll, keycompare, compare): Handle NUL
Jim Meyering [Thu, 20 May 1999 16:09:12 +0000 (16:09 +0000)] 
(memcoll, keycompare, compare): Handle NUL
characters properly when comparing with LC_COLLATE semantics.
(NLS_MEMCMP): Remove.
(memcoll): Renamed from strncoll.
Take separate lengths for each string.
This function is now invoked only when need_locale.
(keycompare): Don't copy strings when ignore and translate
are both NULL.

26 years ago(MONTHTAB_CONST): Renamed from NLS_CONST; the use
Jim Meyering [Thu, 20 May 1999 03:52:15 +0000 (03:52 +0000)] 
(MONTHTAB_CONST): Renamed from NLS_CONST; the use
is also changed.  Define to const also if !HAVE_NL_LANGINFO.

(usage): `,' -> `;' (English typo).

26 years agoadd the comment to go with last change
Jim Meyering [Thu, 20 May 1999 03:49:25 +0000 (03:49 +0000)] 
add the comment to go with last change

26 years ago(get_date): Let mktime deduce tm_isdst if we
Jim Meyering [Thu, 20 May 1999 03:47:24 +0000 (03:47 +0000)] 
(get_date): Let mktime deduce tm_isdst if we
have an absolute timestamp, or if the relative timestamp
mentions days, months, or years.

26 years ago.
Jim Meyering [Wed, 19 May 1999 14:31:53 +0000 (14:31 +0000)] 
.

26 years ago(main): When stdout is in binary mode, make sure all
Jim Meyering [Tue, 18 May 1999 14:13:33 +0000 (14:13 +0000)] 
(main): When stdout is in binary mode, make sure all
input files are also read in binary mode.

26 years ago*** empty log message ***
Jim Meyering [Mon, 17 May 1999 13:10:53 +0000 (13:10 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 17 May 1999 13:10:31 +0000 (13:10 +0000)] 
*** empty log message ***

26 years ago(human_readable): Allow from_block_size to be zero.
Jim Meyering [Mon, 17 May 1999 13:03:46 +0000 (13:03 +0000)] 
(human_readable): Allow from_block_size to be zero.

26 years ago. SH-UTILS-1_16j
Jim Meyering [Sun, 16 May 1999 19:13:59 +0000 (19:13 +0000)] 
.

26 years ago.
Jim Meyering [Sun, 16 May 1999 19:11:16 +0000 (19:11 +0000)] 
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 19:09:25 +0000 (19:09 +0000)] 
*** empty log message ***

26 years ago. TEXTUTILS-1_22l
Jim Meyering [Sun, 16 May 1999 16:54:01 +0000 (16:54 +0000)] 
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:53:02 +0000 (16:53 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:43:22 +0000 (16:43 +0000)] 
*** empty log message ***

26 years agoDon't autodetect the locale of numbers and
Jim Meyering [Sun, 16 May 1999 16:18:46 +0000 (16:18 +0000)] 
Don't autodetect the locale of numbers and
months, as this conflicts with POSIX.2 and is tricky to boot.

(FLOATING_COMMA, NLS_STRNCMP, NLS_MAX_GROUPS,
NLS_ONE_CHARACTER_STRING): Remove macros no longer used.

(nls_grouping, nls_fraction_found, nls_month_found, nos_monthtab,
nls_months_collide, nls_keyhead, us_monthtab): Remove variables no
longer used.

(struct nls_keyfield): Remove types no longer used.

(strncoll_s2_readonly, nls_set_fraction, look_for_fraction,
nls_month_is_either_locale, nls_numeric_format): Remove functions no
longer used.

(monthtab): Now has the role that us_monthtab had, but it's const only
if ENABLE_NLS is not defined.

(C_DECIMAL_POINT): Renamed from FLOATING_POINT.  All uses changed.
(MONTHS_PER_YEAR): Renamed from NLS_NUM_MONTHS.  All uses changed.
(struct_month_cmp): Renamed from nls_sort_month_comp.  All uses changed.
Use strcmp, not strcoll, since the user doesn't care about collating
here.

(inittables): Read locale data into monthtab, rather than modifying a
separate month table and futzing with indirection.  Do not worry about
colliding months, since we no longer autodetect month locale.

(fraccompare): Don't set no-longer-used variable nls_fraction_found.

(getmonth): Use strncmp to compare months, since user doesn't care
about collating here.  Fix bug where code incorrectly assumed that
strlen (monthtab[lo].name) == strlen (monthtab[ix].name).

(keycompare, main): Don't autodetect month locale.

(compare): Don't use NLS_MEMCP in code that can't be executed if
need_locale is false, as NLS_MEMCP is equivalent to memcmp in that
case.

(sort, insertkey, main): Don't autodetect numeric locale.

26 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 15:50:56 +0000 (15:50 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 15:50:04 +0000 (15:50 +0000)] 
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 16 May 1999 15:48:43 +0000 (15:48 +0000)] 
.

26 years agoNew file to override autoconf's AC_SEARCH_LIBS.
Jim Meyering [Sun, 16 May 1999 15:48:11 +0000 (15:48 +0000)] 
New file to override autoconf's AC_SEARCH_LIBS.

26 years ago.
Jim Meyering [Sat, 15 May 1999 06:13:00 +0000 (06:13 +0000)] 
.

26 years ago.
Jim Meyering [Sat, 15 May 1999 05:46:45 +0000 (05:46 +0000)] 
.

26 years ago(usage): Whoops.
Jim Meyering [Sat, 15 May 1999 05:46:12 +0000 (05:46 +0000)] 
(usage): Whoops.

26 years ago*** empty log message ***
Jim Meyering [Sat, 15 May 1999 05:42:55 +0000 (05:42 +0000)] 
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 15 May 1999 05:30:51 +0000 (05:30 +0000)] 
.

26 years ago(trailing-sp): New test for this fix.
Jim Meyering [Sat, 15 May 1999 05:28:51 +0000 (05:28 +0000)] 
(trailing-sp): New test for this fix.

26 years ago(xfields): Don't interpret a trailing blank as a
Jim Meyering [Sat, 15 May 1999 05:28:16 +0000 (05:28 +0000)] 
(xfields): Don't interpret a trailing blank as a
delimiter when e.g. -t: was specified.  From Tim Smithers.

26 years ago(getugroups): Don't dereference a null pointer when
Jim Meyering [Sat, 15 May 1999 04:50:26 +0000 (04:50 +0000)] 
(getugroups): Don't dereference a null pointer when
running `id USER' for some USER that is listed on the RHS in /etc/group.
From Sander van Malssen.
Add some curly braces, use STREQ, reverse the sense of a test
and use `continue' to save a level of nesting.

26 years ago*** empty log message ***
Jim Meyering [Sat, 15 May 1999 04:11:13 +0000 (04:11 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 15 May 1999 04:08:29 +0000 (04:08 +0000)] 
*** empty log message ***

26 years ago(open_maybe_create): Handle Solaris' failure mode when
Jim Meyering [Sat, 15 May 1999 04:06:51 +0000 (04:06 +0000)] 
(open_maybe_create): Handle Solaris' failure mode when
FILE is a directory.  Reported by Vin Shelton.

26 years ago(main): When asking for info on an explicit file name,
Jim Meyering [Sat, 15 May 1999 01:53:21 +0000 (01:53 +0000)] 
(main): When asking for info on an explicit file name,
just warn rather than failing if the table of mounted filesystems
cannot be read.

26 years ago(version_etc): Put version info and author names
Jim Meyering [Fri, 14 May 1999 17:11:03 +0000 (17:11 +0000)] 
(version_etc): Put version info and author names
on the first two lines respectively rather than putting the three
lines of copyright info between them.

26 years ago*** empty log message ***
Jim Meyering [Fri, 14 May 1999 16:59:46 +0000 (16:59 +0000)] 
*** empty log message ***

26 years agoInclude <string.h> or <strings.h> for strlen prototype.
Jim Meyering [Thu, 13 May 1999 20:48:44 +0000 (20:48 +0000)] 
Include <string.h> or <strings.h> for strlen prototype.

26 years ago[__GLIBC__ >= 2]: #if-out prototypes.
Jim Meyering [Thu, 13 May 1999 20:44:45 +0000 (20:44 +0000)] 
[__GLIBC__ >= 2]: #if-out prototypes.

26 years ago(pop_dir): Cast length to `int' to avoid a warning on
Jim Meyering [Thu, 13 May 1999 20:42:45 +0000 (20:42 +0000)] 
(pop_dir): Cast length to `int' to avoid a warning on
64-bit systems.  From Ulrich Drepper.

26 years ago(main): Put `u' for -u in getopt_long's string argument.
Jim Meyering [Wed, 12 May 1999 16:50:54 +0000 (16:50 +0000)] 
(main): Put `u' for -u in getopt_long's string argument.
Remove the `R'.

26 years ago*** empty log message ***
Jim Meyering [Wed, 12 May 1999 16:01:29 +0000 (16:01 +0000)] 
*** empty log message ***

26 years agoUse `%%' place-holder that Makefile.am rule expects.
Jim Meyering [Wed, 12 May 1999 15:54:52 +0000 (15:54 +0000)] 
Use `%%' place-holder that Makefile.am rule expects.

26 years ago(usage): Split the --help message into two pieces so that
Jim Meyering [Wed, 12 May 1999 14:58:30 +0000 (14:58 +0000)] 
(usage): Split the --help message into two pieces so that
neither is longer than 2048.  For Irix4's cc.  Reported by Kaveh Ghazi.

26 years ago(usage): Split --help message into two pieces so that
Jim Meyering [Wed, 12 May 1999 02:13:45 +0000 (02:13 +0000)] 
(usage): Split --help message into two pieces so that
Split the --help message into two pieces so that neither is longer
than 2048.  For Irix4's cc.  Reported by Kaveh Ghazi.

26 years ago*** empty log message ***
Jim Meyering [Wed, 12 May 1999 02:10:38 +0000 (02:10 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Tue, 11 May 1999 16:30:03 +0000 (16:30 +0000)] 
*** empty log message ***

26 years agoFix typos in config.h comments.
Jim Meyering [Tue, 11 May 1999 16:29:56 +0000 (16:29 +0000)] 
Fix typos in config.h comments.

26 years agoFix typos in config.h comments.
Jim Meyering [Tue, 11 May 1999 16:29:33 +0000 (16:29 +0000)] 
Fix typos in config.h comments.

26 years ago*** empty log message ***
Jim Meyering [Mon, 10 May 1999 17:25:27 +0000 (17:25 +0000)] 
*** empty log message ***

26 years ago(AUTHORS): Reflect reality: add Kaveh.
Jim Meyering [Mon, 10 May 1999 15:12:24 +0000 (15:12 +0000)] 
(AUTHORS): Reflect reality: add Kaveh.

26 years agoExpand each `&' character in the gecos field.
Jim Meyering [Mon, 10 May 1999 14:17:09 +0000 (14:17 +0000)] 
Expand each `&' character in the gecos field.
(count_ampersands): New function.
(create_fullname): New function.
(print_entry): Use create_fullname here.
(print_long_entry): Use it here, too.
From Kaveh Ghazi.

26 years ago*** empty log message ***
Jim Meyering [Mon, 10 May 1999 05:24:38 +0000 (05:24 +0000)] 
*** empty log message ***

26 years agoReflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
Jim Meyering [Mon, 10 May 1999 05:18:30 +0000 (05:18 +0000)] 
Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.

26 years agoRequire 2.14.1, since we use newly-renamed AC_FUNC_MKTIME.
Jim Meyering [Mon, 10 May 1999 05:17:38 +0000 (05:17 +0000)] 
Require 2.14.1, since we use newly-renamed AC_FUNC_MKTIME.

26 years agoUpdate from libc.
Jim Meyering [Mon, 10 May 1999 04:24:49 +0000 (04:24 +0000)] 
Update from libc.

26 years agouncomment final rm FILEUTILS-4_0h
Jim Meyering [Sun, 9 May 1999 15:59:27 +0000 (15:59 +0000)] 
uncomment final rm

26 years ago*** empty log message *** SH-UTILS-1_16i
Jim Meyering [Sun, 9 May 1999 15:56:27 +0000 (15:56 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 9 May 1999 15:13:41 +0000 (15:13 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 9 May 1999 15:13:09 +0000 (15:13 +0000)] 
*** empty log message ***

26 years ago*** empty log message *** TEXTUTILS-1_22k
Jim Meyering [Sun, 9 May 1999 15:11:52 +0000 (15:11 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 9 May 1999 15:10:33 +0000 (15:10 +0000)] 
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 9 May 1999 15:10:10 +0000 (15:10 +0000)] 
*** empty log message ***

26 years ago(alpha): Put the announcement in /tmp/announce-$(distdir)
Jim Meyering [Sun, 9 May 1999 15:10:02 +0000 (15:10 +0000)] 
(alpha): Put the announcement in /tmp/announce-$(distdir)

26 years ago.
Jim Meyering [Sun, 9 May 1999 15:04:17 +0000 (15:04 +0000)] 
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 9 May 1999 15:03:58 +0000 (15:03 +0000)] 
*** empty log message ***

26 years agowhoops -- revert last change
Jim Meyering [Sun, 9 May 1999 15:03:52 +0000 (15:03 +0000)] 
whoops -- revert last change

26 years ago(Makefile.in): Depend on Makefile.maint.
Jim Meyering [Sun, 9 May 1999 15:02:44 +0000 (15:02 +0000)] 
(Makefile.in): Depend on Makefile.maint.

26 years ago.
Jim Meyering [Sun, 9 May 1999 15:02:16 +0000 (15:02 +0000)] 
.

26 years ago.
Jim Meyering [Sun, 9 May 1999 15:01:52 +0000 (15:01 +0000)] 
.

26 years ago(neg-nls): New test.
Jim Meyering [Sun, 9 May 1999 15:01:40 +0000 (15:01 +0000)] 
(neg-nls): New test.

26 years ago(fraccompare, numcompare): Merge the NLS and
Jim Meyering [Sun, 9 May 1999 03:27:24 +0000 (03:27 +0000)] 
(fraccompare, numcompare): Merge the NLS and
non-NLS versions into a single function.

(decimal_point): Now char, since we no longer convert to unsigned char.
(th_sep): Now int, since we use a value out of char range to denote
the absence of a thousands separator.
(IS_THOUSANDS_SEP): New macro.
(USE_NEW_FRAC_COMPARE): Remove.
(nls_set_fraction): Arg is now char, not unsigned char.
Set th_sep to CHAR_MAX + 1 if there is no thousands separator.
(numcompare): Don't convert to unsigned char unless necessary.
(main): Turn off decimal points and thousand separators if they
are multibyte characters, as we don't support that yet.

26 years ago* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,
Jim Meyering [Sat, 8 May 1999 23:29:47 +0000 (23:29 +0000)] 
* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,
and all the *_MIN and *_MAX symbols): Remove definitions.
* src/sys2.h: Put the definitions here instead (this file is shared
between all three *utils packages, while system.h is not).

26 years ago* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,
Jim Meyering [Sat, 8 May 1999 23:28:42 +0000 (23:28 +0000)] 
* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,
and all the *_MIN and *_MAX symbols): Remove definitions.
* src/sys2.h: Put the definitions here instead (this file is shared
between all three *utils packages, while system.h is not).

26 years ago(handle_line_error): Use %s, not %d, now that human_readable
Jim Meyering [Fri, 7 May 1999 19:15:37 +0000 (19:15 +0000)] 
(handle_line_error): Use %s, not %d, now that human_readable
converts it to a string.

26 years ago*** empty log message ***
Jim Meyering [Fri, 7 May 1999 19:00:44 +0000 (19:00 +0000)] 
*** empty log message ***

26 years agoimport latest
Jim Meyering [Fri, 7 May 1999 18:54:34 +0000 (18:54 +0000)] 
import latest

26 years ago*** empty log message ***
Jim Meyering [Fri, 7 May 1999 18:53:01 +0000 (18:53 +0000)] 
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 7 May 1999 18:52:35 +0000 (18:52 +0000)] 
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 7 May 1999 18:49:09 +0000 (18:49 +0000)] 
*** empty log message ***

26 years agoclean up
Jim Meyering [Fri, 7 May 1999 18:48:45 +0000 (18:48 +0000)] 
clean up

26 years ago(TESTS_ENVIRONMENT): Remove individual
Jim Meyering [Fri, 7 May 1999 18:47:50 +0000 (18:47 +0000)] 
(TESTS_ENVIRONMENT): Remove individual
upper-case program names.  Add a definition of PATH.
(TESTS): Add dir-1.

26 years ago(touch): Only do the fstat if we need to.
Jim Meyering [Fri, 7 May 1999 18:44:20 +0000 (18:44 +0000)] 
(touch): Only do the fstat if we need to.
Resort to calling stat for directories, but only when necessary.
(usage): Mention --no-create.

26 years ago(main): Use better wording in diagnostic: `cannot
Jim Meyering [Fri, 7 May 1999 18:40:11 +0000 (18:40 +0000)] 
(main): Use better wording in diagnostic: `cannot
create directory' rather than `cannot make directory'.  The former
also matches the one in makepath.c.

26 years ago(apply_translations): Use TOUPPER, not toupper.
Jim Meyering [Fri, 7 May 1999 18:36:54 +0000 (18:36 +0000)] 
(apply_translations): Use TOUPPER, not toupper.

26 years ago(numcompare): Handle comparison of two negative
Jim Meyering [Thu, 6 May 1999 21:51:06 +0000 (21:51 +0000)] 
(numcompare): Handle comparison of two negative
numbers correctly in the ENABLE_NLS case.

26 years ago(make_dir): When reporting a mkdir failure and the
Jim Meyering [Thu, 6 May 1999 02:10:34 +0000 (02:10 +0000)] 
(make_dir): When reporting a mkdir failure and the
target cannot be `stat'ed, use the errno from the failed mkdir call,
not the one from the stat call.  Before this change, running
`mkdir -p /no-dir/no-dir' as an unprivileged user would wrongly
elicit `No such file or directory' instead of `Permission denied'.

26 years ago*** empty log message ***
Jim Meyering [Wed, 5 May 1999 13:34:29 +0000 (13:34 +0000)] 
*** empty log message ***

26 years ago(read_utmp): Use the new definitions.
Jim Meyering [Wed, 5 May 1999 13:34:18 +0000 (13:34 +0000)] 
(read_utmp): Use the new definitions.

26 years agoAdd definitions to help read utmpx on systems with utmpname.
Jim Meyering [Wed, 5 May 1999 13:34:02 +0000 (13:34 +0000)] 
Add definitions to help read utmpx on systems with utmpname.
(UTMP_NAME_FUNCTION): Define.
(SET_UTMP_ENT): Likewise.
(GET_UTMP_ENT): Likewise.
(END_UTMP_ENT): Likewise.

26 years ago*** empty log message ***
Jim Meyering [Wed, 5 May 1999 13:26:22 +0000 (13:26 +0000)] 
*** empty log message ***

26 years ago(show_date): Change an automatic aggregate initializer
Jim Meyering [Wed, 5 May 1999 13:26:06 +0000 (13:26 +0000)] 
(show_date): Change an automatic aggregate initializer
to be a static one.  For SunOS4's cc.

26 years ago*** empty log message ***
Jim Meyering [Wed, 5 May 1999 13:21:55 +0000 (13:21 +0000)] 
*** empty log message ***