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/12397] New: mkdirat.c fallback code dead


http://sourceware.org/bugzilla/show_bug.cgi?id=12397

           Summary: mkdirat.c fallback code dead
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: matz@suse.de


Excerpt from sysdeps/unix/sysv/linux/mkdirat.c:
  if (res == -1 && res == ENOSYS)
    __have_atfcts = -1;
  else
    return res;

This should test 'errno == ENOSYS' like the other *at.c function.  It makes
a difference on old kernels not implementing mkdirat syscall, in that
the fallback code isn't entered.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]