This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11046] New: Wrong kernel version check at __ptsname_internal
- From: "herton at mandriva dot com dot br" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Dec 2009 04:08:12 -0000
- Subject: [Bug libc/11046] New: Wrong kernel version check at __ptsname_internal
- Reply-to: sourceware-bugzilla at sourceware dot org
The commit e2c59de in git repository added a check for old BSD pseudo terminals.
Looks like the check added was inverted, instead of:
#if __LINUX_KERNEL_VERSION >= 131443
should be:
#if __LINUX_KERNEL_VERSION < 131443
at sysdeps/unix/sysv/linux/ptsname.c:131
Also may be the MASTER_P macro should be revisited too and changed accordingly
kernel version?
--
Summary: Wrong kernel version check at __ptsname_internal
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: herton at mandriva dot com dot br
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11046
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.