Commit Graph

32 Commits

Author SHA1 Message Date
Paul Eggert
d46735235b Rename full_read to safe_read. 1999-07-05 06:47:59 +00:00
Paul Eggert
6eafcf3c9d Add braces to pacify gcc -Wall. 1999-07-02 21:05:50 +00:00
Paul Eggert
99dc4251f9 (child_open_for_compress): Use portable modes.
(child_open_for_uncompress, open_archive): Likewise.
(backspace_output): Use portable whence values.
(close_archive): Likewise.  Remove ending_file_option.
1999-07-02 06:08:46 +00:00
Paul Eggert
aa985330d5 \a doesn't work with msgfmt.
Fix copyright notice.
1999-07-01 21:01:44 +00:00
Paul Eggert
1521a94b11 Handle EINTR correctly; use STDIN_FILENO instead of 0, etc. 1999-06-29 02:26:25 +00:00
Paul Eggert
ee734033e8 (write_archive_buffer): New function.
(child_open_for_compress, flush_write, flush_read): Use it to write
buffers.
(open_archive): Report error if fstat of archive fails.
Improve efficiency of check for /dev/null.
Also, fix some corner cases with remote archives and /dev/null checking.
(close_archive): Test for input fifo only if not remote.
Truncate output archive only if it's not remote.
1999-06-25 23:28:08 +00:00
Paul Eggert
5019d3b2d9 (backspace_output, close_archive): Cast rmtlseek position arg to off_t,
for benefit of K&R compilers with long long.
1999-01-28 00:28:41 +00:00
junio
4559fdbfb1 Implement -E (ending-file) option. 1997-12-04 07:07:11 +00:00
Paul Eggert
ac8cfdacf6 (record_start_block, save_totsize, save_sizeleft, real_s_totsize,
real_s_sizeleft, current_block_ordinal): Now off_t.
(write_error): Arg is now ssize_t.
(child_pid): Now pid_t.
(available_space_after): Now size_t.

(child_open_for_compress, child_open_for_uncompress, flush_write,
open_archive, flush_write, write_error, flush_read, close_archive):
Use pid_t, ssize_t, size_t when appropriate.  Remove now-useless
casts.  Use unsigned long to print *_t types, except use
STRINGIFY_BIGINT for off_t.
1997-10-31 00:58:55 +00:00
Paul Eggert
27e87f4f2f GNU tar 1.12 1997-04-25 13:48:46 +00:00
François Pinard
d5740ff9e8 *** empty log message *** 1994-11-16 02:47:35 +00:00
François Pinard
5d7f82cb43 *** empty log message *** 1994-11-16 02:47:32 +00:00
François Pinard
a2aa567aec *** empty log message *** 1994-11-16 02:47:29 +00:00
François Pinard
7f91a90a9c *** empty log message *** 1994-11-16 02:47:25 +00:00
François Pinard
ed3fb00d0c *** empty log message *** 1994-11-16 02:47:22 +00:00
François Pinard
9044aa8d81 *** empty log message *** 1994-11-16 02:47:19 +00:00
François Pinard
0afb59a03f *** empty log message *** 1994-11-16 02:47:16 +00:00
François Pinard
363eb1d48a *** empty log message *** 1994-11-16 02:47:13 +00:00
François Pinard
474bce237b *** empty log message *** 1994-11-16 02:47:08 +00:00
François Pinard
4156fce552 *** empty log message *** 1994-11-16 02:47:05 +00:00
François Pinard
570ead1f48 *** empty log message *** 1994-11-16 02:47:03 +00:00
François Pinard
1cc1540ea0 *** empty log message *** 1994-11-16 02:47:00 +00:00
François Pinard
80df629d39 *** empty log message *** 1994-11-16 02:46:57 +00:00
François Pinard
0eceef9ba1 *** empty log message *** 1994-11-16 02:46:54 +00:00
François Pinard
3da5aa6973 *** empty log message *** 1994-11-16 02:46:51 +00:00
François Pinard
9e7c78e78d *** empty log message *** 1994-11-16 02:46:48 +00:00
François Pinard
f0ee8aa69e *** empty log message *** 1994-11-16 02:46:46 +00:00
François Pinard
c59c86911b *** empty log message *** 1994-11-16 02:46:40 +00:00
François Pinard
740b318cea Initial revision 1994-11-16 02:46:32 +00:00
François Pinard
a295fffa66 *** empty log message *** 1994-11-16 02:46:28 +00:00
François Pinard
604e1433aa *** empty log message *** 1994-11-16 02:46:25 +00:00
François Pinard
32841f71ca *** empty log message *** 1994-11-16 02:46:22 +00:00