platform/upstream/coreutils.git
20 years agoinstall -s failed on System V if SIGCHLD was ignored.
Jim Meyering [Wed, 21 Apr 2004 12:25:18 +0000 (12:25 +0000)]
install -s failed on System V if SIGCHLD was ignored.

Include <signal.h>.
(main) [defined SIGCHLD]: Set SIGCHLD handler to the default,
if -s is given, since System V fork+wait does not work if SIGCHLD
is ignored.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 18:13:54 +0000 (18:13 +0000)]
*** empty log message ***

20 years ago(is_empty_dir): Clarify comment.
Jim Meyering [Tue, 20 Apr 2004 18:13:43 +0000 (18:13 +0000)]
(is_empty_dir): Clarify comment.

20 years ago(main) [!defined _POSIX_SOURCE]:
Jim Meyering [Tue, 20 Apr 2004 15:10:07 +0000 (15:10 +0000)]
(main) [!defined _POSIX_SOURCE]:
Use simpler "signal (sig, SIG_DFL)" rather than sigaction equivalent.

20 years ago(main): Rewrite signal-catching code to make it
Jim Meyering [Tue, 20 Apr 2004 15:08:57 +0000 (15:08 +0000)]
(main): Rewrite signal-catching code to make it
similar to other coreutils programs.  When processing signals,
block all signals that we catch, but do not block signals that we
don't catch.  Avoid problems with unsigned int warnings.

(sighandler) [defined SA_NOCLDSTOP]:
Use simpler "signal (sig, SIG_DFL)" rather than sigaction equivalent.

20 years ago(sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE.
Jim Meyering [Tue, 20 Apr 2004 15:05:40 +0000 (15:05 +0000)]
(sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE.

20 years ago(main) [!defined _POSIX_SOURCE]:
Jim Meyering [Tue, 20 Apr 2004 10:44:42 +0000 (10:44 +0000)]
(main) [!defined _POSIX_SOURCE]:
Use simpler "signal (sig, SIG_IGN)" rather than sigaction equivalent.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 10:41:40 +0000 (10:41 +0000)]
*** empty log message ***

20 years ago(suspended): Change its type from int to sig_atomic_t volatile.
Jim Meyering [Tue, 20 Apr 2004 10:41:36 +0000 (10:41 +0000)]
(suspended): Change its type from int to sig_atomic_t volatile.
(first_call): Make it private to rpl_nanosleep, and have it
be zero initially as that's a bit faster.
(my_usleep): Round up fractional times instead of truncating them,
as this is the usual meaning for 'sleep'.

20 years ago.
Jim Meyering [Tue, 20 Apr 2004 10:18:48 +0000 (10:18 +0000)]
.

20 years agotweak --help output
Jim Meyering [Tue, 20 Apr 2004 10:06:19 +0000 (10:06 +0000)]
tweak --help output

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 10:04:43 +0000 (10:04 +0000)]
*** empty log message ***

20 years ago(.x.1): Use help2man's new --program-name=NAME option.
Jim Meyering [Tue, 20 Apr 2004 10:04:11 +0000 (10:04 +0000)]
(.x.1): Use help2man's new --program-name=NAME option.

20 years agoAccept new option: --program-name=NAME, so that we
Jim Meyering [Tue, 20 Apr 2004 10:03:53 +0000 (10:03 +0000)]
Accept new option: --program-name=NAME, so that we
can override the one in --version output.  This is needed solely
so that test.1 doesn't refer to `[' as the program name.
Reported by Benjamin Cutler as http://bugs.debian.org/205251.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 10:01:51 +0000 (10:01 +0000)]
*** empty log message ***

20 years agoremove trailing blank
Jim Meyering [Tue, 20 Apr 2004 09:35:17 +0000 (09:35 +0000)]
remove trailing blank

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 09:34:48 +0000 (09:34 +0000)]
*** empty log message ***

20 years agoDon't include pathmax.h; system.h already does it.
Jim Meyering [Tue, 20 Apr 2004 09:34:43 +0000 (09:34 +0000)]
Don't include pathmax.h; system.h already does it.

