Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 16:00:49 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 155383 for review
Message-ID:  <200812281600.mBSG0nmx078127@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=155383

Change 155383 by rwatson@rwatson_lethe on 2008/12/28 16:00:31

	Prefer _GNU_SOURCE to _XOPEN_SOURCE since that has fewer side
	effects.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#31 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#31 (text+ko) ====

@@ -26,7 +26,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#30 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#31 $
  */
 
 /* 
@@ -40,9 +40,10 @@
  * XXX the records present within the file and between the files themselves
  */ 
 
-#define	_XOPEN_SOURCE		/* glibc 2 */
+#include <config/config.h>
+
+#define	_GNU_SOURCE		/* Required for strptime() on glibc2. */
 
-#include <config/config.h>
 #ifdef HAVE_FULL_QUEUE_H
 #include <sys/queue.h>
 #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812281600.mBSG0nmx078127>