<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/fsync/fsync.c, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-01-26T15:17:25Z</updated>
<entry>
<title>Correct some style nits that I have mistakenly submitted as</title>
<updated>2005-01-26T15:17:25Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-01-26T15:17:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=39aa7c9d16179a8acb5cd0a1bad3d5b7849cf92f'/>
<id>urn:sha1:39aa7c9d16179a8acb5cd0a1bad3d5b7849cf92f</id>
<content type='text'>
suggestions which result in the last revision[*]:
	- style(9) and sysexits(3) suggests that we use EX_*
	  as exit values, instead of some other values like
	  those returned from a system call as errno.

Additionally, follow Ruslan's suggestion about style(9) and
other style improvements:
	- Since open(2) says that it returns -1 on errors,
	  explicitly determine whether it is returning -1
	  rather than whether the return value is less than
	  zero.
	- Only set rval when there is no previous error.
	  This distinguishes the first error that occours.
	- Use exit() in favor of return in main(), this is
	  suggested in old style(9), while the evolve has
	  fade the suggestion.
	- Add some NOTREACHED comments.
	- Add blank line after first { because no local variables
	  in usage()

Thanks to Ruslan for his tireless explaining of the code standards
and knowledge of the history of style(9).

[*] Pointy hat to:	me

Submitted by:	ru (with some minor changes)
Discussed with:	ru, ssouhlal
</content>
</entry>
<entry>
<title>In case of error, return errno, instead of 1.</title>
<updated>2005-01-26T06:39:20Z</updated>
<author>
<name>Suleiman Souhlal</name>
<email>ssouhlal@FreeBSD.org</email>
</author>
<published>2005-01-26T06:39:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=379b60989ad02fccdb8c87dfbbabde04435de5c9'/>
<id>urn:sha1:379b60989ad02fccdb8c87dfbbabde04435de5c9</id>
<content type='text'>
Suggested by:	delphij
Reviewed by:	delphij
Approved by:	grehan (mentor)
</content>
</entry>
<entry>
<title>- Continue, in case of error.</title>
<updated>2005-01-25T14:12:01Z</updated>
<author>
<name>Suleiman Souhlal</name>
<email>ssouhlal@FreeBSD.org</email>
</author>
<published>2005-01-25T14:12:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5faa1a423fa987aca07480a534cc7785e39fd6a'/>
<id>urn:sha1:e5faa1a423fa987aca07480a534cc7785e39fd6a</id>
<content type='text'>
- Add WARNS?= 6

Submitted by:	Liam J. Foy &lt;liamfoy@gmail.com&gt;
Approved by:	stefanf, grehan (mentor)
</content>
</entry>
<entry>
<title>Consistently use FBSDID</title>
<updated>2002-06-30T05:25:07Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-06-30T05:25:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e026a48c34d396fe7d0e382673a69bc047c0bfca'/>
<id>urn:sha1:e026a48c34d396fe7d0e382673a69bc047c0bfca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include missing header files which define functions for which gcc has</title>
<updated>2001-06-24T19:41:18Z</updated>
<author>
<name>Dima Dorfman</name>
<email>dd@FreeBSD.org</email>
</author>
<published>2001-06-24T19:41:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=948a3f54a76846f76f78b9c712254e5b22df9fe2'/>
<id>urn:sha1:948a3f54a76846f76f78b9c712254e5b22df9fe2</id>
<content type='text'>
builtins (e.g., exit).

Submitted by:	Mike Barcroft &lt;mike@q9media.com&gt;
</content>
</entry>
<entry>
<title>Typos and spelling fixes.</title>
<updated>2000-07-24T20:35:19Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2000-07-24T20:35:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=176e82287390f22bdacaca7b0f87802df37826b0'/>
<id>urn:sha1:176e82287390f22bdacaca7b0f87802df37826b0</id>
<content type='text'>
Submitted by:	charnier
</content>
</entry>
<entry>
<title>Add fsync(8).  This becomes useful with the advent of MAP_NOSYNC etc.</title>
<updated>2000-07-19T08:38:18Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2000-07-19T08:38:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4aeb1c05fbe992cf7d9af2b316e897928efb207c'/>
<id>urn:sha1:4aeb1c05fbe992cf7d9af2b316e897928efb207c</id>
<content type='text'>
Reviewed by:	peter
</content>
</entry>
</feed>
