<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/touch, branch release/10.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2013-04-23T13:03:17Z</updated>
<entry>
<title>Constify where appropriate.</title>
<updated>2013-04-23T13:03:17Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-04-23T13:03:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b268ae6440f83131d3880a7d1a89699f8132ab36'/>
<id>urn:sha1:b268ae6440f83131d3880a7d1a89699f8132ab36</id>
<content type='text'>
Reported by:	emaste
Approved by:	cperciva (mentor)
MFC After:	3 days
</content>
</entry>
<entry>
<title>Cleanups to touch.c</title>
<updated>2013-04-23T13:03:14Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-04-23T13:03:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4145c5f17e1e48ce18a07512cb8a3ac630d287b3'/>
<id>urn:sha1:4145c5f17e1e48ce18a07512cb8a3ac630d287b3</id>
<content type='text'>
	- use const where appropriate
	- use static where appropriate
	- use explicit checks checks for error conditions

Reviewed by:	sbruno
Approved by:	cperciva (mentor)
Obtained by:	DragonFlyBSD
</content>
</entry>
<entry>
<title>touch: Add the -d option from POSIX.1-2008.</title>
<updated>2012-06-10T14:26:51Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2012-06-10T14:26:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=587714504f363b38917b21d840283896a2b8a254'/>
<id>urn:sha1:587714504f363b38917b21d840283896a2b8a254</id>
<content type='text'>
This is much like -t but with a different format which is ISO8601-like and
allows fractions of a second.

The precision is limited to microseconds because of utimes() and friends,
even though stat() returns nanoseconds.

MFC after:	10 days
</content>
</entry>
<entry>
<title>Remove trailing whitespace per mdoc lint warning</title>
<updated>2012-03-29T05:02:12Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-03-29T05:02:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e'/>
<id>urn:sha1:50d675f7a9fca2f3fba3a23ac41a8ae2c0162e4e</id>
<content type='text'>
Disussed with:	gavin
No objection from:	doc
Approved by:	joel
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove useless and potentially dangerous rw() function which tries to</title>
<updated>2012-02-04T13:37:31Z</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2012-02-04T13:37:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=401c9fda42a465243e0816e882373e14c30c9df1'/>
<id>urn:sha1:401c9fda42a465243e0816e882373e14c30c9df1</id>
<content type='text'>
update access and modification times by reading and writing the file.
chmod(2) in rw() doesn't help because utimes(2) allow owner and the
super-user to change times. Using just utimes(2) should be sufficient.

The -f option becomes no-op.

Reviewed by:	jilles
</content>
</entry>
<entry>
<title>Remove the advertising clause from UCB copyrighted files in usr.bin.  This</title>
<updated>2010-12-11T08:32:16Z</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2010-12-11T08:32:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=da52b4caaf187775f6b56a72c6b16e94ad728f7b'/>
<id>urn:sha1:da52b4caaf187775f6b56a72c6b16e94ad728f7b</id>
<content type='text'>
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
</content>
</entry>
<entry>
<title>Change all our own code to use st_*tim instead of st_*timespec.</title>
<updated>2010-03-28T13:16:08Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-03-28T13:16:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=99742a231f9bc662d03fb37ee620500cc1b4a8a7'/>
<id>urn:sha1:99742a231f9bc662d03fb37ee620500cc1b4a8a7</id>
<content type='text'>
Also remove some local patches to diff(1) which are now unneeded.
</content>
</entry>
<entry>
<title>- If lstat()/stat() fails with an error other than ENOENT, don't ignore</title>
<updated>2009-10-16T20:52:45Z</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2009-10-16T20:52:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c64b097bfcfe8f6fd04d5a3b982ab65d9634dfd6'/>
<id>urn:sha1:c64b097bfcfe8f6fd04d5a3b982ab65d9634dfd6</id>
<content type='text'>
  the error and assume that the file doesn't exist. Touch could return
  success with -c option even if the file existed and time was not set.
- If the first utimes_f() call fails with -A option, give up and don't
  continue trying to set times to current time. [1]
- Set exit status to 1 when setting of timestamps fails for a directory
  or symbolic link even though lstat()/stat() would succeed.
- Don't print bogus error message when rw() succeeds.

PR:		bin/112213
Submitted by:	jilles [1]
Reviewed by:	jilles
Approved by:	trasz (mentor)
</content>
</entry>
<entry>
<title>Update to match revision 1.23 of touch.c.</title>
<updated>2007-04-10T07:24:47Z</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2007-04-10T07:24:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5abc1de43021a907c77a2f659e362d0c5637f08f'/>
<id>urn:sha1:5abc1de43021a907c77a2f659e362d0c5637f08f</id>
<content type='text'>
Clarify some details.
</content>
</entry>
<entry>
<title>Usage: print base name of program.</title>
<updated>2007-04-10T07:22:30Z</updated>
<author>
<name>Greg Lehey</name>
<email>grog@FreeBSD.org</email>
</author>
<published>2007-04-10T07:22:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b54381b5a8b599b282e968a5cded23d9ecd6957'/>
<id>urn:sha1:1b54381b5a8b599b282e968a5cded23d9ecd6957</id>
<content type='text'>
-A flag: respect the -a and -m flags.
	 imply the -c flag.

Requested in principle by: brian
</content>
</entry>
</feed>
