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/11046] New: Wrong kernel version check at __ptsname_internal


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.


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