Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 9159586138 Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS. 2002-08-03 14:54:21 +00:00
Jim Meyering 515fe7d138 *** empty log message *** 2002-08-03 14:01:20 +00:00
Jim Meyering 1a15d841b8 *** empty log message *** 2002-08-02 14:49:52 +00:00
Jim Meyering be39dde5b1 uniq now obeys LC_COLLATE. 2002-08-02 14:49:29 +00:00
Jim Meyering f74c790e4d *** empty log message *** 2002-08-02 14:42:45 +00:00
Jim Meyering 545c2323d4 Include hard-locale.h, xmemcoll.h.
(hard_LC_COLLATE): New var.
(different): Args are now char *, not const char *.
Use xmemcoll instead of memcmp to compare lines, so that
LC_COLLATE has effect.  However, use memcmp if it is an
easy locale.
(check_file): Do not include newline in comparison, so that
xmemcoll has a byte to stomp on temporarily.
(main): Set hard_LC_COLLATE.
2002-08-02 14:42:37 +00:00
Jim Meyering 69a27f2c3d *** empty log message *** 2002-08-01 21:37:04 +00:00
Jim Meyering 9a7a47422e *** empty log message *** 2002-08-01 09:19:30 +00:00
Jim Meyering d2b62daff5 (run_shell): Exit with status 126 or 127 when execvp or
execv fails, for consistency with POSIX commands like env and nice.
2002-08-01 09:19:24 +00:00
Jim Meyering a6005c2ba4 (main): Exit with status 126 or 127 when execvp or
execv fails, for consistency with POSIX commands like env and nice.
2002-08-01 08:50:19 +00:00
Jim Meyering 2a41097fd7 Change behavior to conform to POSIX 1003.1-2001:
- Do not adjust scheduling priority.
  - Redirects stderr to stdout, if stderr is not a terminal.
  - Exit status is now 126 if command was found but not invoked,
    127 if nohup failed or if command was not found.
  Fix bug: command was run if nohup.out wasn't writeable.
2002-08-01 08:47:33 +00:00
Jim Meyering 901688234a *** empty log message *** 2002-08-01 08:32:00 +00:00
Jim Meyering 8f065fba94 *** empty log message *** 2002-08-01 07:02:51 +00:00
Jim Meyering 12046ce90b (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
so require require jm_AC_TYPE_UINTMAX_T.  Patch by Joe Orton.
2002-08-01 07:02:47 +00:00
Jim Meyering cac2b2c8eb nohup changes 2002-07-29 12:19:12 +00:00
Jim Meyering 2394313610 *** empty log message *** 2002-07-29 12:18:35 +00:00
Jim Meyering a022cf6329 Change behavior to conform to POSIX 1003.1-2001:
- Do not adjust scheduling priority.
- Redirects stderr to stdout, if stderr is not a terminal.
- Exit status is now 126 if command was found but not invoked,
  127 if nohup failed or if command was not found.
2002-07-29 12:17:42 +00:00
Jim Meyering ac8cf8db56 . 2002-07-29 11:05:52 +00:00
Jim Meyering 2b1fd19a04 . 2002-07-29 11:04:59 +00:00
Jim Meyering 206dd4a985 require automake-1.6b 2002-07-29 10:57:12 +00:00
Jim Meyering ef2c17c290 . 2002-07-29 10:55:22 +00:00
Jim Meyering 72c145938f . 2002-07-29 10:54:44 +00:00
Jim Meyering 0b903c36ca . 2002-07-29 10:37:33 +00:00
Jim Meyering bc9509e015 *** empty log message *** 2002-07-29 10:35:22 +00:00
Jim Meyering 9d8a92eeb8 *** empty log message *** 2002-07-29 10:35:17 +00:00
Jim Meyering 95a4eb7b02 (SUBDIRS): Remove djgpp, for now. 2002-07-29 10:35:11 +00:00
Jim Meyering c010271591 . 2002-07-29 10:34:32 +00:00
Jim Meyering c017df37f1 Supply exit arg for both invocations of exit. 2002-07-29 09:54:40 +00:00
Jim Meyering 49f015c36b *** empty log message *** TEXTUTILS-2_1 2002-07-29 08:40:50 +00:00
Jim Meyering c8729cad98 Adjust command examples in comments to use POSIX 1003.1-2001 option syntax.
From Paul Eggert.
2002-07-29 08:40:10 +00:00
Jim Meyering 14714daf41 *** empty log message *** 2002-07-28 21:48:41 +00:00
Jim Meyering 03089e39cb . 2002-07-28 21:45:04 +00:00
Jim Meyering ff7b7797bb *** empty log message *** 2002-07-28 20:11:43 +00:00
Jim Meyering e3d2d82194 *** empty log message *** 2002-07-28 20:10:56 +00:00
Jim Meyering cafa875ac4 *** empty log message *** 2002-07-28 20:10:28 +00:00
Jim Meyering aab1a6520d *** empty log message *** 2002-07-28 13:19:38 +00:00
Jim Meyering 3eb3c770fd Don't require jm_FUNC_READDIR. 2002-07-28 13:19:35 +00:00
Jim Meyering af8dd6d427 (jm_FUNC_READDIR): Remove file/macro. No longer needed. 2002-07-28 13:15:48 +00:00
Jim Meyering e1b511adc6 . SH-UTILS-2_0_13 2002-07-27 21:39:33 +00:00
Jim Meyering ad0b9f7dde *** empty log message *** 2002-07-27 21:39:16 +00:00
Jim Meyering 37a7d1433c (jm_PREREQ_READUTMP): Don't check just
`struct utmpx.ut_exit' and `struct utmp.ut_exit'.  Instead, check
all combinations of utmp/utmpx and ut_termination/e_termination
and ut_exit/e_exit.
2002-07-27 21:39:00 +00:00
Jim Meyering 598ed91d62 If we have both utmpx.h and utmp.h, and there exists
the utmp.ut_exit member, but not the utmpx.ut_exit member, then
undefine HAVE_UTMPX_H.  For AIX 4.3.3.  Doing all this in cpp is
a big kludge; someday we'll put the brains in an autoconf macro.
(UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define.
2002-07-27 21:35:39 +00:00
Jim Meyering 86af2dfa29 (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Remove definitions.
Now they're defined in readutmp.h.
(print_deadprocs): Remove obsolete FIXME comment.
2002-07-27 21:31:50 +00:00
Jim Meyering ee16ef9929 *** empty log message *** 2002-07-27 08:45:53 +00:00
Jim Meyering 62c03f8fac Port to POSIX 1003.1-2001 "nice", which
requires the option "-n 5" rather than "-5".  This matters
with GNU "nice" if the user has set the _POSIX2_VERSION
environment variable.
2002-07-27 08:45:49 +00:00
Jim Meyering 5e8cbfdf8e *** empty log message *** 2002-07-27 07:08:03 +00:00
Jim Meyering 1d423f93c8 *** empty log message *** 2002-07-27 07:01:42 +00:00
Jim Meyering aa2fb76aa1 *** empty log message *** 2002-07-27 07:01:03 +00:00
Jim Meyering 8c01127f70 *** empty log message *** 2002-07-26 07:38:41 +00:00
Jim Meyering e4d4cea119 Don't include malloc.h -- it was unnecessary. 2002-07-26 07:38:35 +00:00