Date: Fri, 24 Jul 2015 19:05:57 +0000 From: "emaste (Ed Maste)" <phabric-noreply@FreeBSD.org> To: freebsd-toolchain@freebsd.org Subject: [Differential] [Updated, 3 lines] D3190: ar: enable deterministic mode by default Message-ID: <923e5ec594a7681f2b169e3bcd00397c@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-usn5i3qzb3c4qoqpymts-req@FreeBSD.org> References: <differential-rev-PHID-DREV-usn5i3qzb3c4qoqpymts-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--b1_923e5ec594a7681f2b169e3bcd00397c Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit emaste updated this revision to Diff 7272. emaste added a comment. Add note of -D default in man page. CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D3190?vs=7271&id=7272 REVISION DETAIL https://reviews.freebsd.org/D3190 AFFECTED FILES usr.bin/ar/ar.1 usr.bin/ar/ar.c CHANGE DETAILS diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c --- a/usr.bin/ar/ar.c +++ b/usr.bin/ar/ar.c @@ -104,6 +104,8 @@ bsdar = &bsdar_storage; memset(bsdar, 0, sizeof(*bsdar)); + /* Enable deterministic mode by default. */ + bsdar->options |= AR_D; if ((bsdar->progname = getprogname()) == NULL) bsdar->progname = "ar"; diff --git a/usr.bin/ar/ar.1 b/usr.bin/ar/ar.1 --- a/usr.bin/ar/ar.1 +++ b/usr.bin/ar/ar.1 @@ -210,6 +210,7 @@ .Ar . This ensures that checksums on the resulting archives are reproducible when member contents are identical. +This option is enabled by default. If multiple .Fl D and EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: emaste, bapt, brooks Cc: freebsd-toolchain-list --b1_923e5ec594a7681f2b169e3bcd00397c Content-Type: text/x-patch; charset=utf-8; name="D3190.7272.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D3190.7272.patch" ZGlmZiAtLWdpdCBhL3Vzci5iaW4vYXIvYXIuYyBiL3Vzci5iaW4vYXIvYXIuYwotLS0gYS91c3Iu YmluL2FyL2FyLmMKKysrIGIvdXNyLmJpbi9hci9hci5jCkBAIC0xMDQsNiArMTA0LDggQEAKIAog CWJzZGFyID0gJmJzZGFyX3N0b3JhZ2U7CiAJbWVtc2V0KGJzZGFyLCAwLCBzaXplb2YoKmJzZGFy KSk7CisJLyogRW5hYmxlIGRldGVybWluaXN0aWMgbW9kZSBieSBkZWZhdWx0LiAqLworCWJzZGFy LT5vcHRpb25zIHw9IEFSX0Q7CiAKIAlpZiAoKGJzZGFyLT5wcm9nbmFtZSA9IGdldHByb2duYW1l KCkpID09IE5VTEwpCiAJCWJzZGFyLT5wcm9nbmFtZSA9ICJhciI7CmRpZmYgLS1naXQgYS91c3Iu YmluL2FyL2FyLjEgYi91c3IuYmluL2FyL2FyLjEKLS0tIGEvdXNyLmJpbi9hci9hci4xCisrKyBi L3Vzci5iaW4vYXIvYXIuMQpAQCAtMjEwLDYgKzIxMCw3IEBACiAuQXIgLgogVGhpcyBlbnN1cmVz IHRoYXQgY2hlY2tzdW1zIG9uIHRoZSByZXN1bHRpbmcgYXJjaGl2ZXMgYXJlIHJlcHJvZHVjaWJs ZQogd2hlbiBtZW1iZXIgY29udGVudHMgYXJlIGlkZW50aWNhbC4KK1RoaXMgb3B0aW9uIGlzIGVu YWJsZWQgYnkgZGVmYXVsdC4KIElmIG11bHRpcGxlCiAuRmwgRAogYW5kCgo= --b1_923e5ec594a7681f2b169e3bcd00397c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?923e5ec594a7681f2b169e3bcd00397c>