diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-03-14 15:44:14 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-03-14 15:44:15 +0100 |
commit | a0a0dc83173ce11ff45105fd32e5d14356cdfb9c (patch) | |
tree | 8487bfd04a8a2975c062be571379e02b994f2aa2 /sysdeps/posix | |
parent | 081bdf942126b7d4a368d09438a06fd831c14dad (diff) | |
download | glibc-a0a0dc83173ce11ff45105fd32e5d14356cdfb9c.tar.gz glibc-a0a0dc83173ce11ff45105fd32e5d14356cdfb9c.tar.xz glibc-a0a0dc83173ce11ff45105fd32e5d14356cdfb9c.zip |
Remove obsolete, never-implemented XSI STREAMS declarations
The stub implementations are turned into compat symbols. Linux actually has two reserved system call numbers (for getpmsg and putpmsg), but these system calls have never been implemented, and there are no plans to implement them, so this patch replaces the wrappers with the generic stubs. According to <https://bugzilla.redhat.com/show_bug.cgi?id=436349>, the presence of the XSI STREAMS declarations is a minor portability hazard because they are not actually implemented. This commit does not change the TIRPC support code in sunrpc/rpc_svcout.c. It uses additional XTI functionality and therefore never worked with glibc. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/sysconf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index c1929b312f..0c4f9432e8 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -1116,11 +1116,7 @@ __sysconf (int name) #endif case _SC_STREAMS: -#ifdef _XOPEN_STREAMS - return _XOPEN_STREAMS; -#else return -1; -#endif case _SC_HOST_NAME_MAX: #ifdef HOST_NAME_MAX |