From 67108e401faade00a6aaf4e59b5b986345f1123f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 25 Feb 2009 00:36:33 +0000 Subject: [PATCH] .. 2009-02-24 Ulrich Drepper * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. --- ChangeLog | 8 ++++++++ sysdeps/posix/sysconf.c | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index 940dbaba7d..fcbcde888c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-02-24 Ulrich Drepper + + * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, + _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. + * sysdeps/posix/sysconf.c (__sysconf): Handle + _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, + _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. + 2009-02-24 Roland McGrath [BZ #9895] diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index f1d1ee4417..e734fdd9bd 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -1205,6 +1205,16 @@ __sysconf (name) return -1; #endif + case _SC_TRACE_EVENT_NAME_MAX: + case _SC_TRACE_NAME_MAX: + case _SC_TRACE_SYS_MAX: + case _SC_TRACE_USER_EVENT_MAX: + /* No support for tracing. */ + + case _SC_XOPEN_STREAMS: + /* No support for STREAMS. */ + return -1; + case _SC_LEVEL1_ICACHE_SIZE: case _SC_LEVEL1_ICACHE_ASSOC: case _SC_LEVEL1_ICACHE_LINESIZE: