diff options
author | ache <ache@FreeBSD.org> | 1995-11-01 08:06:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-11-01 08:06:01 +0000 |
commit | a86aed0f23da053d84b317b36f0071f1112950d2 (patch) | |
tree | d078f21f9c4c96984330cbe049772df8119d8d28 /usr.bin | |
parent | d34865cc8979c7ec79bbe5b6ce683336db718a93 (diff) | |
download | FreeBSD-src-a86aed0f23da053d84b317b36f0071f1112950d2.zip FreeBSD-src-a86aed0f23da053d84b317b36f0071f1112950d2.tar.gz |
Fix ranlib to work with odd-length extended names.
Submitted by: Jim Leppek <jleppek@harris.com>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ranlib/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ranlib/build.c b/usr.bin/ranlib/build.c index ff745be..03839f2 100644 --- a/usr.bin/ranlib/build.c +++ b/usr.bin/ranlib/build.c @@ -103,7 +103,7 @@ build() /* Copy the saved objects into the archive. */ size = lseek(tfd, (off_t)0, SEEK_CUR); (void)lseek(tfd, (off_t)0, SEEK_SET); - SETCF(tfd, tname, afd, archive, RPAD|WPAD); + SETCF(tfd, tname, afd, archive, WPAD); copy_ar(&cf, size); (void)ftruncate(afd, lseek(afd, (off_t)0, SEEK_CUR)); (void)close(tfd); |