1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 02:10:57 +02:00
Commit Graph

18198 Commits

Author SHA1 Message Date
Jim Meyering
3b2bcb8359 *** empty log message *** 2004-04-12 09:22:08 +00:00
Jim Meyering
29a91488a9 (mv invocation): Document this.
(cp invocation): Document -u (it was missing!) with new behavior.
2004-04-12 09:22:02 +00:00
Jim Meyering
e4b7d663c0 cp -pu and mv -u (when copying) now take the destination
file system time stamp resolution into account.
2004-04-12 09:20:47 +00:00
Jim Meyering
afe724318d . 2004-04-09 12:15:49 +00:00
Jim Meyering
c01ac4d409 *** empty log message *** 2004-04-09 12:15:40 +00:00
Jim Meyering
49e4141352 Include "stat-macros.h". 2004-04-09 12:15:23 +00:00
Jim Meyering
1d85737fd3 (file_type): Move all macro defiitions to new file, stat-macros.h. 2004-04-09 12:15:15 +00:00
Jim Meyering
1c55f1acf5 (libfetish_a_SOURCES): Add stat-macros.h. 2004-04-09 12:13:57 +00:00
Jim Meyering
293e3cacc3 New file, with contents from file-type.h and coreutils' system.h. 2004-04-09 12:13:37 +00:00
Jim Meyering
8309aea61e Include stat-macros.h, not file-type.h.
Move more definitions into stat-macros.h.
2004-04-09 12:05:45 +00:00
Jim Meyering
b9c4b346f1 undo last change 2004-04-09 12:03:02 +00:00
Jim Meyering
0ef4f6ba49 *** empty log message *** 2004-04-09 11:33:56 +00:00
Jim Meyering
d840a53e90 (.re-list): New rule/file, to replace hard-coded list of header file names.
(sc_system_h_headers): Use the new file.
2004-04-09 11:33:53 +00:00
Jim Meyering
6a5c240b9d *** empty log message *** 2004-04-09 08:27:01 +00:00
Jim Meyering
b29e52796a Don't include "file-type.h", now that system.h does. 2004-04-09 08:26:17 +00:00
Jim Meyering
4b4e469c61 *** empty log message *** 2004-04-09 08:25:50 +00:00
Jim Meyering
e357aa96a4 Include file-type.h rather than hard-coding all
of its macros definitions -- the list was slightly out of date.
2004-04-09 08:25:32 +00:00
Jim Meyering
af03f88c2d (header_regexp): Add file-type.h.
(sc_system_h_headers): Don't look for sys2.h anymore.
2004-04-09 08:24:22 +00:00
Jim Meyering
8a9c17bd26 . 2004-04-09 07:28:33 +00:00
Jim Meyering
3104d1d445 *** empty log message *** 2004-04-08 21:37:50 +00:00
Jim Meyering
eee12ddc9d Remove noctty flag from dd. 2004-04-08 21:36:45 +00:00
Jim Meyering
7c7a16a2d8 (O_NOCTTY): Remove redundant decl. 2004-04-08 21:36:18 +00:00
Jim Meyering
9f478111bf (flags, usage): Remove noctty flag.
(main): Always use O_NOCTTY when opening files.
2004-04-08 21:36:06 +00:00
Jim Meyering
ca1665b2a5 . 2004-04-08 21:35:35 +00:00
Jim Meyering
40b1bcbb39 *** empty log message *** 2004-04-08 21:30:22 +00:00
Jim Meyering
82024e9938 (set_fd_flags): Undo part of today's change: it's a little
cleaner -- and more efficient in the common case -- to go
ahead and OR in the -1 when fcntl fails.
2004-04-08 21:30:18 +00:00
Jim Meyering
1af4fd3a54 (dd_copy): Mark two diagnostics for translations. 2004-04-08 21:26:28 +00:00
Jim Meyering
a61bca91eb . 2004-04-08 15:38:59 +00:00
Jim Meyering
2830062386 *** empty log message *** 2004-04-08 15:38:46 +00:00
Jim Meyering
3469ae8085 (sc_dd_max_sym_length): New target.
(syntax-check-rules): Add it.
2004-04-08 15:38:43 +00:00
Jim Meyering
d56fd78b42 (dd_LDADD, shred_LDADD): Add fdatasync's lib. 2004-04-08 15:36:31 +00:00
Jim Meyering
5335c90dcc *** empty log message *** 2004-04-08 15:35:46 +00:00
Jim Meyering
4b68b2dd0f New dd conv= symbols nocreat, excl, fdatasync, fsync,
and new dd options iflag= and oflag=.

