platform/upstream/coreutils.git
24 years ago(usage): Don't call close_stdout directly, since that
Jim Meyering [Thu, 11 May 2000 07:21:33 +0000 (07:21 +0000)]
(usage): Don't call close_stdout directly, since that
didn't cover --version output.
(main):  Arrange to call close_stdout via atexit, instead.

24 years ago.
Jim Meyering [Thu, 11 May 2000 07:17:36 +0000 (07:17 +0000)]
.

24 years agoappend in subshell so we don't see this diagnostic:
Jim Meyering [Wed, 10 May 2000 22:33:06 +0000 (22:33 +0000)]
append in subshell so we don't see this diagnostic:
  ./remove: t-shred.11626/file: Permission denied

24 years ago.
Jim Meyering [Wed, 10 May 2000 16:40:30 +0000 (16:40 +0000)]
.

24 years ago(close_stdout_set_status): Declare.
Jim Meyering [Wed, 10 May 2000 16:39:53 +0000 (16:39 +0000)]
(close_stdout_set_status): Declare.

24 years ago[default_exit_status]: New file-scoped variable.
Jim Meyering [Wed, 10 May 2000 16:39:35 +0000 (16:39 +0000)]
[default_exit_status]: New file-scoped variable.
(close_stdout_set_status): New function.

24 years agoInclude sys/types.h in shred.c before including
Jim Meyering [Tue, 9 May 2000 20:27:54 +0000 (20:27 +0000)]
Include sys/types.h in shred.c before including
sys/stat.h or system.h.  From John David Anglin.

24 years agoback out last change -- the two should be separate
Jim Meyering [Tue, 9 May 2000 20:27:11 +0000 (20:27 +0000)]
back out last change -- the two should be separate

24 years ago*** empty log message ***
Jim Meyering [Tue, 9 May 2000 20:26:04 +0000 (20:26 +0000)]
*** empty log message ***

24 years agoInclude sys/types.h in shred.c before including
Jim Meyering [Tue, 9 May 2000 20:25:58 +0000 (20:25 +0000)]
Include sys/types.h in shred.c before including
sys/stat.h or system.h.  From John David Anglin.

24 years ago*** empty log message ***
Jim Meyering [Tue, 9 May 2000 12:37:47 +0000 (12:37 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 9 May 2000 11:00:13 +0000 (11:00 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 9 May 2000 06:32:31 +0000 (06:32 +0000)]
*** empty log message ***

24 years ago(case_GETOPT_VERSION_CHAR): Don't call close_stdout.
Jim Meyering [Tue, 9 May 2000 06:32:24 +0000 (06:32 +0000)]
(case_GETOPT_VERSION_CHAR): Don't call close_stdout.

24 years ago*** empty log message ***
Jim Meyering [Tue, 9 May 2000 05:50:09 +0000 (05:50 +0000)]
*** empty log message ***

24 years agorenamed to libintl.m4
Jim Meyering [Tue, 9 May 2000 05:44:51 +0000 (05:44 +0000)]
renamed to libintl.m4

24 years agorenamed from gettext.m4
Jim Meyering [Tue, 9 May 2000 05:44:51 +0000 (05:44 +0000)]
renamed from gettext.m4

24 years ago*** empty log message ***
Jim Meyering [Mon, 8 May 2000 16:54:55 +0000 (16:54 +0000)]
*** empty log message ***

24 years agoDon't use touch in root test. Instead, append to
Jim Meyering [Mon, 8 May 2000 16:53:36 +0000 (16:53 +0000)]
Don't use touch in root test.  Instead, append to
the test file, since now touch operates even on files which deny owner
write access.

24 years ago*** empty log message *** SH-UTILS-2_0i
Jim Meyering [Mon, 8 May 2000 12:16:11 +0000 (12:16 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 8 May 2000 12:01:46 +0000 (12:01 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 8 May 2000 11:59:34 +0000 (11:59 +0000)]
.

24 years ago.
Jim Meyering [Mon, 8 May 2000 10:10:26 +0000 (10:10 +0000)]
.

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.