summaryrefslogtreecommitdiffstats
path: root/bin/pax/tar.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 00:07:29 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 00:07:29 +0000
commit188803394908f222ab3ed8ec32331eb6dd00fd2d (patch)
treeac48fd8c79dd9f0b338762a1129b83587ab3a39f /bin/pax/tar.c
parent8737971a6da37e8fb1df8b8129813b45db5d6261 (diff)
downloadFreeBSD-src-188803394908f222ab3ed8ec32331eb6dd00fd2d.zip
FreeBSD-src-188803394908f222ab3ed8ec32331eb6dd00fd2d.tar.gz
Remove trailing whitespace.
Reviewed by: phk
Diffstat (limited to 'bin/pax/tar.c')
-rw-r--r--bin/pax/tar.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/pax/tar.c b/bin/pax/tar.c
index e603d9b..fc5ca2f 100644
--- a/bin/pax/tar.c
+++ b/bin/pax/tar.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: tar.c,v 1.2 1994/09/24 02:56:37 davidg Exp $
*/
#ifndef lint
@@ -182,7 +182,7 @@ ul_oct(val, str, len, term)
#endif
{
register char *pt;
-
+
/*
* term selects the appropriate character(s) for the end of the string
*/
@@ -246,7 +246,7 @@ uqd_oct(val, str, len, term)
#endif
{
register char *pt;
-
+
/*
* term selects the appropriate character(s) for the end of the string
*/
@@ -315,8 +315,8 @@ tar_chksm(blk, len)
*/
pt = blk;
stop = blk + CHK_OFFSET;
- while (pt < stop)
- chksm += (u_long)(*pt++ & 0xff);
+ while (pt < stop)
+ chksm += (u_long)(*pt++ & 0xff);
/*
* move past the checksum field and keep going, spec counts the
* checksum field as the sum of 8 blanks (which is pre-computed as
@@ -327,7 +327,7 @@ tar_chksm(blk, len)
pt += CHK_LEN;
stop = blk + len;
while (pt < stop)
- chksm += (u_long)(*pt++ & 0xff);
+ chksm += (u_long)(*pt++ & 0xff);
return(chksm);
}
@@ -532,7 +532,7 @@ tar_rd(arcn, buf)
* strip off any trailing slash.
*/
if (*pt == '/') {
- *pt = '\0';
+ *pt = '\0';
--arcn->nlen;
}
return(0);
@@ -1013,7 +1013,7 @@ ustar_wr(arcn)
*/
zf_strncpy(hd->name, pt, sizeof(hd->name));
- /*
+ /*
* set the fields in the header that are type dependent
*/
switch(arcn->type) {
OpenPOWER on IntegriCloud