20 years ago.
Jim Meyering [Tue, 20 Apr 2004 09:21:30 +0000 (09:21 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 09:21:09 +0000 (09:21 +0000)]
*** empty log message ***

20 years agoChange UTILS_ to gl_ in AC_DEFINE'd names.
Jim Meyering [Tue, 20 Apr 2004 09:21:05 +0000 (09:21 +0000)]
Change UTILS_ to gl_ in AC_DEFINE'd names.
Change utils_- and jm_-prefixed variables, too.
* host-os.m4 (gl_HOST_OS): Renamed from UTILS_HOST_OS.

20 years agoChange UTILS_ to gl_ in AC_DEFINE'd names.
Jim Meyering [Tue, 20 Apr 2004 09:19:52 +0000 (09:19 +0000)]
Change UTILS_ to gl_ in AC_DEFINE'd names.
Change utils_- and jm_-prefixed variables, too.
(gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.

20 years agoReflect the renamings.
Jim Meyering [Tue, 20 Apr 2004 09:19:27 +0000 (09:19 +0000)]
Reflect the renamings.

20 years agoChange UTILS_ to gl_ in AC_DEFINE'd names.
Jim Meyering [Tue, 20 Apr 2004 09:19:09 +0000 (09:19 +0000)]
Change UTILS_ to gl_ in AC_DEFINE'd names.
Change utils_- and jm_-prefixed variables, too.

(gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
UTILS_FUNC_MKDIR_TRAILING_SLASH.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 08:45:28 +0000 (08:45 +0000)]
*** empty log message ***

20 years ago(gl_MACROS): Reflect the renaming: s/UTILS_FUNC_DIRFD/gl_FUNC_DIRFD/
Jim Meyering [Tue, 20 Apr 2004 08:45:24 +0000 (08:45 +0000)]
(gl_MACROS): Reflect the renaming: s/UTILS_FUNC_DIRFD/gl_FUNC_DIRFD/

20 years ago(gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
Jim Meyering [Tue, 20 Apr 2004 08:44:55 +0000 (08:44 +0000)]
(gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 08:40:41 +0000 (08:40 +0000)]
*** empty log message ***

20 years agoDon't emit trailing blanks.
Jim Meyering [Tue, 20 Apr 2004 08:40:38 +0000 (08:40 +0000)]
Don't emit trailing blanks.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 06:51:15 +0000 (06:51 +0000)]
*** empty log message ***

20 years ago(getndelim2): Upon realloc failure, don't leak memory.
Jim Meyering [Tue, 20 Apr 2004 06:51:07 +0000 (06:51 +0000)]
(getndelim2): Upon realloc failure, don't leak memory.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Apr 2004 06:50:46 +0000 (06:50 +0000)]
*** empty log message ***

20 years ago(cut_fields): Free buffer upon getndelim2 failure.
Jim Meyering [Tue, 20 Apr 2004 06:50:37 +0000 (06:50 +0000)]
(cut_fields): Free buffer upon getndelim2 failure.

20 years ago.
Jim Meyering [Mon, 19 Apr 2004 20:07:39 +0000 (20:07 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 20:07:27 +0000 (20:07 +0000)]
*** empty log message ***

20 years ago(isaac_seed_start) [AVOID_USED_UNINITIALIZED_WARNINGS]:
Jim Meyering [Mon, 19 Apr 2004 20:07:25 +0000 (20:07 +0000)]
(isaac_seed_start) [AVOID_USED_UNINITIALIZED_WARNINGS]:
Initialize a buffer to avoid warnings from tools like valgrind.

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 19:27:07 +0000 (19:27 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Mon, 19 Apr 2004 19:23:44 +0000 (19:23 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 19:01:14 +0000 (19:01 +0000)]
*** empty log message ***

20 years ago(gl_PREREQ_READUTMP): Require gl_FUNC_FREE, now that readutmp.c may call `free (0)'.
Jim Meyering [Mon, 19 Apr 2004 19:01:07 +0000 (19:01 +0000)]
(gl_PREREQ_READUTMP): Require gl_FUNC_FREE, now that readutmp.c may call `free (0)'.

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 19:00:49 +0000 (19:00 +0000)]
*** empty log message ***

20 years ago(read_utmp) [UTMP_NAME_FUNCTION]: Upon realloc failure,
Jim Meyering [Mon, 19 Apr 2004 18:59:52 +0000 (18:59 +0000)]
(read_utmp) [UTMP_NAME_FUNCTION]: Upon realloc failure,
don't leak memory and do call END_UTMP_ENT.

20 years ago.
Jim Meyering [Mon, 19 Apr 2004 18:58:24 +0000 (18:58 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 17:31:46 +0000 (17:31 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 15:12:38 +0000 (15:12 +0000)]
*** empty log message ***

20 years agoMake pwd work even if the resulting name is so long that getcwd fails.
Jim Meyering [Mon, 19 Apr 2004 15:12:31 +0000 (15:12 +0000)]
Make pwd work even if the resulting name is so long that getcwd fails.

(path_free, path_init, path_prepend): New functions.
(nth_parent, find_dir_entry, robust_getcwd): New functions.
(main): First try getcwd, then, upon failure, robust_getcwd.

20 years ago(sc_trailing_blank): New rule.
Jim Meyering [Mon, 19 Apr 2004 14:18:17 +0000 (14:18 +0000)]
(sc_trailing_blank): New rule.
(syntax-check-rules): Add it.

20 years agoremove trailing blanks
Jim Meyering [Mon, 19 Apr 2004 14:15:39 +0000 (14:15 +0000)]
remove trailing blanks

20 years agoremove trailing blanks
Jim Meyering [Mon, 19 Apr 2004 11:59:23 +0000 (11:59 +0000)]
remove trailing blanks

20 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 10:20:10 +0000 (10:20 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 15:05:33 +0000 (15:05 +0000)]
*** empty log message ***

20 years ago(print_user): Use xrealloc here, rather than unchecked realloc.
Jim Meyering [Sun, 18 Apr 2004 15:02:49 +0000 (15:02 +0000)]
(print_user): Use xrealloc here, rather than unchecked realloc.
Remove anachronistic casts.

20 years ago*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 14:58:56 +0000 (14:58 +0000)]
*** empty log message ***

20 years ago(full_filename_): Don't leak upon failed realloc.
Jim Meyering [Sun, 18 Apr 2004 14:58:51 +0000 (14:58 +0000)]
(full_filename_): Don't leak upon failed realloc.

20 years ago.
Jim Meyering [Sun, 18 Apr 2004 13:40:50 +0000 (13:40 +0000)]
.

20 years ago(readdir_ignoring_dotdirs): Move function to system.h, renaming it. Update uses.
Jim Meyering [Sun, 18 Apr 2004 13:14:25 +0000 (13:14 +0000)]
(readdir_ignoring_dotdirs): Move function to system.h, renaming it.  Update uses.

20 years ago*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 13:12:33 +0000 (13:12 +0000)]
*** empty log message ***

20 years ago(readdir_ignoring_dot_and_dotdot): New inline function, from remove.c.
Jim Meyering [Sun, 18 Apr 2004 13:09:27 +0000 (13:09 +0000)]
(readdir_ignoring_dot_and_dotdot): New inline function, from remove.c.

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 19:09:55 +0000 (19:09 +0000)]
*** empty log message ***

20 years agoDepend on automake-1.8.3.
Jim Meyering [Sat, 17 Apr 2004 19:09:51 +0000 (19:09 +0000)]
Depend on automake-1.8.3.

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 14:05:41 +0000 (14:05 +0000)]
*** empty log message ***

20 years ago(add_file_name): Declare function to be `static'.
Jim Meyering [Sat, 17 Apr 2004 14:05:37 +0000 (14:05 +0000)]
(add_file_name): Declare function to be `static'.

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 14:02:00 +0000 (14:02 +0000)]
*** empty log message ***

20 years ago(ds_init, ds_free): Declare functions to be `static'.
Jim Meyering [Sat, 17 Apr 2004 14:01:56 +0000 (14:01 +0000)]
(ds_init, ds_free): Declare functions to be `static'.

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 14:00:26 +0000 (14:00 +0000)]
*** empty log message ***

