This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/16651] New: Linux doesn't support STREAMS therefore we should define _XOPEN_STREAMS to -1.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]