|Summary:||[regression][patch] ranlib's deterministic mode broken since r286024|
|Product:||Base System||Reporter:||Fabian Keil <fk>|
|Component:||bin||Assignee:||Ed Maste <emaste>|
|Severity:||Affects Some People||CC:||emaste|
Description Fabian Keil 2015-08-29 10:02:34 UTC
r286024 lets ranlib ignore the -D flag and default to non-deterministic mode as the chunk that sets AR_D is only reached when running as ar. The attached patch is one way to fix this. Obtained from ElectroBSD.
Comment 1 Fabian Keil 2015-08-29 10:04:44 UTC
Created attachment 160479 [details] usr.bin/ar: Fix deterministic mode when running as ranlib
Comment 2 commit-hook 2015-08-31 12:29:08 UTC
A commit references this bug: Author: emaste Date: Mon Aug 31 12:28:14 UTC 2015 New revision: 287324 URL: https://svnweb.freebsd.org/changeset/base/287324 Log: ar: fix deterministic mode when running as ranlib This was broken by r286024. PR: 202741 Submitted by: email@example.com Obtained from: ElectroBSD Changes: head/usr.bin/ar/ar.c
Comment 3 Ed Maste 2015-08-31 19:56:55 UTC
I intend to MFC the change to enable deterministic mode by default, and will include this fix.