<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/ar, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-06-16T21:22:26Z</updated>
<entry>
<title>ar: enable reproducible output by default when invoked as 'ar -s'</title>
<updated>2016-06-16T21:22:26Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-06-16T21:22:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=11c4d924e1aed5955b880f7bde2b713d7e1039c1'/>
<id>urn:sha1:11c4d924e1aed5955b880f7bde2b713d7e1039c1</id>
<content type='text'>
ar output is already deterministic by default for ar -q and ar -r, and
when invoked as ranlib. Make ar -s equivalent to ranlib and enable
deterministic output by default in that case too.

PR:		210330
Reviewed by:	bdrewery
Approved by:	re (gjb)
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D6871
</content>
</entry>
<entry>
<title>Make code compile when basename() is POSIX compliant.</title>
<updated>2016-05-26T13:49:40Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-26T13:49:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09a113491c5ef27ff138c9a7942bd03cc18ac4ce'/>
<id>urn:sha1:09a113491c5ef27ff138c9a7942bd03cc18ac4ce</id>
<content type='text'>
In addition to the previous change I made to ar.c, pull in another
basename() related fix. This change is similar to the one made to the
ELF Toolchain version of ar, with the difference that the ELF Toolchain
version lacks error handling for the strdup() call.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D6467
</content>
</entry>
<entry>
<title>Make code compile when basename() is POSIX compliant.</title>
<updated>2016-05-19T20:03:01Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-19T20:03:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c76f604ee9460d3a52e34e5f7219c57fc2c27133'/>
<id>urn:sha1:c76f604ee9460d3a52e34e5f7219c57fc2c27133</id>
<content type='text'>
If basename() uses "char *", we shouldn't do the intermediate
assignment, as that field is of type "const char *". Simply call
basename() on the command line argument directly.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D6463
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Regenerate without local dependencies.</title>
<updated>2016-02-24T17:20:11Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-02-24T17:20:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd18fd57db1df29da1a3adf94d47924a977a29c2'/>
<id>urn:sha1:bd18fd57db1df29da1a3adf94d47924a977a29c2</id>
<content type='text'>
These are no longer needed after the recent 'beforebuild: depend' changes
and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
skipping 'make depend'.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Check archive_entry_new() result.</title>
<updated>2015-10-29T19:28:21Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-10-29T19:28:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bd9302d862068e4740d41d3c37be09a4b9b029f9'/>
<id>urn:sha1:bd9302d862068e4740d41d3c37be09a4b9b029f9</id>
<content type='text'>
Coverity CID:	1331341
</content>
</entry>
<entry>
<title>ar: Deobfuscate a while loop</title>
<updated>2015-08-31T18:07:17Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-08-31T18:07:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a84c4d189bc4d2767d72f9f203681d423bbe6334'/>
<id>urn:sha1:a84c4d189bc4d2767d72f9f203681d423bbe6334</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ar: fix deterministic mode when running as ranlib</title>
<updated>2015-08-31T12:28:13Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-08-31T12:28:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a64a36e2805c966b3237969a222011290d0b6a31'/>
<id>urn:sha1:a64a36e2805c966b3237969a222011290d0b6a31</id>
<content type='text'>
This was broken by r286024.

PR:		202741
Submitted by:	fk@fabiankeil.de
Obtained from:	ElectroBSD
</content>
</entry>
<entry>
<title>ar: Fix deterministic mode default with options other than -q or -r</title>
<updated>2015-07-29T17:34:26Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-07-29T17:34:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a80ac30b2df8e89e46c3d1bb1e375b25c618e24c'/>
<id>urn:sha1:a80ac30b2df8e89e46c3d1bb1e375b25c618e24c</id>
<content type='text'>
Reported by:	jhibbits
Reviewed by:	jhibbits
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3237
</content>
</entry>
<entry>
<title>ar: enable deterministic mode by default</title>
<updated>2015-07-29T13:36:17Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-07-29T13:36:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc964cbf4e295b98ab5ebb6cbfb00743cdee0489'/>
<id>urn:sha1:fc964cbf4e295b98ab5ebb6cbfb00743cdee0489</id>
<content type='text'>
Ar cannot handle UIDs with more than 6 digits, and storing the mtime,
uid, gid and mode provides little to negative value anyhow for ar's
uses. Turn on deterministic (-D) mode by default; it can be disabled by
the user with -U.

PR:		196929
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3190
</content>
</entry>
<entry>
<title>ar: add -U (unique) option to disable -D (deterministic) mode</title>
<updated>2015-07-24T17:46:43Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2015-07-24T17:46:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7072861cd00ced056de90d47ab1a16e5170356e8'/>
<id>urn:sha1:7072861cd00ced056de90d47ab1a16e5170356e8</id>
<content type='text'>
This is required in order for us to support deterministic mode by
default.  If multiple -D or -U options are specified on the command
line, the final one takes precedence.  GNU ar also uses -U for this.

An equivalent change will be applied to ELF Tool Chain's version of ar.

PR:		196929
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D3175
</content>
</entry>
</feed>
