Commit Graph

7905 Commits

Author SHA1 Message Date
Jim Meyering e3fa0cb53b Back out most of the 2000-01-21 and 01-22 changes.
[Instead, merely give examples showing how to accomplish the same
task with fewer limitations using existing tools. ]
Suggestion from Bruno Haible.
(valid_format): Rename from check_format.
2000-01-29 10:05:35 +00:00
Jim Meyering 62205d8c7e Back out the 2000-01-21 change.
Remove associated tests and add two equal-width ones.
2000-01-29 09:57:31 +00:00
Jim Meyering 6cac32ec7f *** empty log message *** 2000-01-29 09:56:32 +00:00
Jim Meyering 4db6224838 Set COLUMNS envvar, just to be safe. 2000-01-29 09:50:49 +00:00
Jim Meyering ba088349be (screen_columns): Change #if-0 (test code, mistakenly committed in last delta)
back to #ifdef TIOCGWINSZ.
2000-01-29 09:50:14 +00:00
Jim Meyering bbcd510bc5 *** empty log message *** 2000-01-28 22:04:47 +00:00
Jim Meyering 489f1925be Change format of warning message to look more like that
from the missing script.  Suggestion from Franois Pinard.
2000-01-28 22:04:41 +00:00
Jim Meyering d813adbf1f *** empty log message *** 2000-01-28 08:32:14 +00:00
Jim Meyering 13707ac76a (wrapf): Emit a newline only if 0 < current_col.
(screen_columns): Use xstrtol, not atoi.
If get_win_size fails and $COLUMNS == 0, then return 80, not `0'.
2000-01-28 08:32:01 +00:00
Jim Meyering b631b5c3ac (detect_loop): Update incomplete comment.
From Mark Kettenis.
2000-01-26 21:47:06 +00:00
Jim Meyering 06b0be15bb *** empty log message *** 2000-01-25 12:07:14 +00:00
Jim Meyering 1f18465289 Change expected output for cycle-1 and cycle-2 tests. 2000-01-25 12:07:02 +00:00
Jim Meyering a8b0898ba5 tsort now works more like the traditional UNIX tsort. Before it would
exit when it found a loop.  Now it continues and outputs all items.

(exit_status): New variable.
(loop): New varibale.
(count_items, scan_zeroes): Change return type to int.
(detect_loop): Complete rewrite to correctly implement detection
of loops.  Also change return type to int.
(recurse_tree): Stop if ACTION returns non-zero.  This involves
changing the return type of this function and ACTION to int.
(walk_tree): Change return type of ACTION to int.
(tsort): Continue sort after a loop has been detected (and
broken).  Set exit_status to 1 if a loop was detected.
(main): Use exit_status to determine exit code.
2000-01-25 12:03:15 +00:00
Jim Meyering 9a2ff5e31c *** empty log message *** 2000-01-25 12:02:16 +00:00
Jim Meyering 03caa431a0 *** empty log message *** 2000-01-25 07:26:20 +00:00
Jim Meyering 231f8fc887 Require AC_HEADER_TIME, and include sys/time.h as well
as time.h in the compile check.
2000-01-25 07:26:14 +00:00
Jim Meyering 15ee939c3c bump serial 2000-01-25 07:25:49 +00:00
Jim Meyering 893fdf84e8 Fix typo in cross-compiling case: s/yes/no/. 2000-01-25 07:25:38 +00:00
Jim Meyering f57f26e36a Require AC_HEADER_TIME rather than simply using it. 2000-01-25 07:21:57 +00:00
Jim Meyering 7d31261496 . 2000-01-25 07:20:58 +00:00
Jim Meyering b67de020d9 *** empty log message *** 2000-01-24 13:58:45 +00:00
Jim Meyering 06eee4e253 (usage): Describe behavior when LINK_NAME is omitted.
From Michael Stone.
2000-01-24 13:58:38 +00:00
Jim Meyering efa9563f3d (main): Don't expect array index `n_files - 1' to evaluate
to `-1' for unsigned int n_files == 0.  Doing so lead to a segfault on
alpha.  From Michael Stone.
2000-01-24 13:48:12 +00:00
Jim Meyering ae5c430364 *** empty log message *** 2000-01-23 16:25:35 +00:00
Jim Meyering fe3a834b9f Move df-related tests here from fileutils/configure.in 2000-01-23 16:23:50 +00:00
Jim Meyering d32cf4d872 . 2000-01-23 16:20:48 +00:00
Jim Meyering 9e30aaca79 *** empty log message *** 2000-01-23 16:20:34 +00:00
Jim Meyering 26c96331b2 s/list_mounted_fs/ac_list_mounted_fs/
(jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2000-01-23 16:20:21 +00:00
Jim Meyering 81df043fdd (jm_FILE_SYSTEM_USAGE): Take two parameters. 2000-01-23 14:49:09 +00:00
Jim Meyering d495aaf3e7 s/space/ac_fsusage_space/. 2000-01-23 14:12:45 +00:00
Jim Meyering 3705d57846 Extracted from fileutils/configure.in. 2000-01-23 14:08:35 +00:00
Jim Meyering d5eb5821c6 . 2000-01-23 14:01:32 +00:00
Jim Meyering 48efd1644d (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT. 2000-01-23 10:55:10 +00:00
Jim Meyering a9d4aadb5e *** empty log message *** 2000-01-23 10:55:00 +00:00
Jim Meyering ce0262560b *** empty log message *** 2000-01-23 10:35:49 +00:00
Jim Meyering 505805856e (jm_FUNC_FTRUNCATE): AC_REQUIRE it. 2000-01-23 10:34:42 +00:00
Jim Meyering aef5ff97f7 *** empty log message *** 2000-01-23 10:34:04 +00:00
Jim Meyering 7d7c104722 *** empty log message *** 2000-01-23 10:23:26 +00:00
Jim Meyering d0a520d367 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in. 2000-01-23 10:23:23 +00:00
Jim Meyering 4d5960cf1f *** empty log message *** 2000-01-23 10:19:30 +00:00
Jim Meyering 5adc8fd591 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
(AC_SUBST(POW_LIBM)): Likewise.
2000-01-23 10:19:26 +00:00
Jim Meyering 47b4e7f1aa *** empty log message *** 2000-01-23 10:18:15 +00:00
Jim Meyering 46980c56e0 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils. 2000-01-23 10:13:25 +00:00
Jim Meyering 86f00ce878 *** empty log message *** 2000-01-23 10:09:22 +00:00
Jim Meyering 2c702c93fe *** empty log message *** 2000-01-23 09:53:53 +00:00
Jim Meyering c91b47d64f (libfetish_a_SOURCES): Remove explicit mention of obstack.c. 2000-01-23 09:53:48 +00:00
Jim Meyering 9e4428a605 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in). 2000-01-23 09:52:35 +00:00
Jim Meyering b76b69c8a2 *** empty log message *** 2000-01-23 09:52:02 +00:00
Jim Meyering 4f0cb8adcb *** empty log message *** 2000-01-23 09:31:09 +00:00
Jim Meyering cbe1109277 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
AC_SUBST these here, rather than just in sh-util/configure.in, so
that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
all the same.
2000-01-23 09:31:06 +00:00