<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/rm, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-10-01T16:18:40Z</updated>
<entry>
<title>MFC r268376 (imp):</title>
<updated>2014-10-01T16:18:40Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2014-10-01T16:18:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a87d320f3a7b618f66488aee3db8408bb5265aa'/>
<id>urn:sha1:9a87d320f3a7b618f66488aee3db8408bb5265aa</id>
<content type='text'>
  rm -rf can fail sometimes with an error from fts_read. Make it
  honor fflag to ignore fts_read errors, but stop deleting from
  that directory because no further progress can be made.

  When building a kernel with a high -j value on a high core count
  machine, during the cleanobj phase we can wind up doing multiple
  rm -rf at the same time for modules that have subdirectories. This
  exposed this race (sometimes) as fts_read can return an error if
  the directory is removed by another rm -rf. Since the intent of
  the -f flag was to ignore errors, even if this was a bug in
  fts_read, we should ignore the error like we've been instructed
  to do.

Approved by:	re (kib)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Add two more 'static' qualifiers</title>
<updated>2013-04-26T17:56:35Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-04-26T17:56:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c99904b9a7653435895f4e090cbd153b366152d'/>
<id>urn:sha1:4c99904b9a7653435895f4e090cbd153b366152d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take some improvements from DragonFlyBSD:</title>
<updated>2013-04-26T17:45:40Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-04-26T17:45:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d6d3f96d03feee62481767f309774b669fd185d'/>
<id>urn:sha1:9d6d3f96d03feee62481767f309774b669fd185d</id>
<content type='text'>
	- add const where appropriate
	- add static where appropriate
	- fix a whitespace issues

Reviewed by:	brooks
Obtained from:	DragonFlyBSD
MFC After:	1 week
</content>
</entry>
<entry>
<title>Add -x option to avoid crossing mount points when removing a hierarchy.</title>
<updated>2013-04-26T17:45:37Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-04-26T17:45:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d4319e7433ce9d59d874020e85606f06deda9d30'/>
<id>urn:sha1:d4319e7433ce9d59d874020e85606f06deda9d30</id>
<content type='text'>
Discussed on:	-hackers
Inspired by:	DragonflyBSD
MFC After:	1 week
</content>
</entry>
<entry>
<title>Add a few examples.</title>
<updated>2013-03-15T20:12:54Z</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2013-03-15T20:12:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9e3a1ab1fb5cad58704a28dc528be8c075d32d8'/>
<id>urn:sha1:e9e3a1ab1fb5cad58704a28dc528be8c075d32d8</id>
<content type='text'>
Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>Fix bin/ build with a 64-bit ino_t.</title>
<updated>2012-09-27T23:31:12Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2012-09-27T23:31:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6db1a7f11e0f890229ef43a9e554b89756afa8c5'/>
<id>urn:sha1:6db1a7f11e0f890229ef43a9e554b89756afa8c5</id>
<content type='text'>
Original code by:	Gleb Kurtsou
</content>
</entry>
<entry>
<title>Polish previous revision: if the fts_* routines have lstat()'ed the</title>
<updated>2012-06-20T21:10:38Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-06-20T21:10:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=930e3238946d6fd3fa318e048289b6d6225784ef'/>
<id>urn:sha1:930e3238946d6fd3fa318e048289b6d6225784ef</id>
<content type='text'>
directory entry then use the struct stat from that instead of doing
it again, and skip the rm_overwrite() call if fts_read() indicated
that the entry couldn't be a regular file.

Obtained from:	OpenBSD
MFC after:	1 week
</content>
</entry>
<entry>
<title>Fix potential symlink race condition in "rm -P" by adding a check</title>
<updated>2012-06-20T02:21:53Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-06-20T02:21:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ec1405b3943fed9dff52930055b037cc7a40069'/>
<id>urn:sha1:4ec1405b3943fed9dff52930055b037cc7a40069</id>
<content type='text'>
that the file we have opened is the one we expected.  Also open in
non-blocking mode to avoid a potential hang with FIFOs.

Obtained from:	NetBSD via OpenBSD
</content>
</entry>
<entry>
<title>Put some static keywords in the source code.</title>
<updated>2011-10-31T08:59:17Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-10-31T08:59:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f9d4afb439cc2c97183694169663cf6ae10c628e'/>
<id>urn:sha1:f9d4afb439cc2c97183694169663cf6ae10c628e</id>
<content type='text'>
For these simple utilities, it doesn't harm to make all global variables
static. In fact, this allows the compiler to perform better forms of
optimisation and analysis.
</content>
</entry>
<entry>
<title>bin: Prefer strrchr() to rindex().</title>
<updated>2011-03-15T22:22:11Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-03-15T22:22:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0cf90cd1d37e29407d1fc74e39da6a1625b7cede'/>
<id>urn:sha1:0cf90cd1d37e29407d1fc74e39da6a1625b7cede</id>
<content type='text'>
This removes the last index/rindex usage from /bin.
</content>
</entry>
</feed>