(dd invocation): Document them.
2004-04-08 15:35:40 +00:00
Jim Meyering
9ae2a1c006 *** empty log message *** 2004-04-08 15:31:13 +00:00
Jim Meyering
10629f7e88 Correct spelling: s/shasum/sha1sum. 2004-04-08 15:31:08 +00:00
Jim Meyering
f8b21db0d6 *** empty log message *** 2004-04-08 15:30:46 +00:00
Jim Meyering
60da7b2886 . 2004-04-08 15:26:04 +00:00
Jim Meyering
2a888f75af (LONGEST_SYMBOL): Tweak comment. 2004-04-08 15:25:39 +00:00
Jim Meyering
7a4f3edeb0 *** empty log message *** 2004-04-08 15:21:23 +00:00
Jim Meyering
470a15a00e (set_fd_flags): Don't OR in -1 when fcntl fails.
Rename parameter, flags, to avoid shadowing global.
2004-04-08 15:20:33 +00:00
Jim Meyering
a660c7e165 New dd conv= symbols nocreat, excl, fdatasync, fsync,
and new dd options iflag= and oflag=.
2004-04-08 10:25:27 +00:00
Jim Meyering
ba2e895b06 *** empty log message *** 2004-04-08 10:25:03 +00:00
Jim Meyering
a021886f98 (jm_MACROS): Check for fdatasync within
-lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
2004-04-08 10:24:58 +00:00
Jim Meyering
0c5fbdba06 New dd conv= symbols nocreat, excl, fdatasync, fsync,
and new dd options iflag= and oflag=.

(usage): Document.
(fdatasync) [!HAVE_FDATASYNC]: New macro.
(C_NOCREAT, C_EXCL, C_FDATASYNC, C_FSYNC): New macros.
(input_flags, output_flags): New vars.
(LONGEST_SYMBOL): New macro.
(struct symbol_value): Renamed from struct conversion.  Members
symbol and value renamed from convname and conversion.  The
symbol value is now an array instead of a pointer; this saves
a bit of space and time in practice.  All uses changed.
(conversions): Add nocreat, excl, fdatasync, fsync.  Now const.
(flags): New constant array.
(iflag_error_msgid, oflag_error_msgid): New constants.
(parse_symbols): Renamed from parse_conversion and generalized
to handle either conversion or flag symbols.
(scanargs): Adjust uses of parse_symbols accodingly.  Add
support for iflag= and oflag=.  Reject attempts to use
both excl and nocreat.
(set_fd_flags): New function.
(dd_copy): Just return X rather than calling quit (X), since our
caller invokes quit with the returned value.  Add support for
fdatasync and fsync.
(main): Add support for iflags=, oflags=, and new conv= symbols.
2004-04-08 10:22:05 +00:00
Jim Meyering
273184066e (O_DIRECT, O_DSYNC, O_NDELAY, O_NOFOLLOW, O_RSYNC, O_SYNC):
Define to 0 if not already defined.
2004-04-08 08:14:02 +00:00
Jim Meyering
6be212659d *** empty log message *** 2004-04-07 10:56:00 +00:00
Jim Meyering
0993dd1a59 stty now provides support for Linux's iutf8 input mode. 2004-04-07 09:53:34 +00:00
Jim Meyering
733e79ed1f Add support for IUTF8 input flag. 2004-04-07 09:52:22 +00:00
Jim Meyering
ef1c6a32bf *** empty log message *** 2004-04-07 09:52:10 +00:00
Jim Meyering
e1e509dd3f *** empty log message *** 2004-04-07 09:51:24 +00:00