summaryrefslogtreecommitdiffstats
path: root/usr.bin/fsync
Commit message (Collapse)AuthorAgeFilesLines
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Correct some style nits that I have mistakenly submitted asdelphij2005-01-261-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Document the recent fsync(1) changes.ssouhlal2005-01-261-1/+6
| | | | | | Requested by: delphij Reviewed by: simon, ru Approved by: grehan (mentor)
* In case of error, return errno, instead of 1.ssouhlal2005-01-261-2/+3
| | | | | | Suggested by: delphij Reviewed by: delphij Approved by: grehan (mentor)
* - Continue, in case of error.ssouhlal2005-01-252-7/+15
| | | | | | | - Add WARNS?= 6 Submitted by: Liam J. Foy <liamfoy@gmail.com> Approved by: stefanf, grehan (mentor)
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* MFS: in HISTORY section, fix release number of first appearancesheldonh2001-08-011-1/+1
|
* Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$dd2001-06-301-0/+1
| | | | | | where necessary. Submitted by: Mike Barcroft <mike@q9media.com>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Avoid the need to capitalize an extraneous argument to the Nm macrosheldonh2000-07-241-5/+8
| | | | | | and be more precise about the handling of command-line arguments. Reviewed by: ps
* Typos and spelling fixes.ps2000-07-242-6/+9
| | | | Submitted by: charnier
* Oops. fsync(8) should have been fsync(1). (repo-copied by peter)ps2000-07-192-3/+2
| | | | Change reference from update(4) to syncer(4).
* Add fsync(8). This becomes useful with the advent of MAP_NOSYNC etc.ps2000-07-193-0/+123
Reviewed by: peter
OpenPOWER on IntegriCloud