Commit Graph
20330 Commits
Author SHA1 Message Date
Paul Eggert e4b102af0e * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
in Autoconf 2.59.
2004-12-06 21:56:21 +00:00
Jim Meyering 97af685a66 . 2004-12-06 11:52:00 +00:00
Jim Meyering ff2b33dcae *** empty log message *** 2004-12-06 11:50:04 +00:00
Jim Meyering c1d66f31cf Use AC_LIBOBJ(save-cwd). 2004-12-06 10:35:27 +00:00
Jim Meyering 760cfaf4d3 Use AC_LIBOBJ(chdir-long). 2004-12-06 10:35:19 +00:00
Jim Meyering d4579825bc (libfetish_a_SOURCES): Begin removing .c and .h file names, as they
are added to AC_LIBSOURCES directives in the corresponding m4/*.m4 files.
2004-12-06 10:10:19 +00:00
Jim Meyering 27d14caedd *** empty log message *** 2004-12-06 10:06:49 +00:00
Jim Meyering 6ec428b7f7 (gl_SAVE_CWD): Use AC_LIBSOURCES. 2004-12-06 10:06:23 +00:00
Jim Meyering e90702fd4b *** empty log message *** 2004-12-06 10:03:46 +00:00
Jim Meyering f005eb317b (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES. 2004-12-06 10:03:39 +00:00
Jim Meyering 3d1e6484f5 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES. 2004-12-06 10:02:18 +00:00
Jim Meyering 6cfc09f125 *** empty log message *** 2004-12-06 10:01:39 +00:00
Jim Meyering 5a36ddca47 (gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES. 2004-12-06 10:01:34 +00:00
Jim Meyering 1de56a5dc3 . 2004-12-06 10:00:43 +00:00
Jim Meyering 1cded77e7e (gl_FUNC_OPENAT): Use AC_LIBSOURCES.
(gl_PREREQ_GETCWD): Use AC_REQUIRE.
2004-12-06 10:00:14 +00:00
Jim Meyering b272341d19 . 2004-12-05 23:15:01 +00:00
Jim Meyering 9e373e5a86 *** empty log message *** 2004-12-05 23:01:57 +00:00
Jim Meyering 6d96f41e1a (test_vector): Avoid test failure when
_POSIX2_VERSION=199209 is in the environment, or when building on
e.g., OpenBSD 3.2.
2004-12-05 23:01:53 +00:00
Jim Meyering 39a1adb375 *** empty log message *** 2004-12-05 21:11:56 +00:00
Jim Meyering 22dd0ce5f2 (unit-test): Depend on t-fpending.
Make the target .PHONY.
2004-12-05 21:11:48 +00:00
Jim Meyering 9390aecd60 *** empty log message *** 2004-12-05 20:17:08 +00:00
Jim Meyering 35dc3847ac . 2004-12-05 20:03:06 +00:00
Jim Meyering f31e5e6def *** empty log message *** 2004-12-05 20:02:28 +00:00
Jim Meyering 89647b7451 (LDADD): Define. 2004-12-05 20:02:23 +00:00
Jim Meyering 55ec26651c . 2004-12-05 19:50:46 +00:00
Jim Meyering fbd9c5dc91 *** empty log message *** 2004-12-05 19:38:32 +00:00
Jim Meyering 8bd2bc6d00 *** empty log message *** 2004-12-05 19:37:56 +00:00
Jim Meyering 334c1b1801 (unit-test): New target.
(check): Depend on it.
(noinst_PROGRAMS): Define.
2004-12-05 19:37:49 +00:00
Jim Meyering ff13a286c7 Test the __fpending function.
This ensures that if there is an error in the definition of the
PENDING_OUTPUT_N_BYTES expression, we'll find about it right away;
that value is used only in the rare event that close_stdout's
fclose fails with EBADF.
2004-12-05 19:28:15 +00:00
Jim Meyering a2b300f156 revert to 1.8, now that we test the offending
condition externally (via new t-fpending.c program)
2004-12-05 19:27:47 +00:00
Jim Meyering 9df080cfc5 *** empty log message *** 2004-12-05 18:53:40 +00:00
Jim Meyering 2edd4a3769 *** empty log message *** 2004-12-05 18:52:37 +00:00
Jim Meyering 210212143b Include <stdlib.h>.
(__fpending): Abort if PENDING_OUTPUT_N_BYTES is negative.
This ensures that if there is an error in the definition of the
PENDING_OUTPUT_N_BYTES expression, we'll find about it right away;
this value is used only in the rare event that close_stdout's
fclose fails with EBADF.
2004-12-05 18:52:33 +00:00
Jim Meyering 821a730797 *** empty log message *** 2004-12-04 14:23:51 +00:00
Jim Meyering b4c28f911e (cut invocation): Say when --complement is useful. 2004-12-04 14:23:48 +00:00
Jim Meyering 7d4bd07095 *** empty log message *** 2004-12-04 14:15:54 +00:00
Jim Meyering fca9a76e83 Mention cut's new --complement option. 2004-12-04 14:15:46 +00:00
Jim Meyering 046287ab0f *** empty log message *** 2004-12-04 13:37:59 +00:00
Jim Meyering f049ac4acc *** empty log message *** 2004-12-04 13:33:11 +00:00
Jim Meyering ba23d0aa8d *** empty log message *** 2004-12-04 13:32:53 +00:00
Jim Meyering 7380cf792a (complement, COMPLEMENT_OPTION): New.
(longopts): Add --complement.
(usage): Say not that -b, -c, and -f `print' fields,
but rather that they `select' fields for printing.
Describe the new --complement option.
(mark_range_start): Extracted from set_fields.
(print_kth): Support --complement.
(compare_ranges): New function.
(set_fields): Rewrite the part that populates range_start_ht,
merging it with the part that populates printable_field.
(main): Handle --complement.

From Paolo Bonzini.
2004-12-04 13:32:48 +00:00
Paul Eggert 4dd208a372 * src/tail.c (tail_file): Set errnum to -1 if the initial "tail" failed. 2004-12-04 07:03:11 +00:00
Paul Eggert cd9d7fd2bd (tail_file): Set errnum to -1 if the initial "tail" failed. 2004-12-04 07:02:35 +00:00
Paul Eggert fcf9cad088 Mention copyright notice in latest checkin. 2004-12-03 07:34:40 +00:00
Paul Eggert fcf37d8842 Recent changes to save-cwd, openat. 2004-12-03 07:13:31 +00:00
Paul Eggert f85b7c2b0c Regenerate. 2004-12-03 07:12:46 +00:00
Paul Eggert f125837030 Import from gnulib. 2004-12-03 07:10:19 +00:00
Paul Eggert 5a6d8bdbb4 Add copyright notice.
(gl_FUNC_OPENAT): Require gl_USE_SYSTEM_EXTENSIONS, since Solaris
requires __EXTENSIONS__ to be defined when compiling pedantically.
2004-12-03 07:01:35 +00:00
Paul Eggert dddbfd198a Add copyright and authorship notice.
(AT_FDCWD): Use the same value Solaris 9 uses.
2004-12-03 06:44:30 +00:00
Paul Eggert d2117d918c Include "openat.h" before other include files.
Include "exitfail.h".
(openat): Remove #undef; no longer needed now that we include openat.h first.
(rpl_openat): Add comment about mode_t promotion.  Simplify
code a bit by moving initializations around.  Use exit_failure
rather than EXIT_FAILURE.
2004-12-03 06:43:59 +00:00