This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16651] New: Linux doesn't support STREAMS therefore we should define _XOPEN_STREAMS to -1.
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 03 Mar 2014 17:18:15 +0000
- Subject: [Bug libc/16651] New: Linux doesn't support STREAMS therefore we should define _XOPEN_STREAMS to -1.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16651
Bug ID: 16651
Summary: Linux doesn't support STREAMS therefore we should
define _XOPEN_STREAMS to -1.
Product: glibc
Version: 2.20
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: carlos at redhat dot com
CC: drepper.fsp at gmail dot com
Linux doesn't support STREAMS therefore we should define _XOPEN_STREAMS to -1.
e.g.
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
index 6ca0753..b175ed9 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -188,4 +188,8 @@
/* Typed memory objects are not available. */
#define _POSIX_TYPED_MEMORY_OBJECTS -1
+/* There is no STREAMS support in glibc for now and the mainstream Linux
kernel
+ doesn't have it either. */
+#define _XOPEN_STREAMS -1
+
#endif /* bits/posix_opt.h */
--
You are receiving this mail because:
You are on the CC list for the bug.