summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/tar
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:05:38 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:05:38 +0000
commit2ad6f3dee6bc54535003f4ab26bbc587b7efa38c (patch)
treea3959baf797787918878bec6d58d6a0fb743ad0a /gnu/usr.bin/tar
parent4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (diff)
downloadFreeBSD-src-2ad6f3dee6bc54535003f4ab26bbc587b7efa38c.zip
FreeBSD-src-2ad6f3dee6bc54535003f4ab26bbc587b7efa38c.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'gnu/usr.bin/tar')
-rw-r--r--gnu/usr.bin/tar/Makefile.gnu10
-rw-r--r--gnu/usr.bin/tar/extract.c8
-rw-r--r--gnu/usr.bin/tar/getopt.c4
-rw-r--r--gnu/usr.bin/tar/getopt.h4
-rw-r--r--gnu/usr.bin/tar/getopt1.c6
-rw-r--r--gnu/usr.bin/tar/list.c2
-rw-r--r--gnu/usr.bin/tar/port.c4
-rw-r--r--gnu/usr.bin/tar/tar.c14
8 files changed, 26 insertions, 26 deletions
diff --git a/gnu/usr.bin/tar/Makefile.gnu b/gnu/usr.bin/tar/Makefile.gnu
index a03617a..f43f8ed 100644
--- a/gnu/usr.bin/tar/Makefile.gnu
+++ b/gnu/usr.bin/tar/Makefile.gnu
@@ -73,7 +73,7 @@ DEFS = -DRETSIGTYPE=void -DDIRENT=1 -DHAVE_SYS_MTIO_H=1 -DHAVE_UNISTD_H=1 -DHAV
# Set this to rtapelib.o unless you defined NO_REMOTE, in which case
# make it empty.
RTAPELIB = rtapelib.o
-LIBS =
+LIBS =
CFLAGS = -g
LDFLAGS = -g
@@ -82,7 +82,7 @@ prefix = /usr/bin
exec_prefix = $(prefix)
# Prefix for each installed program, normally empty or `g'.
-binprefix =
+binprefix =
# The directory to install tar in.
bindir = $(exec_prefix)/bin
@@ -102,8 +102,8 @@ SRC2 = version.c list.c names.c diffarch.c port.c fnmatch.c getopt.c malloc.c
SRC3 = getopt1.c regex.c getdate.y getdate.c alloca.c
SRCS = $(SRC1) $(SRC2) $(SRC3)
OBJ1 = tar.o create.o extract.o buffer.o getoldopt.o update.o gnu.o mangle.o
-OBJ2 = version.o list.o names.o diffarch.o port.o fnmatch.o getopt.o
-OBJ3 = getopt1.o regex.o getdate.o $(RTAPELIB)
+OBJ2 = version.o list.o names.o diffarch.o port.o fnmatch.o getopt.o
+OBJ3 = getopt1.o regex.o getdate.o $(RTAPELIB)
OBJS = $(OBJ1) $(OBJ2) $(OBJ3)
AUX = README INSTALL NEWS COPYING ChangeLog Makefile.in makefile.pc \
configure configure.in \
@@ -113,7 +113,7 @@ AUX = README INSTALL NEWS COPYING ChangeLog Makefile.in makefile.pc \
level-0 level-1 backup-specs dump-remind getpagesize.h
# tar.texinfo tar.info* texinfo.tex \
-all: tar rmt
+all: tar rmt
# tar.info
.c.o:
diff --git a/gnu/usr.bin/tar/extract.c b/gnu/usr.bin/tar/extract.c
index 57f8222..4b09fad 100644
--- a/gnu/usr.bin/tar/extract.c
+++ b/gnu/usr.bin/tar/extract.c
@@ -735,9 +735,9 @@ extract_archive ()
if (!f_modified)
{
- tmp = ((struct saved_dir_info *)
+ tmp = ((struct saved_dir_info *)
ck_malloc (sizeof (struct saved_dir_info)));
- tmp->path = (char *) ck_malloc (strlen (skipcrud
+ tmp->path = (char *) ck_malloc (strlen (skipcrud
+ current_file_name) + 1);
strcpy (tmp->path, skipcrud + current_file_name);
tmp->mode = hstat.st_mode;
@@ -889,7 +889,7 @@ extract_sparse_file (fd, sizeleft, totalsize, name)
}
else if (count != written)
{
- msg ("could only write %d of %d bytes to file %s", count,
+ msg ("could only write %d of %d bytes to file %s", count,
totalsize, name);
skip_file ((long) (*sizeleft));
}
@@ -910,7 +910,7 @@ extract_sparse_file (fd, sizeleft, totalsize, name)
}
/* Set back the utime and mode for all the extracted directories. */
-void
+void
restore_saved_dir_info ()
{
struct utimbuf acc_upd_times;
diff --git a/gnu/usr.bin/tar/getopt.c b/gnu/usr.bin/tar/getopt.c
index 3db9abf..6b8e3f2 100644
--- a/gnu/usr.bin/tar/getopt.c
+++ b/gnu/usr.bin/tar/getopt.c
@@ -10,12 +10,12 @@
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, 675 Mass Ave, Cambridge, MA 02139, USA. */
diff --git a/gnu/usr.bin/tar/getopt.h b/gnu/usr.bin/tar/getopt.h
index 93a5cf7..f977e15 100644
--- a/gnu/usr.bin/tar/getopt.h
+++ b/gnu/usr.bin/tar/getopt.h
@@ -5,12 +5,12 @@
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, 675 Mass Ave, Cambridge, MA 02139, USA. */
diff --git a/gnu/usr.bin/tar/getopt1.c b/gnu/usr.bin/tar/getopt1.c
index c3582cf..b2b23f2 100644
--- a/gnu/usr.bin/tar/getopt1.c
+++ b/gnu/usr.bin/tar/getopt1.c
@@ -5,12 +5,12 @@
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, 675 Mass Ave, Cambridge, MA 02139, USA. */
@@ -55,7 +55,7 @@ getopt_long (argc, argv, options, long_options, opt_index)
but does match a short option, it is parsed as a short option
instead. */
-int
+int
getopt_long_only (argc, argv, options, long_options, opt_index)
int argc;
char *const *argv;
diff --git a/gnu/usr.bin/tar/list.c b/gnu/usr.bin/tar/list.c
index d40c014..470fc6b 100644
--- a/gnu/usr.bin/tar/list.c
+++ b/gnu/usr.bin/tar/list.c
@@ -97,7 +97,7 @@ read_and (do_something)
status = read_header ();
/* check if the namelist got emptied during the course of reading */
/* the tape, if so stop by setting status to EOF */
- if ((namelist == NULL) && nlpsfreed) {
+ if ((namelist == NULL) && nlpsfreed) {
status = EOF;
}
switch (status)
diff --git a/gnu/usr.bin/tar/port.c b/gnu/usr.bin/tar/port.c
index 10ec32e..9a40dc3 100644
--- a/gnu/usr.bin/tar/port.c
+++ b/gnu/usr.bin/tar/port.c
@@ -1002,7 +1002,7 @@ un_quote_string (string)
}
#ifndef __MSDOS__
-void
+void
ck_pipe (pipes)
int *pipes;
{
@@ -1223,7 +1223,7 @@ msg_perror (str, args)
#endif /* !HAVE_VPRINTF and HAVE_DOPRNT */
#if !defined(HAVE_VPRINTF) && !defined(HAVE_DOPRNT)
-void
+void
msg (str, a1, a2, a3, a4, a5, a6)
char *str;
{
diff --git a/gnu/usr.bin/tar/tar.c b/gnu/usr.bin/tar/tar.c
index a51ff2b..6385986 100644
--- a/gnu/usr.bin/tar/tar.c
+++ b/gnu/usr.bin/tar/tar.c
@@ -169,7 +169,7 @@ struct option long_options[] =
{"gzip", 0, 0, 'z'},
{"ungzip", 0, 0, 'z'},
{"use-compress-program", 1, 0, 18},
-
+
{"same-permissions", 0, &f_use_protection, 1},
{"sparse", 0, &f_sparse_files, 1},
@@ -201,7 +201,7 @@ main (argc, argv)
tar = argv[0]; /* JF: was "tar" Set program name */
filename_terminator = '\n';
errors = 0;
-
+
options (argc, argv);
if (!n_argv)
@@ -1182,12 +1182,12 @@ again:
if (strcmp(p, nlp->name) == 0) {
/* remove the current entry, since we found a match */
/* use brute force, this code is a mess anyway */
- if (namelist->next == NULL) {
+ if (namelist->next == NULL) {
/* the list contains one element */
free(namelist);
namelist = NULL;
} else {
- if (nlp == namelist) {
+ if (nlp == namelist) {
/* the first element is the one */
tmpnlp = namelist->next;
free(namelist);
@@ -1203,11 +1203,11 @@ again:
}
/* set a boolean to decide wether we started with a */
/* non-empty namelist, that was emptied */
- nlpsfreed = 1;
+ nlpsfreed = 1;
}
- }
+ }
return 1; /* We got a match */
-
+
}
}
OpenPOWER on IntegriCloud