%n tar %v 1.11.8 %c * %l * %b * %d * %f * %t tar-1.11.8.tgz %w Gnu %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N tar-1.11.8/Makefile.in tar-MCC/Makefile.in --- tar-1.11.8/Makefile.in Sat Jun 17 14:29:49 1995 +++ tar-MCC/Makefile.in Sat Aug 10 17:12:10 1996 @@ -52,5 +52,5 @@ infodir='$(infodir)' infodir='$(infodir)' libexecdir='$(libexecdir)' -SUBDIRS = doc lib intl src scripts po +SUBDIRS = lib intl src DISTFILES = \ diff -ru2N tar-1.11.8/lib/Makefile.in tar-MCC/lib/Makefile.in --- tar-1.11.8/lib/Makefile.in Sat Jun 17 23:38:33 1995 +++ tar-MCC/lib/Makefile.in Sat Aug 10 17:17:18 1996 @@ -51,5 +51,5 @@ error.c getdate.y getopt.c getopt1.c stpcpy.c xgetcwd.c xmalloc.c xstrdup.c OBJECTS = @ALLOCA@ @LIBOBJS@ \ -error.o getdate.o getopt.o getopt1.o stpcpy.o xgetcwd.o xmalloc.o xstrdup.o +error.o getdate.o stpcpy.o xgetcwd.o xmalloc.o xstrdup.o DISTFILES = Makefile.in $(HEADERS) $(SOURCES) \ diff -ru2N tar-1.11.8/src/create.c tar-MCC/src/create.c --- tar-1.11.8/src/create.c Sat Jun 17 22:08:13 1995 +++ tar-MCC/src/create.c Sat Aug 10 17:09:40 1996 @@ -926,5 +926,6 @@ skipping over. */ - find_new_file_size (&filesize, upperbound); + if (filesize) + find_new_file_size (&filesize, upperbound); hstat.st_size = filesize; to_oct ((long) filesize, 1 + 12, header->header.size); diff -ru2N tar-1.11.8/src/extract.c tar-MCC/src/extract.c diff -ru2N tar-1.11.8/src/rtapelib.c tar-MCC/src/rtapelib.c --- tar-1.11.8/src/rtapelib.c Wed Mar 15 04:29:24 1995 +++ tar-MCC/src/rtapelib.c Sat Aug 10 16:50:40 1996 @@ -309,5 +309,5 @@ /* FIXME: Should somewhat validate the decoding, here. */ - if (*remote_user == '\0') + if (remote_user && *remote_user == '\0') remote_user = NULL; ENDPATCH env CFLAGS='-O6' LDFLAGS='-Wl,-warn-common' INSTALL_DATA='install -m 444' \ INSTALL_PROGRAM='install -s -m 555' ./configure --prefix=/usr --disable-nls make * make install %%