20 years ago(string_to_join_field): Declare function to be `static'.
Jim Meyering [Sat, 17 Apr 2004 14:00:20 +0000 (14:00 +0000)]
(string_to_join_field): Declare function to be `static'.

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 13:49:48 +0000 (13:49 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 13:47:01 +0000 (13:47 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 10:47:25 +0000 (10:47 +0000)]
*** empty log message ***

20 years ago(sc_prohibit_jm_in_m4): New rule.
Jim Meyering [Sat, 17 Apr 2004 10:47:20 +0000 (10:47 +0000)]
(sc_prohibit_jm_in_m4): New rule.
(syntax-check-rules): Add to the list.

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Apr 2004 16:25:35 +0000 (16:25 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 15 Apr 2004 10:52:25 +0000 (10:52 +0000)]
*** empty log message ***

20 years agoInclude getpagesize.h.
Jim Meyering [Thu, 15 Apr 2004 10:52:04 +0000 (10:52 +0000)]
Include getpagesize.h.
(main): Align I/O buffers to page boundaries.

20 years agoInclude getpagesize.h.
Jim Meyering [Thu, 15 Apr 2004 10:50:07 +0000 (10:50 +0000)]
Include getpagesize.h.
(dopass): Align I/O buffers to page boundaries.

20 years agoInclude getpagesize.h.
Jim Meyering [Thu, 15 Apr 2004 10:37:59 +0000 (10:37 +0000)]
Include getpagesize.h.
(copy_reg): Align I/O buffers to page boundaries.

20 years ago(gcd, lcm, ptr_align): New functions, moved from od.c.
Jim Meyering [Thu, 15 Apr 2004 09:12:25 +0000 (09:12 +0000)]
(gcd, lcm, ptr_align): New functions, moved from od.c.

20 years ago(gcd, lcm): Remove; now in system.h.
Jim Meyering [Thu, 15 Apr 2004 09:12:01 +0000 (09:12 +0000)]
(gcd, lcm): Remove; now in system.h.

20 years ago(ROUND_UP_OFFSET, PTR_ALIGN): Remove.
Jim Meyering [Thu, 15 Apr 2004 09:11:42 +0000 (09:11 +0000)]
(ROUND_UP_OFFSET, PTR_ALIGN): Remove.
All uses replaced by ptr_align.

20 years agoInclude getpagesize.h.
Jim Meyering [Thu, 15 Apr 2004 09:10:54 +0000 (09:10 +0000)]
Include getpagesize.h.
(main): Align I/O buffers to page boundaries.

20 years ago.
Jim Meyering [Wed, 14 Apr 2004 14:12:19 +0000 (14:12 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 14:11:59 +0000 (14:11 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 14:11:31 +0000 (14:11 +0000)]
*** empty log message ***

20 years ago(AC_CONFIG_FILES): Remove m4/Makefile.in from the list.
Jim Meyering [Wed, 14 Apr 2004 14:11:25 +0000 (14:11 +0000)]
(AC_CONFIG_FILES): Remove m4/Makefile.in from the list.

20 years ago(SUBDIRS): Remove `m4' from the list.
Jim Meyering [Wed, 14 Apr 2004 14:11:06 +0000 (14:11 +0000)]
(SUBDIRS): Remove `m4' from the list.

20 years agoRemove file. With automake-1.8.3, it is no longer needed.
Jim Meyering [Wed, 14 Apr 2004 11:23:33 +0000 (11:23 +0000)]
Remove file.  With automake-1.8.3, it is no longer needed.

20 years ago.
Jim Meyering [Wed, 14 Apr 2004 08:43:32 +0000 (08:43 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 08:41:18 +0000 (08:41 +0000)]
*** empty log message ***

20 years ago(cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
Jim Meyering [Wed, 14 Apr 2004 08:41:15 +0000 (08:41 +0000)]
(cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
check for inttypes.h.  Instead, require gt_HEADER_INTTYPES_H.

20 years ago.
Jim Meyering [Wed, 14 Apr 2004 08:35:45 +0000 (08:35 +0000)]
.

20 years agoundo last change -- all it did was change the serial number
Jim Meyering [Wed, 14 Apr 2004 08:35:25 +0000 (08:35 +0000)]
undo last change -- all it did was change the serial number

20 years ago*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 08:29:19 +0000 (08:29 +0000)]
*** empty log message ***

20 years agoRequire cu_PREREQ_STAT_PROG.
Jim Meyering [Wed, 14 Apr 2004 08:29:04 +0000 (08:29 +0000)]
Require cu_PREREQ_STAT_PROG.

20 years agoMove prerequisite function for src/stat.c to stat-prog.m4.
Jim Meyering [Wed, 14 Apr 2004 08:28:42 +0000 (08:28 +0000)]
Move prerequisite function for src/stat.c to stat-prog.m4.

20 years ago(cu_PREREQ_STAT_PROG): New file. Contents from prereq.m4.
Jim Meyering [Wed, 14 Apr 2004 08:27:42 +0000 (08:27 +0000)]
(cu_PREREQ_STAT_PROG): New file.  Contents from prereq.m4.
Macro renamed from gl_PREREQ_STAT.

20 years ago.
Jim Meyering [Tue, 13 Apr 2004 15:29:57 +0000 (15:29 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 13 Apr 2004 15:29:44 +0000 (15:29 +0000)]
*** empty log message ***

20 years agoChange `jm_' in AC_DEFINE'd names to `gl_'.
Jim Meyering [Tue, 13 Apr 2004 15:29:33 +0000 (15:29 +0000)]
Change `jm_' in AC_DEFINE'd names to `gl_'.

20 years agoChange `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.
Jim Meyering [Tue, 13 Apr 2004 15:28:45 +0000 (15:28 +0000)]
Change `jm_' in AC_DEFINE'd names to `gl_'.  Update all uses.

20 years agoremove trailing blanks
Jim Meyering [Tue, 13 Apr 2004 14:01:46 +0000 (14:01 +0000)]
remove trailing blanks

20 years ago*** empty log message ***
Jim Meyering [Tue, 13 Apr 2004 09:05:06 +0000 (09:05 +0000)]
*** empty log message ***