svn commit: r227341 - head/sys/sys

John Baldwin jhb at FreeBSD.org
Tue Nov 8 14:47:29 UTC 2011


Author: jhb
Date: Tue Nov  8 14:47:28 2011
New Revision: 227341
URL: http://svn.freebsd.org/changeset/base/227341

Log:
  Claim that _POSIX_ADVISORY_INFO is fully supported since posix_fadvise()
  was added.
  
  Submitted by:	avilla
  Discussed with:	wollman

Modified:
  head/sys/sys/unistd.h

Modified: head/sys/sys/unistd.h
==============================================================================
--- head/sys/sys/unistd.h	Tue Nov  8 14:46:03 2011	(r227340)
+++ head/sys/sys/unistd.h	Tue Nov  8 14:47:28 2011	(r227341)
@@ -49,7 +49,7 @@
  * the POSIX standard; however, if the relevant sysconf() function
  * returns -1, the functions may be stubbed out.
  */
-#define	_POSIX_ADVISORY_INFO		-1
+#define	_POSIX_ADVISORY_INFO		200112L
 #define	_POSIX_ASYNCHRONOUS_IO		0
 #define	_POSIX_CHOWN_RESTRICTED		1
 #define	_POSIX_CLOCK_SELECTION		-1


More information about the svn-src-all mailing list