From c904c6ac55aa05b8b06ef4e2de3927a0907c9f86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Pinard?= Date: Wed, 16 Nov 1994 02:56:28 +0000 Subject: [PATCH] *** empty log message *** --- README | 78 ++++++++++++++++++++++++++++++++++++------------- src/makefile.pc | 59 +++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+), 21 deletions(-) create mode 100644 src/makefile.pc diff --git a/README b/README index e766fbb..ac4f0df 100644 --- a/README +++ b/README @@ -1,5 +1,9 @@ -This GNU tar 1.10. Please send bug reports, etc., to -bug-gnu-utils@prep.ai.mit.edu. +Hey! Emacs! Yo! This is -*- Text -*- !!! + +This GNU tar 1.11. Please send bug reports, etc., to +bug-gnu-utils@prep.ai.mit.edu. This is a beta-test release. Please +try it out. After bug reports are processed for this release, version +1.12 will be released. GNU tar is based heavily on John Gilmore's public domain tar, but with added features. The manual is currently being written. An old @@ -18,33 +22,65 @@ Various people have been having problems using floppies on a NeXT. I've gotten conflicting reports about what should be done to solve the problems, and we have no way to test it ourselves. +If you want to do incremental dumps, use the distributed backup +scripts. They are what we use at the FSF to do all our backups. Most +importantly, do not use +incremental (-G) or +after-date (-N) or ++newer-mtime to do incremental dumps. The only option that works +correctly for this purpose is +listed-incremental. (When extracting +incremental dumps, use +incremental (-G).) + +There is no tar manual in this release. The old manual has too many +problems to make it usable. A new manual will appear in version 1.12. + +User-visible changes since 1.10: + +o Many bug fixes + +o Now uses GNU standard configure, generated by Autoconf. + +o Long options now use `--'; use of `+' is deprecated and support for it + will eventually be removed. + +o New option --null causes filenames read by -T to be null-terminated, + and causes -C to be ignored. + +o New option --remove-files deletes files (but not directories) after + they are added to the archive. + +o New option --ignore-failed-read prevents read-errors from affecting + the exit status. -User-visible changes since 1.09: +o New option --checkpoint prints occasional messages as the tape is + being read or written. -Filename to -G is optional. -C works right. -Names newer and --newer-mtime work right. +o New option --show-omitted-dirs prints the names of directories + omitted from the archive. --g is now --incremental --G is now --listed-incremental +o Some tape drives which use a non-standard method of indicating + end-of-tape now work correctly with multi-tape archives. -Sparse files now work correctly. +o --volno-file: Read the volume number used in prompting the user (but + not in recording volume ID's on the archive) from a file. ---volume is now called --label. +o When using --multi-volume, you can now give multiple -f arguments; + the various tape drives will get used in sequence and then wrap + around to the beginning. ---exclude now takes a filename argument, and --exclude-from does what ---exclude used to do. +o Remote archive names no longer have to be in /dev: any file with a + `:' is interpreted as remote. If new option --force-local is given, + then even archive files with a `:' are considered local. -Exit status is now correct. +o New option --atime-preserve restores (if possible) atimes to their + original values after dumping the file. ---totals keeps track of total I/O and prints it when tar exits. +o No longer does tar confusingly dump "." when you don't tell it what + to dump. -When using --label with --extract, the label is now a regexp. +o When extracting directories, tar now correctly restores their + modification and access times. -New option --tape-length (-L) does multi-volume handling like BSD dump: -you tell tar how big the tape is and it will prompt at that point -instead of waiting for a write error. +o Longnames support is redone differently--long name info directly + precedes the long-named file or link in the archive, so you no + longer have to wait for the extract to hit the end of the tape for + long names to work. -New backup scripts level-0 and level-1 which might be useful to -people. They use a file "backup-specs" for information, and shouldn't -need local modification. These are what we use to do all our backups -at the FSF. diff --git a/src/makefile.pc b/src/makefile.pc new file mode 100644 index 0000000..64a5a79 --- /dev/null +++ b/src/makefile.pc @@ -0,0 +1,59 @@ +# Makefile for GNU tar on MS-DOS using Turbo C 2.0. +# Copyright (C) 1991 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +CC = tcc +RM = rm -f + +MODEL = m +DEFS = -DNONAMES -DNO_REMOTE -DNO_MTIO -DSTDC_HEADERS -m$(MODEL) -Dmain=_main +LIBS = +DEF_AR_FILE = tar.out +DEFBLOCKING = 20 + +CFLAGS = -I. $(DEFS) \ + -DDEF_AR_FILE="$(DEF_AR_FILE)" \ + -DDEFBLOCKING=$(DEFBLOCKING) +LDFLAGS = -m$(MODEL) + +OBJ1 = tar.obj create.obj extract.obj buffer.obj getoldopt.obj update.obj gnu.obj mangle.obj +OBJ2 = version.obj list.obj names.obj diffarch.obj port.obj wildmat.obj getopt.obj +OBJ3 = getopt1.obj regex.obj getdate.obj alloca.obj tcexparg.obj msd_dir.obj +OBJS = $(OBJ1) $(OBJ2) $(OBJ3) + +all: tar + +tar: testpad.h getdate.c $(OBJS) + $(RM) testpad.obj + $(CC) $(LDFLAGS) -etar *.obj $(LIBS) + +.c.obj: + $(CC) -c $(CFLAGS) $< + +testpad.h: testpad.exe + testpad + +testpad.exe: testpad.c + $(CC) $(LDFLAGS) -etestpad testpad.c $(LIBS) + +clean: + $(RM) errs *.obj tar testpad testpad.h + +mostlyclean: clean + +distclean: clean + +realclean: clean -- 2.45.2