Jim Meyering
148f896119
(usage): Clarify description of --author.
...
Tweak indentation so that help2man creates better nroff.
2004-11-19 19:29:55 +00:00
Jim Meyering
caf6c3459c
*** empty log message ***
2004-11-19 18:57:05 +00:00
Jim Meyering
d766e90d4c
(check_file): Don't check stdout for errors here.
2004-11-19 18:56:16 +00:00
Jim Meyering
ab955bd3f6
*** empty log message ***
2004-11-18 14:47:01 +00:00
Jim Meyering
e26c30aa38
(robust_getcwd): Correct the comment: this function constructs the
...
directory name. The caller prints it.
2004-11-18 14:46:47 +00:00
Paul Eggert
90988bac82
Sync from gnulib.
2004-11-17 23:14:24 +00:00
Paul Eggert
0884570c4e
Sync from gnulib.
2004-11-17 23:09:12 +00:00
Paul Eggert
a18a5093f8
Regenerate.
2004-11-17 03:50:34 +00:00
Paul Eggert
787605e540
* canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
2004-11-17 03:46:55 +00:00
Paul Eggert
d7209a2f7c
* xgetcwd.c: Work around Solaris 9 bug.
2004-11-17 03:42:45 +00:00
Paul Eggert
2b88597a04
Include <limits.h>, for PATH_MAX.
...
(xgetcwd): Set errno correctly when failing.
Work around Solaris 9 bug: getcwd sets errno==ERANGE even though
the failure is actually due to a PATH_MAX problem.
2004-11-17 03:41:16 +00:00
Paul Eggert
6ad1c2cfd7
stat portability fix for Solaris 9.
2004-11-17 03:12:56 +00:00
Paul Eggert
5bb58a71ad
(STATFS): New macro, for portability to Solaris 9.
...
(do_statfs): Use it.
2004-11-17 03:12:06 +00:00
Paul Eggert
99e10817b0
Merge from gnulib.
2004-11-17 01:59:29 +00:00
Paul Eggert
b209e757d8
Recent checkins for getopt, canon-host.
2004-11-17 01:07:07 +00:00
Paul Eggert
2fb1ffff55
(_getopt_internal, _getopt_internal_r,
...
_getopt_long_r, _getopt_long_only_r): argv is char **,
not char *__getopt_argv_const *.
2004-11-17 01:06:02 +00:00
Paul Eggert
6fab3fdec9
(getopt_long, _getopt_long_r, getopt_long_only,
...
_getopt_long_only_r): Argv is now char**, not char *__getopt_argv_const*.
2004-11-17 01:04:52 +00:00
Paul Eggert
b7a4adc026
(getopt_long, _getopt_long_r, getopt_long_only,
...
_getopt_long_only_r): Argv is now char **, not char *__getopt_argv_const*.
2004-11-17 01:03:54 +00:00
Paul Eggert
b8790e71df
(_getopt_initialize, _getopt_internal_r, _getopt_internal):
...
New arg POSIXLY_CORRECT. All callers changed.
(getopt): Argv is now char * const *, as per standard.
(_getopt_internal_r, _getopt_internal): Argv is now char **,
not char *__getopt_argv_const *.
2004-11-17 01:02:47 +00:00
Paul Eggert
2efbed01c2
Getopt update and recent Debian fixes.
2004-11-17 00:58:19 +00:00
Paul Eggert
c68ae6252c
(main): argv is not const.
2004-11-17 00:57:11 +00:00
Paul Eggert
d1bc398fa0
(main): Use getopt_long rather than getopt.
2004-11-17 00:56:25 +00:00
Paul Eggert
6fca9011e5
Add putty, screen-bce.
2004-11-16 20:49:17 +00:00
Paul Eggert
6d988bb20d
(usage): Improve documentation along the lines suggested
...
by Debian 5.2.1-2.
2004-11-16 20:47:28 +00:00
Paul Eggert
ed2fcc6f9a
Fix memory leak.
2004-11-16 20:44:34 +00:00
Paul Eggert
82a15eefa3
(gl_CANON_HOST): Check for getaddrinfo.
2004-11-16 20:39:19 +00:00
Paul Eggert
4ec053b59d
Include "strdup.h".
...
(canon_host): Use getaddrinfo if available, so that IPv6 works.
Use strdup instead of malloc/strcpy to duplicate strings.
2004-11-16 20:38:33 +00:00
Paul Eggert
5f2cb6ee45
doc patches inspired by Debian coreutils 5.2.1-2.
2004-11-16 20:31:21 +00:00
Paul Eggert
4aaf33c29e
(General output formatting): -x doesn't have
...
an operand.
(Formatting the file names): Warn that even with -N unprintable
chars are still printed as '?' some times.
(rm invocation): Reword rm -d to note that it's sometimes useful
on non-directories.
(logname invocation, users invocation, who invocation):
The utmp and wtmp file names vary from system to system.
2004-11-16 20:29:58 +00:00
Paul Eggert
871422ab9d
* getdate.y (tORDINAL): New token.
2004-11-16 08:18:49 +00:00
Paul Eggert
511f4b4165
* getdate.texi (General date syntax): "next" is 1, not 2.
2004-11-16 08:18:05 +00:00
Paul Eggert
37c8b2b848
(General date syntax): "next" is 1, not 2.
...
Document that "second" isn't allowed as an ordinal number.
2004-11-16 08:16:57 +00:00
Paul Eggert
1a126a5899
(tORDINAL): New token.
...
(day, relunit): Allow it for relative times.
(relative_time_table): Use tORDINAL for ordinals.
2004-11-16 08:16:10 +00:00
Paul Eggert
13ebfcf5c2
Support for human_space_before_unit.
2004-11-16 07:54:07 +00:00
Paul Eggert
7ce1f197f3
(human_readable): Support human_space_before_unit.
2004-11-16 07:53:08 +00:00
Paul Eggert
c49c8d6fee
(LONGEST_HUMAN_READABLE): Add 1 for space before unit.
...
(human_space_before_unit): New constant.
2004-11-16 07:51:59 +00:00
Paul Eggert
bf45c74d3c
New dd operand "status=noxfer". Change diagnostic wording slightly.
2004-11-16 07:50:07 +00:00
Paul Eggert
1855111a62
* coreutils.texi (dd invocation): Reword the new dd message.
2004-11-16 07:49:15 +00:00
Paul Eggert
ae5c7e83c6
(dd invocation): Reword the new dd message.
2004-11-16 07:48:36 +00:00
Paul Eggert
0c3a6880f4
(@Tests): Use status=noxfer to avoid
...
problems with regression testing.
2004-11-16 07:46:58 +00:00
Paul Eggert
586b8823f9
(C_ASCII, C_EBCDIC, C_IBM, C_BLOCK, C_UNBLOCK,
...
C_LCASE, C_UCASE, C_SWAB, C_NOERROR, C_NOTRUNC, C_SYNC, C_TWOBUFS,
C_NOCREAT, C_EXCL, C_FDATASYNC, C_FSYNC): Now constants, not
macros.
(STATUS_NOXFER, statuses): New constants.
(usage, print_stats, scanargs): Add support for status=noxfer.
(usage): Update status output to match new behavior.
(print_stats): Always output complete byte count.
Put space between numbers and units, as SI requires.
Use ngettext so that i18n can use plurals for "byte" and "second".
Don't multiply by 1e-9 (inexact); divide by 1e9 (which is exact).
(iflag_error_msgid, oflag_error_msgid): Remove; replace uses by
the string.
2004-11-16 07:46:08 +00:00
Paul Eggert
537acced26
New dd operand "status=noxfer".
2004-11-16 07:45:15 +00:00
Paul Eggert
f90de3d443
dd now outputs total bytes, seconds, and bytes per second.
2004-11-15 06:50:44 +00:00
Paul Eggert
9213ced1a7
(dd invocation): dd now outputs total bytes,
...
seconds, and bytes per second.
2004-11-15 06:50:23 +00:00
Paul Eggert
7d8f8967f3
Include "human.h".
...
(w_bytes, start_time): New vars.
(usage): Document new I/O statistics output
(print_stats): Output new I/O statistics.
(cleanup): Do statistics after closing stdin and stdout, so that
the times are more accurate.
(write_output, dd_copy): Count output bytes.
(main): Get initial value of clock.
2004-11-15 06:49:59 +00:00
Paul Eggert
c7169d726f
(dd_LDADD): Add $(LIB_CLOCK_GETTIME).
2004-11-15 06:49:36 +00:00
Paul Eggert
07e17aad2a
dd now outputs total bytes, seconds, and bytes per second.
2004-11-15 06:49:08 +00:00
Jim Meyering
e9dfe6f0d5
*** empty log message ***
2004-11-14 13:55:17 +00:00
Jim Meyering
484dcf4133
*** empty log message ***
2004-11-14 11:08:22 +00:00
Jim Meyering
99c79f5adc
*** empty log message ***
2004-11-14 09:58:19 +00:00