platform/upstream/coreutils.git
24 years agoDon't include closeout.h.
Jim Meyering [Mon, 8 May 2000 10:09:28 +0000 (10:09 +0000)]
Don't include closeout.h.
(parse_long_options): Don't call close_stdout for --version.

24 years ago. SH-UTILS-2_0h
Jim Meyering [Sun, 7 May 2000 21:11:59 +0000 (21:11 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 May 2000 21:03:19 +0000 (21:03 +0000)]
*** empty log message ***

24 years agoUse UTC0, not just UTC, required for alphaev56-dec-osf4.0f.
Jim Meyering [Sun, 7 May 2000 21:02:56 +0000 (21:02 +0000)]
Use UTC0, not just UTC, required for alphaev56-dec-osf4.0f.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 May 2000 15:02:30 +0000 (15:02 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 7 May 2000 15:00:48 +0000 (15:00 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 May 2000 15:00:20 +0000 (15:00 +0000)]
*** empty log message ***

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 15:00:12 +0000 (15:00 +0000)]
Include "closeout.h".
(usage): Call close_stdout just before exit.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:57:52 +0000 (14:57 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:57:24 +0000 (14:57 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years ago(usage): Call close_stdout_status.
Jim Meyering [Sun, 7 May 2000 14:57:03 +0000 (14:57 +0000)]
(usage): Call close_stdout_status.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:56:12 +0000 (14:56 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:55:15 +0000 (14:55 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:54:43 +0000 (14:54 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:53:15 +0000 (14:53 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:52:54 +0000 (14:52 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:52:16 +0000 (14:52 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:51:49 +0000 (14:51 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:51:07 +0000 (14:51 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years ago(usage): Call close_stdout_status.
Jim Meyering [Sun, 7 May 2000 14:50:39 +0000 (14:50 +0000)]
(usage): Call close_stdout_status.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:49:06 +0000 (14:49 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:48:25 +0000 (14:48 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:47:44 +0000 (14:47 +0000)]
Include "closeout.h".
(usage): Call close_stdout just before exit.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:46:33 +0000 (14:46 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:46:11 +0000 (14:46 +0000)]
Include "closeout.h".
(main): Call atexit with close_stdout.
Remove explicit close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Sun, 7 May 2000 14:41:19 +0000 (14:41 +0000)]
Include "closeout.h".
(usage): Call close_stdout just before exit.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 May 2000 07:17:22 +0000 (07:17 +0000)]
*** empty log message ***

24 years ago($Test::env{'rfc822-1'}): Add TZ=UTC.
Jim Meyering [Sun, 7 May 2000 07:17:17 +0000 (07:17 +0000)]
($Test::env{'rfc822-1'}): Add TZ=UTC.

24 years ago.
Jim Meyering [Sat, 6 May 2000 15:51:29 +0000 (15:51 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 15:51:15 +0000 (15:51 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 15:45:33 +0000 (15:45 +0000)]
*** empty log message ***

24 years agoUndefine __strnlen and strnlen.
Jim Meyering [Sat, 6 May 2000 15:45:30 +0000 (15:45 +0000)]
Undefine __strnlen and strnlen.
[!weak_alias]: Define __strnlen to strnlen.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:38:04 +0000 (14:38 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Add strnlen.
Jim Meyering [Sat, 6 May 2000 14:37:59 +0000 (14:37 +0000)]
(AC_REPLACE_FUNCS): Add strnlen.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:36:00 +0000 (14:36 +0000)]
*** empty log message ***

24 years agoAC_REPLACE_FUNCS(atexit).
Jim Meyering [Sat, 6 May 2000 14:35:16 +0000 (14:35 +0000)]
AC_REPLACE_FUNCS(atexit).

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:33:56 +0000 (14:33 +0000)]
*** empty log message ***

24 years agoremove ifdef
Jim Meyering [Sat, 6 May 2000 14:33:46 +0000 (14:33 +0000)]
remove ifdef

24 years agoNew file, from libiberty.
Jim Meyering [Sat, 6 May 2000 14:33:22 +0000 (14:33 +0000)]
New file, from libiberty.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:31:38 +0000 (14:31 +0000)]
*** empty log message ***

24 years ago(EEXIST): Remove now-unused definition.
Jim Meyering [Sat, 6 May 2000 14:31:32 +0000 (14:31 +0000)]
(EEXIST): Remove now-unused definition.
(ENOTEMPTY): Likewise.
(errno_rmdir_non_empty): Rewrite to use RMDIR_ERRNO_NOT_EMPTY,
which is determined by the autoconf test in m4/rmdir-errno.m4..

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:25:40 +0000 (14:25 +0000)]
*** empty log message ***

24 years ago(fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
Jim Meyering [Sat, 6 May 2000 14:25:18 +0000 (14:25 +0000)]
(fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.

24 years agoRequire fetish_FUNC_RMDIR_NOTEMPTY.
Jim Meyering [Sat, 6 May 2000 14:25:07 +0000 (14:25 +0000)]
Require fetish_FUNC_RMDIR_NOTEMPTY.

24 years ago.
Jim Meyering [Sat, 6 May 2000 14:14:14 +0000 (14:14 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:03:27 +0000 (14:03 +0000)]
*** empty log message ***

24 years ago(jm_FUNC_NANOSLEEP): Save and restore LIBS around
Jim Meyering [Sat, 6 May 2000 14:03:19 +0000 (14:03 +0000)]
(jm_FUNC_NANOSLEEP): Save and restore LIBS around
AC_SEARCH_LIBS call for nanosleep.
(LIB_NANOSLEEP): Set and AC_SUBST.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 14:01:46 +0000 (14:01 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
Jim Meyering [Sat, 6 May 2000 14:01:39 +0000 (14:01 +0000)]
(AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2.1.3 bug.  This avoids a clash when files like regex.c define
_GNU_SOURCE.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 May 2000 13:47:44 +0000 (13:47 +0000)]
*** empty log message ***

24 years ago(get_charset_aliases): Use malloc, realloc and memcpy
Jim Meyering [Sat, 6 May 2000 13:47:38 +0000 (13:47 +0000)]
(get_charset_aliases): Use malloc, realloc and memcpy
instead of xmalloc, xrealloc, path_concat.
(locale_charset): Treat empty environment variables as absent.
(DIRECTORY_SEPARATOR, ISSLASH): New macros.

24 years ago(main): Warn about arguments, don't fail.
Jim Meyering [Sat, 6 May 2000 13:18:00 +0000 (13:18 +0000)]
(main): Warn about arguments, don't fail.
(usage): Call close_stdout_status from here as well as from main.

24 years agoInclude "closeout.h".
Jim Meyering [Fri, 5 May 2000 21:55:32 +0000 (21:55 +0000)]
Include "closeout.h".
(main): Call close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Fri, 5 May 2000 21:53:41 +0000 (21:53 +0000)]
Include "closeout.h".
(main): Call close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Fri, 5 May 2000 21:52:22 +0000 (21:52 +0000)]
Include "closeout.h".
(main): Call close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Fri, 5 May 2000 21:51:02 +0000 (21:51 +0000)]
Include "closeout.h".
(main): Call close_stdout.

24 years agoInclude "closeout.h".
Jim Meyering [Fri, 5 May 2000 21:49:44 +0000 (21:49 +0000)]
Include "closeout.h".
(main): Call close_stdout.

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 21:42:20 +0000 (21:42 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 21:41:53 +0000 (21:41 +0000)]
*** empty log message ***

24 years agoExit nonzero upon write failure.
Jim Meyering [Fri, 5 May 2000 21:41:29 +0000 (21:41 +0000)]
Exit nonzero upon write failure.
Include "closeout.h".
(main): Call close_stdout.
Reported by Ian Jackson via Michael Stone.

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 21:41:11 +0000 (21:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 21:41:03 +0000 (21:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 16:33:33 +0000 (16:33 +0000)]
*** empty log message ***

24 years ago(jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS call for clock_gettime.
Jim Meyering [Fri, 5 May 2000 16:33:26 +0000 (16:33 +0000)]
(jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS call for clock_gettime.
(LIB_CLOCK_GETTIME): Set and AC_SUBST.

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 16:10:41 +0000 (16:10 +0000)]
*** empty log message ***

24 years agoremove commented-out m4_default clause
Jim Meyering [Fri, 5 May 2000 16:10:22 +0000 (16:10 +0000)]
remove commented-out m4_default clause

24 years agoUpdate from autoconf.
Jim Meyering [Fri, 5 May 2000 16:10:03 +0000 (16:10 +0000)]
Update from autoconf.

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 15:05:09 +0000 (15:05 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 11:39:31 +0000 (11:39 +0000)]
*** empty log message ***

24 years agosu doesn't work on Solaris2.6.
Jim Meyering [Fri, 5 May 2000 11:39:25 +0000 (11:39 +0000)]
su doesn't work on Solaris2.6.
When checking for struct spwd.sp_pwdp, also include
<shadow.h>.  Reported by Dragos Harabor.

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2000 11:38:34 +0000 (11:38 +0000)]
*** empty log message ***

24 years ago(my-distcheck): Remove spurious blank line.
Jim Meyering [Thu, 4 May 2000 09:33:34 +0000 (09:33 +0000)]
(my-distcheck): Remove spurious blank line.
Remove $(DEPDIR) *after* making distclean, not before.

24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 07:19:34 +0000 (07:19 +0000)]
*** empty log message ***

24 years agoupdate from glibc -- solely white space changes
Jim Meyering [Thu, 4 May 2000 07:19:24 +0000 (07:19 +0000)]
update from glibc -- solely white space changes

24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 07:13:40 +0000 (07:13 +0000)]
*** empty log message ***

24 years agofilter through cppi
Jim Meyering [Thu, 4 May 2000 07:12:59 +0000 (07:12 +0000)]
filter through cppi

24 years agoUpdate from glibc.
Jim Meyering [Thu, 4 May 2000 07:12:43 +0000 (07:12 +0000)]
Update from glibc.

24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 07:06:49 +0000 (07:06 +0000)]
*** empty log message ***

24 years agoUpdate from glibc.
Jim Meyering [Thu, 4 May 2000 07:06:42 +0000 (07:06 +0000)]
Update from glibc.

24 years agoUpdate from glibc.
Jim Meyering [Thu, 4 May 2000 06:41:26 +0000 (06:41 +0000)]
Update from glibc.

24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 06:36:10 +0000 (06:36 +0000)]
*** empty log message ***

24 years agoupdate from glibc
Jim Meyering [Thu, 4 May 2000 06:35:49 +0000 (06:35 +0000)]
update from glibc

24 years agoNew file, from glibc.
Jim Meyering [Thu, 4 May 2000 06:34:23 +0000 (06:34 +0000)]
New file, from glibc.

24 years ago*** empty log message ***
Jim Meyering [Thu, 4 May 2000 05:35:04 +0000 (05:35 +0000)]
*** empty log message ***

24 years agoUpdate from glibc.
Jim Meyering [Thu, 4 May 2000 05:34:55 +0000 (05:34 +0000)]
Update from glibc.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 11:12:54 +0000 (11:12 +0000)]
*** empty log message ***

24 years agoDuring ls, set LANGUAGE (for GNU gettext)
Jim Meyering [Wed, 3 May 2000 11:10:32 +0000 (11:10 +0000)]
During ls, set LANGUAGE (for GNU gettext)
and LC_ALL (for systems which look at LC_MESSAGES).

24 years agouse rm, not $RM
Jim Meyering [Wed, 3 May 2000 11:09:07 +0000 (11:09 +0000)]
use rm, not $RM

24 years agoDefine LC_ALL instead of LANG, in case the user has
Jim Meyering [Wed, 3 May 2000 11:07:51 +0000 (11:07 +0000)]
Define LC_ALL instead of LANG, in case the user has
LC_CTYPE or LC_ALL set. Define it and LANGUAGE before the first "sort" call.

24 years agoRemove declaration of strndup.
Jim Meyering [Wed, 3 May 2000 08:40:33 +0000 (08:40 +0000)]
Remove declaration of strndup.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:39:29 +0000 (08:39 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:37:57 +0000 (08:37 +0000)]
*** empty log message ***

24 years ago(!HAVE_DECL_STRNDUP): Declare strndup.
Jim Meyering [Wed, 3 May 2000 08:37:40 +0000 (08:37 +0000)]
(!HAVE_DECL_STRNDUP): Declare strndup.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:37:11 +0000 (08:37 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_DECLS): Add strndup.
Jim Meyering [Wed, 3 May 2000 08:37:03 +0000 (08:37 +0000)]
(AC_CHECK_DECLS): Add strndup.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 May 2000 08:30:24 +0000 (08:30 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE): Define _GNU_SOURCE if
Jim Meyering [Wed, 3 May 2000 08:30:18 +0000 (08:30 +0000)]
(AC_SYS_LARGEFILE): Define _GNU_SOURCE if
this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
compile-time test, rather than inspecting host and OS, to
decide whether to define _LARGEFILE_SOURCE.

24 years ago.
Jim Meyering [Tue, 2 May 2000 14:07:39 +0000 (14:07 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Tue, 2 May 2000 06:57:00 +0000 (06:57 +0000)]
*** empty log message ***

24 years agodon't hard-code `rm'
Jim Meyering [Tue, 2 May 2000 06:56:31 +0000 (06:56 +0000)]
don't hard-code `rm'