FreeBSD Bugzilla – Attachment 160479 Details for
Bug 202741
[regression][patch] ranlib's deterministic mode broken since r286024
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
usr.bin/ar: Fix deterministic mode when running as ranlib
usr.bin-ar-Fix-deterministic-mode-when-running-as-ra.diff (text/plain), 846 bytes, created by
Fabian Keil
on 2015-08-29 10:04:44 UTC
(
hide
)
Description:
usr.bin/ar: Fix deterministic mode when running as ranlib
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2015-08-29 10:04:44 UTC
Size:
846 bytes
patch
obsolete
>From 170ec5ba796754f7dea7e910162e116a1aabdaff Mon Sep 17 00:00:00 2001 >From: Fabian Keil <fk@fabiankeil.de> >Date: Fri, 28 Aug 2015 18:14:00 +0200 >Subject: [PATCH] usr.bin/ar: Fix deterministic mode when running as ranlib > >Previously -D had no effect and ranlib defaulted >to being non-deterministic despite the man page >saying otherwise. > >Obtained from: ElectroBSD >--- > usr.bin/ar/ar.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c >index b7c1de6..e00980e 100644 >--- a/usr.bin/ar/ar.c >+++ b/usr.bin/ar/ar.c >@@ -144,6 +144,9 @@ main(int argc, char **argv) > if (*argv == NULL) > ranlib_usage(); > >+ /* Enable determinstic mode unless -U is set. */ >+ if (Uflag == 0) >+ bsdar->options |= AR_D; > bsdar->options |= AR_S; > for (;(bsdar->filename = *argv++) != NULL;) > ar_mode_s(bsdar); >-- >2.4.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202741
: 160479