Jim Meyering
035abbb7c6
(posixtime) [lint]: Initialize *all* of tm0, not just
...
the .tm_year member, since otherwise gcc-4.0 would now warn about
tm_zone, tm_gmtoff, tm_isdst, tm_yday, tm_wday.
2005-07-03 21:10:31 +00:00
Jim Meyering
052190e99c
*** empty log message ***
2005-07-03 18:21:02 +00:00
Jim Meyering
ed8207cf4e
*** empty log message ***
2005-07-03 16:58:52 +00:00
Jim Meyering
3e7b6a68b5
Adjust for new diagnostic.
2005-07-03 16:58:48 +00:00
Jim Meyering
98ce09d7d2
Adjust for new diagnostic.
2005-07-03 16:54:37 +00:00
Jim Meyering
9b12f5aa66
cp and mv: the --reply=X option is deprecated
2005-07-03 16:52:09 +00:00
Jim Meyering
d7d473a84f
*** empty log message ***
2005-07-03 16:52:01 +00:00
Jim Meyering
fb4be2889d
*** empty log message ***
2005-07-03 16:49:26 +00:00
Jim Meyering
5610a8734d
(main): Using --reply now evokes a warning.
...
(usage): Remove description of --reply.
2005-07-03 16:49:15 +00:00
Jim Meyering
30b8e3a012
*** empty log message ***
2005-07-03 16:48:24 +00:00
Jim Meyering
a131d6d892
(cp invocation): Mark --reply as deprecated.
...
(mv invocation): Likewise.
2005-07-03 16:48:19 +00:00
Jim Meyering
33d0086bb2
*** empty log message ***
2005-07-03 15:30:01 +00:00
Jim Meyering
c95640a56e
Remove obsolete comment.
2005-07-03 15:29:58 +00:00
Jim Meyering
685eb5f2c3
.
2005-07-03 13:47:39 +00:00
Jim Meyering
a7bcad0e5a
*** empty log message ***
2005-07-03 13:44:58 +00:00
Jim Meyering
e24584b100
(gl_FUNC_LSTAT): Use AC_LIBSOURCES to require lstat.c and lstat.h.
2005-07-03 13:44:52 +00:00
Jim Meyering
85ddb64559
.
2005-07-03 11:58:11 +00:00
Jim Meyering
9caa96f10d
*** empty log message ***
2005-07-03 11:55:51 +00:00
Jim Meyering
682e43e0e4
(gl_FUNC_LSTAT): New file, from gnulib.
2005-07-03 11:55:48 +00:00
Paul Eggert
15364e7a4e
Log today's changes.
2005-07-03 09:37:52 +00:00
Paul Eggert
65bf9cd48f
Minor fixes for port to Solaris 8.
2005-07-03 09:35:55 +00:00
Paul Eggert
c6a39d64c0
Minor fixes for port to Solaris 8.
2005-07-03 09:35:34 +00:00
Paul Eggert
0e11d335eb
Undo previous change.
2005-07-03 09:35:02 +00:00
Paul Eggert
a6e5563cef
Include "lstat.h" rather than rolling our own.
2005-07-03 09:31:19 +00:00
Paul Eggert
22b464a900
Don't require AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
...
module's job.
2005-07-03 09:30:00 +00:00
Paul Eggert
ac1f5e4f90
Remove (sync from gnulib).
2005-07-03 09:28:55 +00:00
Paul Eggert
e3f2ac8a0f
New file, from gnulib.
2005-07-03 09:28:17 +00:00
Paul Eggert
067253007b
Sync from gnulib.
2005-07-03 09:27:38 +00:00
Paul Eggert
7e58462337
[! _LIBC]: Include "lstat.h" rather than rolling our own.
2005-07-03 09:27:22 +00:00
Paul Eggert
a90f160a33
(libcoreutils_a_SOURCES): Add fcntl--.h, stdio--h,
...
stdlib--.h, unistd--.h.
2005-07-03 09:26:59 +00:00
Jim Meyering
a360edab7e
*** empty log message ***
2005-07-03 09:14:58 +00:00
Jim Meyering
10047b6134
(gl_FCNTL_SAFER): Add fcntl--.h to the list.
2005-07-03 09:13:33 +00:00
Jim Meyering
cd4bfd42dc
(gl_STDIO_SAFER): Add stdio--.h to the list.
2005-07-03 09:13:27 +00:00
Jim Meyering
1eae18b276
(gl_STDLIB_SAFER): Add stdlib--.h to the list.
2005-07-03 09:13:04 +00:00
Jim Meyering
512e0bae5a
(gl_UNISTD_SAFER): Add unistd--.h to the list.
2005-07-03 09:12:57 +00:00
Jim Meyering
4f89ded6e2
*** empty log message ***
2005-07-03 09:07:28 +00:00
Jim Meyering
c1ef936462
Include <unistd.h> for declaration of close.
2005-07-03 09:07:22 +00:00
Jim Meyering
6dc3ffd8b6
(verify_numeric): Rename from verify.
...
Update caller.
2005-07-03 08:46:05 +00:00
Paul Eggert
de0cf8356f
Regenerate.
2005-07-03 07:28:38 +00:00
Paul Eggert
e05ece2ced
Cleanup to isolate "safer" functions to a small part of the code.
2005-07-03 07:27:05 +00:00
Paul Eggert
dd6f2c49db
Include fcntl--.h, not unistd-safer.h.
...
(touch): Don't call fd_safer; no longer needed now that
we include fcntl--.h.
2005-07-03 07:23:18 +00:00
Paul Eggert
9509ae9a8c
Include stdio--.h, not stdio-safer.h.
...
(tee): Don't call fopen_safer; no longer needed now that we
include stdio--.h.
2005-07-03 07:22:50 +00:00
Paul Eggert
4decb49032
Include fcntl--.h, not unistd-safer.h.
...
(recheck, tail_file): Don't call fd_safer; no longer needed
now that we include fcntl--.h.
2005-07-03 07:21:49 +00:00
Paul Eggert
7b1780d5cc
Include stdlib--.h rather than unistd-safer.h.
...
(copy_to_temp): Don't call fd_safer; no longer needed now
that we include stdlib--.h.
2005-07-03 07:21:31 +00:00
Paul Eggert
b6be15eaca
Include fd-reopen.h.
...
(display_all, display_settings, display_window_size, set_window_size):
Remove fd arg, since we now assume stdin. All callers changed.
(main): Reuse stdin rather than opening a new one. This
saves a file descriptor.
2005-07-03 07:21:03 +00:00
Paul Eggert
c030201e6d
Include fcntl--.h rather than unistd-safer.h.
...
Include fd-reopen.h.
(input_desc): Remove. All uses replaced by STDIN_FILENO.
(cwrite): Don't call fd_safer; no longer needed now that
we include fcntl--.h.
(main): Reuse stdin rather than opening a new one. This
saves a file descriptor.
2005-07-03 07:20:33 +00:00
Paul Eggert
d0baad324d
Include stdio--.h rather than stdio-safer.h.
...
Include stdlib--.h. Do not include unistd-safer.h.
(create_temp_file): Don't call fd_safer; no longer needed
now that we include *--.h files.
(xfopen): Don't call fopen_safer, for similar reasons.
2005-07-03 07:20:04 +00:00
Paul Eggert
ce00cad00f
Include fcntl--.h, not unistd-safer.h.
...
(wipename, wipe_file): Don't use fd_safer; no longer needed
now that we include fcntl--.h.
2005-07-03 07:19:29 +00:00
Paul Eggert
8359085a76
Include stdio--.h, not stdio-safer.h.
...
(open_file): Invoke fopen, not fopen_safer.
2005-07-03 07:19:06 +00:00
Paul Eggert
2eeccaacd9
Include fd-reopen.h.
...
Include unistd--.h, not unistd-safer.h.
(main): Use fd_reopen to simplify code. When replacing stdin,
use "/dev/null" not "/", as that's less likely to go wrong these days.
(main): Use dup, not dup_safer.
2005-07-03 07:18:48 +00:00