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
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 protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to