aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-25 00:36:33 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-25 00:36:33 +0000
commit67108e401faade00a6aaf4e59b5b986345f1123f (patch)
tree14536c48ee763c51dd9b48ebb0849cd49d5a2341
parent2310eff846e44b84fbb1f74280c845983b0450ab (diff)
downloadglibc-67108e401faade00a6aaf4e59b5b986345f1123f.zip
glibc-67108e401faade00a6aaf4e59b5b986345f1123f.tar.gz
glibc-67108e401faade00a6aaf4e59b5b986345f1123f.tar.bz2
..
2009-02-24 Ulrich Drepper <drepper@redhat.com> * 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.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/posix/sysconf.c10
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 940dbab..fcbcde8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-02-24 Ulrich Drepper <drepper@redhat.com>
+
+ * 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 <roland@redhat.com>
[BZ #9895]
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index f1d1ee4..e734fdd 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: