Commit Graph
15857 Commits
Author SHA1 Message Date
Jim Meyering 23b4046380 (Examples of expr): Remove bogus `^'s. 2002-11-13 09:50:16 +00:00
Jim Meyering e08ebb3e61 *** empty log message *** 2002-11-13 09:49:41 +00:00
Jim Meyering 8bd460c1b7 *** empty log message *** 2002-11-12 08:31:16 +00:00
Jim Meyering 3048fb4d0f (HAVE_SYMLINKS): Remove unnecessary macro definition.
Replace sole use with equivalent `#ifdef S_ISLNK'.
Inconsistency reported by Dmitry V. Levin.
2002-11-12 08:31:05 +00:00
Jim Meyering 1cd5cc1b70 *** empty log message *** 2002-11-11 13:39:02 +00:00
Jim Meyering e8f4c08e14 Ensure that `ls -dF --color symlink-to-dir' works properly. 2002-11-11 13:38:48 +00:00
Jim Meyering f29777ab29 *** empty log message *** 2002-11-11 09:15:35 +00:00
Jim Meyering f1bfccb00b *** empty log message *** 2002-11-11 09:15:08 +00:00
Jim Meyering 092a0520eb *** empty log message *** 2002-11-11 09:10:39 +00:00
Jim Meyering 864e2eb4e2 *** empty log message *** 2002-11-10 23:25:13 +00:00
Jim Meyering f2308f74e8 (usage): Transform --help output via s/ - / /,
so that help2man produces properly formatted man pages.
2002-11-10 23:24:52 +00:00
Jim Meyering 9bec2462e8 *** empty log message *** 2002-11-10 20:15:59 +00:00
Jim Meyering f549fc269c (sighandler): Handle SIGTSTP specially.
Based on suggestions from Solar Designer and Dmitry V. Levin.
Add comments.
2002-11-10 20:15:54 +00:00
Jim Meyering 7acacbf29a *** empty log message *** 2002-11-10 14:34:29 +00:00
Jim Meyering 8056e2607f (cvs_files): Define. From autoconf.
(local_updates): Likewise.
2002-11-10 14:34:23 +00:00
Jim Meyering f740d054ae *** empty log message *** 2002-11-10 13:33:04 +00:00
Jim Meyering 99ad3e326a . 2002-11-10 11:12:13 +00:00
Jim Meyering ecf915a6a4 *** empty log message *** 2002-11-10 11:11:39 +00:00
Jim Meyering bb38561062 (restore_default_color_handler, sigtstp_handler): Remove functions.
(sighandler): New function, based on the one in sort.c.
(main): Use sigaction, if possible; otherwise signal.
Handle these signals:
SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
Don't register our handler if the signal is already being ignored.
2002-11-10 11:11:34 +00:00
Jim Meyering 20282f4992 (main): Also declare `i' to be unsigned, not int. 2002-11-10 10:23:41 +00:00
Jim Meyering 8988c3acb3 *** empty log message *** 2002-11-10 09:56:28 +00:00
Jim Meyering a040c8e428 (sighandler): Use raise, rather than kill+getpid.
(main): Declare `nsigs' to be unsigned, not int.
2002-11-10 09:56:19 +00:00
Jim Meyering faf852d2dd (interrupt_handler): Use raise, rather than kill+getpid. 2002-11-10 09:54:37 +00:00
Jim Meyering 2ebcd575a0 (interrupt_handler): Use raise, rather than kill+getpid. 2002-11-10 09:53:57 +00:00
Jim Meyering 34ed452d0a Use a return stmt. This isn't Perl. 2002-11-10 09:51:37 +00:00
Jim Meyering a0a7aef8bd Duh. add missing semicolon
Include unistd.h.
2002-11-10 09:50:59 +00:00
Jim Meyering f63f39031e *** empty log message *** 2002-11-10 09:46:14 +00:00
Jim Meyering f84d927787 (jm_MACROS): Add AC_REPLACE_FUNCS(raise). 2002-11-10 09:46:10 +00:00
Jim Meyering bd03362ebb *** empty log message *** 2002-11-10 09:44:05 +00:00
Jim Meyering b52870d14f correct indentation 2002-11-09 22:36:58 +00:00
Jim Meyering 85490682b7 ls --color: restore terminal state (color) upon signal.
Include "full-write.h" and <signal.h>.
(restore_default_color, restore_default_color_handler): New functions.
(sigtstp_handler, put_indicator_direct): New functions.
(main) [print_with_color]: Register signal handlers.
Patch mostly by Solar Designer and Stanislav Ievlev.
2002-11-09 22:27:27 +00:00
Jim Meyering cd0013e0ea *** empty log message *** 2002-11-09 22:21:31 +00:00
Jim Meyering bb1c17a762 . 2002-11-09 22:01:56 +00:00
Jim Meyering f559a4c800 (human_readable): Revamp to avoid warning about unused
variable 'amt'.  Unfortunately this means using some gotos.
2002-11-09 21:46:45 +00:00
Jim Meyering 2f1a2669e5 *** empty log message *** 2002-11-09 19:53:46 +00:00
Jim Meyering 440b2cb3f3 (What information is listed): Correct parts of --dired description.
Include a lot more description, with examples.
2002-11-09 19:53:25 +00:00
Jim Meyering dfd742c6e1 *** empty log message *** 2002-11-09 16:40:00 +00:00
Jim Meyering 2ea36bfc5c (EXTRA_LOCALE_CATEGORIES): Add LC_TIME.
Patch by Tim Waugh for Red Hat bug #73669.
2002-11-09 16:39:53 +00:00
Jim Meyering 143ae88b8f *** empty log message *** 2002-11-09 12:39:42 +00:00
Jim Meyering 2a75a0092f Make it work even when names contain spaces or shell metachars.
Write diagnostics to stderr, not stdout.
Normalize spacing in diagnostics: use one space (not two, and not a TAB)
after the leading `install:'.
Add double quotes around `$src' here: $doit $instcmd "$src" "$dsttmp"
2002-11-09 12:39:34 +00:00
Jim Meyering 8ce53c2d14 Merge in some changes from the version in automake.
Remove unnecessary quotes around `case' argument.
Use `[ cond1 ] || [ cond2 ]' rather than `[ cond1 -o cond2 ]'.
Use `:' rather than `true'.
2002-11-09 12:34:27 +00:00
Jim Meyering 82bd49565b . 2002-11-09 11:36:51 +00:00
Jim Meyering fd57b979a9 *** empty log message *** 2002-11-09 11:34:57 +00:00
Jim Meyering aa43311efb Update from autoconf.
(AMTAR): Remove definition.
(update, cvs-update, po-update, do-po-update): New rules.
(wget-update): Update (thus renaming to cvs-update).
(automake_repo): Use anoncvs@sources.redhat.com.
2002-11-09 11:34:42 +00:00
Jim Meyering 371a455589 . 2002-11-09 00:34:25 +00:00
Jim Meyering 868a8152e3 *** empty log message *** 2002-11-09 00:30:37 +00:00
Jim Meyering 52b5ba1af5 (jm_FUNC_GETGROUPS):
Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
2002-11-09 00:30:33 +00:00
Jim Meyering d84c4c3354 *** empty log message *** 2002-11-08 23:20:38 +00:00
Jim Meyering e3d3dee1b6 *** empty log message *** 2002-11-08 22:59:57 +00:00
Jim Meyering 83a7b1049d (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
freestanding C89.  No need to check for stdlib.h or string.h since
autoconf does this now.
2002-11-08 22:59:53 +00:00