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.
This commit is contained in:
Ulrich Drepper 2009-02-25 00:36:33 +00:00
parent 2310eff846
commit 67108e401f
2 changed files with 18 additions and 0 deletions

View File

@ -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]

View File

@ -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: