From: guenther Date: Wed, 8 Jan 2014 06:41:49 +0000 (+0000) Subject: Zap trailing whitespace X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8b4b22116ec3810e1a07c4d12eeb82d74fbec75d;p=openbsd Zap trailing whitespace --- diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c index 144b90ad37c..dafb4cedb8f 100644 --- a/bin/pax/ar_subs.c +++ b/bin/pax/ar_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar_subs.c,v 1.35 2014/01/08 04:43:48 guenther Exp $ */ +/* $OpenBSD: ar_subs.c,v 1.36 2014/01/08 06:41:49 guenther Exp $ */ /* $NetBSD: ar_subs.c,v 1.5 1995/03/21 09:07:06 cgd Exp $ */ /*- @@ -389,7 +389,7 @@ wr_archive(ARCHD *arcn, int is_app) return; /* - * if this is not append, and there are no files, we do not write a + * if this is not append, and there are no files, we do not write a * trailer */ wr_one = is_app; diff --git a/bin/pax/tables.c b/bin/pax/tables.c index 3b10bd92d49..ebad8b853f9 100644 --- a/bin/pax/tables.c +++ b/bin/pax/tables.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tables.c,v 1.28 2014/01/08 04:43:48 guenther Exp $ */ +/* $OpenBSD: tables.c,v 1.29 2014/01/08 06:41:49 guenther Exp $ */ /* $NetBSD: tables.c,v 1.4 1995/03/21 09:07:45 cgd Exp $ */ /*- @@ -309,7 +309,7 @@ lnk_end(void) * hash table is indexed by hashing the file path. The nodes in the table store * the length of the filename and the lseek offset within the scratch file * where the actual name is stored. Since there are never any deletions from - * this table, fragmentation of the scratch file is never a issue. Lookups + * this table, fragmentation of the scratch file is never a issue. Lookups * seem to not exhibit any locality at all (files in the database are rarely * looked up more than once...), so caching is just a waste of memory. The * only limitation is the amount of scratch file space available to store the diff --git a/bin/pax/tar.c b/bin/pax/tar.c index d476e5e8a7b..1a46545ba7d 100644 --- a/bin/pax/tar.c +++ b/bin/pax/tar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tar.c,v 1.51 2014/01/08 04:58:36 guenther Exp $ */ +/* $OpenBSD: tar.c,v 1.52 2014/01/08 06:41:49 guenther Exp $ */ /* $NetBSD: tar.c,v 1.5 1995/03/21 09:07:49 cgd Exp $ */ /*- @@ -784,7 +784,7 @@ ustar_rd(ARCHD *arcn, char *buf) } } - if (!arcn->ln_nlen && + if (!arcn->ln_nlen && hd->typeflag != LONGLINKTYPE && hd->typeflag != LONGNAMETYPE) { arcn->ln_nlen = expandname(arcn->ln_name, sizeof(arcn->ln_name), &gnu_link_string, hd->linkname, sizeof(hd->linkname));