kern/132209: [PATCH] Fix typo in sys/cdefs.h

Mel mel at rachie.is-a-geek.net
Sat Feb 28 16:40:04 PST 2009


>Number:         132209
>Category:       kern
>Synopsis:       [PATCH] Fix typo in sys/cdefs.h
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 01 00:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD squish.rachie.is-a-geek.net 7.1-STABLE FreeBSD 7.1-STABLE #7: Sun Feb  8 17:45:44 AKST 2009     root at squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-ICHSMB  i386


	
>Description:
SVN commit 189134 on sys/sys/cdefs.h contained a typo, making several posix
functions unavailable.

>How-To-Repeat:
Detected by trying to compile lang/python26 and wondering where my lstat
went.
>Fix:

--- patch-sys::sys::cdefs.h begins here ---
Index: sys/sys/cdefs.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/cdefs.h,v
retrieving revision 1.98
diff -u -r1.98 cdefs.h
--- sys/sys/cdefs.h	28 Feb 2009 05:24:05 -0000	1.98
+++ sys/sys/cdefs.h	1 Mar 2009 00:27:27 -0000
@@ -521,7 +521,7 @@
 #if _POSIX_C_SOURCE >= 200809
 #define	__POSIX_VISIBLE		200809
 #define	__ISO_C_VISIBLE		1999
-#elif _POSIX_C_SOURCE >= 200121
+#elif _POSIX_C_SOURCE >= 200112
 #define	__POSIX_VISIBLE		200112
 #define	__ISO_C_VISIBLE		1999
 #elif _POSIX_C_SOURCE >= 199506
--- patch-sys::sys::cdefs.h ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list