📄 changelo
字号:
* tar.c (name_add) Use sizeof(char *) instead of sizeof(int)
* README give the correct return address.
Thu Oct 25 16:03:58 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
rtape_lib.c Change RMTIOCTL to NO_RMTIOCTL, so it is on by default.
rmt.h Add _isrmt() #define for NO_REMOTE case.
gnu.c Add forward reference for add_dir_name().
Tue Oct 16 11:04:52 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
1.09 New -G file implementation of gnu-dump stuff.
* tar.c (name_add) Get the calls to ck_realloc and ck_malloc right.
Thu Oct 11 11:23:38 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* gnu.c Fix A couple of typos.
Wed Sep 19 13:35:03 1990 David J. MacKenzie (djm at apple-gunkies)
* getdate.y [USG] (ftime): Use `daylight' unless
DAYLIGHT_MISSING is defined.
Mon Sep 17 18:04:21 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* gnu.c (gnu_restore) Don't use a passed char* for the
file name, use skipcrud+head->header.name, just like everything
else does. This means that gnu_restore will still work with
small buffers, etc.
Thu Sep 13 15:01:17 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* tar.c (add_exclude) Don't bus-error if the exclude file doesn't
end with a newline.
Sun Sep 9 22:35:27 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* Makefile (dist): Remove .fname when done.
Thu Sep 6 12:48:58 EDT 1990 Jay Fenlason (hack@ai.mti.edu)
* gnu.c (gnu_restore) Rember to skip_file() over the directory
contents, even if we don't have to do anything with them.
* create.c extract.c diffarch.c Free sparsearray after we're done
with it.
Tue Sep 4 10:18:50 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* Makefile Include gnu.c in dist
* gnu.c move add_dir above read_dir_file so that cc doesn't complain
about add_dir returning void.
Sun Sep 2 20:46:34 1990 David J. MacKenzie (djm at apple-gunkies)
* getdate.y: Declare some more functions and add storage
classes where omitted to shut compiler up.
[USG] (ftime): Don't use extern var `daylight'; appears that
some systems don't have it.
Wed Aug 29 00:05:06 1990 David J. MacKenzie (djm at apple-gunkies)
* getdate.y (lookup): In the code that allows `Aug.' to be
recognized as `Aug', don't chop off the final `.' from words
like `a.m.', so they can be recognized.
Thu Aug 16 11:34:07 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* buffer.c (open_archive) If -O, write verbosity to stderr
instead of stdout.
Fri Aug 10 12:29:28 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* getdate.y Handle an explicit DST in the input string.
A dozen line patch from Per Foreby (perf@efd.lth.se).
Mon Jul 16 13:05:11 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* tar.c rename -g -G +incremental, +listed-imcremental, etc.
Fri Jul 13 14:10:33 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* tar.c Make +newer and +newer-mtime work according to their names.
* gnu.c If +newer or +newer-mtime, use the time specified on the
command line.
* buffer.c, create.c Add test to see if dimwit is trying to
archive the archive.
* tar.c (long_options[]) re-ordered, so that groups of similar
options are next to each other. . . I think.
(describe) Modified to more closely reflect reality.
Fri Jul 6 13:13:59 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* tar.c add compile-time option for SYS V (?) style
tape-drive names /dev/rmt/{n}[lmh]
* tar.c Fix getopt-style stuff so that -C always works correctly.
* gnu.c, tar.c make filename to -G optional.
* {all over}, replace some fprintf(stderr...) calls with calls
to msg().
* port.c Make -Dmumble_MSG option on command line override
internal assumptions.
* Makefile Mention -Dmumble_MSG options
Fri Jul 6 02:35:31 1990 David J. MacKenzie (djm at apple-gunkies)
* tar.c (options): Don't change `c' if it is 0, as getopt now
handles that internally.
Mon Jul 2 15:21:13 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* gnu.c (new file) Moved all the f_gnudump stuff here where we
can keep track of it easier. Also made -G take a file name where it
stores the inode information about directories so that we can
detect moved directores.
* create.c (dump_file) Changed slightly to work with the new
f_gnudump.
* tar.c Moved the f_gnudump stuff to gnu.c
* tar.c, extract.c added the +do-chown option, which forces tar
to always try to chown the created files to their original owners.
* version.c New version 1.09
Sun Jun 24 14:26:28 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* create.c: Change ifdefs for directory library header
selection to be like the ones in tar.c.
* Makefile [Xenix]: Link with -ldir to get the dirent.h
directory library.
Thu Jun 7 03:31:51 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* Makefile, buffer.c, diffarch.c: Change MTIO symbol to HAVE_MTIO
because SCO Xenix defines 'MTIO' for an incompatible tape driver
system in a file included by termio.h.
* tar.h: Don't define size_t for Xenix.
Tue Jun 5 11:38:00 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* create.c (dump_file) Only print the
"... is on a different filesystem..." if f_verbose is on.
also add a case for S_IFSOCK and treat it like a FIFO.
(Not sure if that's the right thing to do or not, but it's better
than all those Unknown File Type msgs.)
Thu May 31 19:25:36 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* port.c Use #ifdef sparc instead of #ifdef SPARC since
the lowercase version is defined, and the uppercase one isn't.
Tue May 22 11:49:18 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* port.c (ck_malloc) if size==0 pretend size=1
(ck_realloc) if(!ptr) call ck_malloc instead.
Tue May 15 12:05:45 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* diffarch.c (diff_archive) If not f_absolute_paths, and attempt to
open a file listed in the archive fails, try /filename also. This will
allow diff to open the wrong file if both /filename and filename exist,
but there's nothing we can do about that.
Fri May 11 16:17:43 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* Makefile, Descripbe new -DMTIO option.
* buffer.c diffarch.c Change ifdefs slightly, so that
-DMTIO will include sys/mtio.h even if USG is defined.
This is for HUPX and similar BSD/USG crossovers.
Tue May 8 13:14:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* update.c (update_archive) Call reset_eof() when appropriate.
* buffer.c (reset_eof) New function, that turns of EOF flag, and
re-sets the ar_record and ar_last pointers. This will allow
'tar rf non-existant-file' to not core-dump.
Fri May 4 14:05:31 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* tar.c: Recognize the +sparse option. It was documented, but
only the short form (-S) was actually recognized.
Tue Apr 17 21:34:14 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* create.c Don't access location 0 if ->dir_contents is null.
Wed Apr 11 17:30:03 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
* buffer.c (flush_archive, close_archive, new_volume) Always check
the return value of rmtclose(), and only give a warning msg if it is
<0. Some device drivers (including Sun floppy disk, and HP
streaming tape) return -1 after an IO error (or something like that.)
Fri Mar 23 00:06:30 1990 Jim Kingdon (kingdon at mole.ai.mit.edu)
* tar.c (long_options): Make it so +append +extract +list +update
+catenate and +delete don't take arguments.
Mon Mar 12 13:33:53 EST 1990
* buffer.c (open_archive, fl_write) Set the mtime of the volume
header to the current time.
Wed Mar 7 14:10:10 EST 1990 Jay Fenlason (hack@ai.mit.edu)
* buffer.c Fix +compress-block A two character patch from
Juha Sarlin (juha@tds.kth.se)
Replace #ifdef __GNU__ with #ifdef __STDC__
(new_volume) If open of new archive fails, ask again
(Is probably user error.)
* tar.c Replace #ifdef __GNU__ with #ifdef __STDC__
* port.c Clean up #ifdef and #defines a bit.
(quote_copy_string) Sometimes the malloc'd buffer
would be up to two characters too short.
* extract.c (extract_archive) Don't declare ind static.
* create.c (dump_file) Don't declare index_offset static.
* diffarch.c Remove diff_name variable, and always use
head->header.name, which will always work, unlike diff_name, which
becomes trash when the next block is read in.
Thu Mar 1 13:43:30 EST 1990 Jay Fenlason (hack@wookumz.ai.mit.edu)
* Makefile Mention the -NO_REMOTE option.
* port.c Fix typo, and define WANT_FTRUNCATE on i386 machines.
Mon Feb 26 17:44:53 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
* getdate.y: Declare yylex and yyerror as static.
#define yyparse to getdate_yyparse.
Sun Feb 25 20:47:23 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* tar.c: Remove +old option, since it is a valid abbreviation of
+old-archive, which does the same thing.
(describe): A few small cleanups in message.
Mon Feb 5 14:29:21 EST 1990 Jay Fenlason (hack@wookumz)
* port.c define LOSING_MSG on sparc, since doprnt_msg doesn't work.
Fix typo in #ifdef WANT_GETWD
Fri Jan 26 16:11:20 EST 1990 Jay Fenlason (hack@wookumz)
1.08 Sparse file support added. Also various other features.
* diffarch.c (compare_chunk) Include correct arguments in
a call to fprintf() for an error msg.
(compare_chunks, compare_dir) First argument is a long, not an int.
* tar.c (options) Use tar variable (argv[0]) as the name to print
in an error msg, instead of a constant "tar".
(confirm) Use external variable char TTY_NAME[] for name of file
to open for confirmation input.
* buffer.c (new_volume) Ditto.
* port.c Add declaration for TTY_NAME[].
* rmt.h Add long declarations for lseek() and __rmt_lseek();
Tue Jan 23 14:06:21 EST 1990 Jay Fenlason (hack@wookumz)
* tar.c, create.c Create the +newer-mtime option, which is like
+newer, but only looks for files whose mtime is newer than the
given date.
* rtape_lib.c Make *both* instances of signal-handler stuff use
void (*foo)() on USG systems.
Thu Jan 11 14:03:45 EST 1990 Jay Fenlason (hack@wookumz)
* getdate.y Parse European dates of the form YYMMDD.
In ftime() Init timezone by calling localtime(), and remember that
timezone is in seconds, but we want timeb->timezone to be in minutes.
This small patch from Joergen Haegg (jh@aahas.se)
* rtape_lib.c (__rmt_open) Also look for /usr/bsd/rsh.
Declare signal handler as returning void instead of int if USG is
defined.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -