* libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
typo in O_NDELAY comment.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2005-12-14  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix | ||||||
|  | 	typo in O_NDELAY comment. | ||||||
|  |  | ||||||
| 2005-12-13  Nathan Sidwell  <nathan@codesourcery.com> | 2005-12-13  Nathan Sidwell  <nathan@codesourcery.com> | ||||||
|  |  | ||||||
| 	* libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__. | 	* libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__. | ||||||
|   | |||||||
| @@ -37,9 +37,9 @@ extern "C" { | |||||||
| #define	O_CREAT		_FCREAT | #define	O_CREAT		_FCREAT | ||||||
| #define	O_TRUNC		_FTRUNC | #define	O_TRUNC		_FTRUNC | ||||||
| #define	O_EXCL		_FEXCL | #define	O_EXCL		_FEXCL | ||||||
| /*	O_SYNC		_FSYNC		not posix, defined below */ | #define O_SYNC		_FSYNC | ||||||
| /*	O_NDELAY	_FNDELAY 	set in include/fcntl.h */ | /*	O_NDELAY	_FNDELAY 	set in include/fcntl.h */ | ||||||
| /*	O_NDELAY	_FNBIO 		set in 5include/fcntl.h */ | /*	O_NDELAY	_FNBIO 		set in include/fcntl.h */ | ||||||
| #define	O_NONBLOCK	_FNONBLOCK | #define	O_NONBLOCK	_FNONBLOCK | ||||||
| #define	O_NOCTTY	_FNOCTTY | #define	O_NOCTTY	_FNOCTTY | ||||||
| /* For machines which care - */ | /* For machines which care - */ | ||||||
| @@ -68,8 +68,6 @@ extern "C" { | |||||||
|  |  | ||||||
| #ifndef	_POSIX_SOURCE | #ifndef	_POSIX_SOURCE | ||||||
|  |  | ||||||
| #define	O_SYNC		_FSYNC |  | ||||||
|  |  | ||||||
| /* | /* | ||||||
|  * Flags that work for fcntl(fd, F_SETFL, FXXXX) |  * Flags that work for fcntl(fd, F_SETFL, FXXXX) | ||||||
|  */ |  */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user