summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/archive.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/ar/archive.c
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/ar/archive.c')
-rw-r--r--usr.bin/ar/archive.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ar/archive.c b/usr.bin/ar/archive.c
index cd704b9..ddd9f86 100644
--- a/usr.bin/ar/archive.c
+++ b/usr.bin/ar/archive.c
@@ -63,7 +63,7 @@ open_archive(mode)
{
int created, fd, nr;
char buf[SARMAG];
-
+
created = 0;
if (mode & O_CREAT) {
mode |= O_EXCL;
@@ -81,14 +81,14 @@ open_archive(mode)
if ((fd = open(archive, mode, DEFFILEMODE)) < 0)
error(archive);
- /*
- * Attempt to place a lock on the opened file - if we get an
+ /*
+ * Attempt to place a lock on the opened file - if we get an
* error then someone is already working on this library (or
* it's going across NFS).
*/
opened: if (flock(fd, LOCK_EX|LOCK_NB) && errno != EOPNOTSUPP)
error(archive);
-
+
/*
* If not created, O_RDONLY|O_RDWR indicates that it has to be
* in archive format.
@@ -281,7 +281,7 @@ copy_ar(cfp, size)
off_t sz;
int from, nr, nw, off, to;
char buf[8*1024];
-
+
if (!(sz = size))
return;
OpenPOWER on IntegriCloud