mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
Fix handling of missing syscall in Linux mkdirat.
This commit is contained in:
parent
451f001b50
commit
1086d70d91
@ -1,5 +1,9 @@
|
||||
2011-01-13 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
[BZ #12397]
|
||||
* sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
|
||||
syscall.
|
||||
|
||||
[BZ #10484]
|
||||
* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
|
||||
temporary buffer used to handle multi lookups locally.
|
||||
|
10
NEWS
10
NEWS
@ -10,9 +10,9 @@ Version 2.13
|
||||
* The following bugs are resolved with this release:
|
||||
|
||||
3268, 7066, 10085, 10484, 10851, 11149, 11155, 11611, 11640, 11655, 11701,
|
||||
11840, 11856, 11883, 11903, 11904, 11968, 11979, 12005, 12037,
|
||||
12067, 12077, 12078, 12092, 12093, 12107, 12108, 12113, 12140,
|
||||
12159, 12167, 12191, 12194, 12201, 12204, 12205, 12207, 12348, 12394
|
||||
11840, 11856, 11883, 11903, 11904, 11968, 11979, 12005, 12037, 12067,
|
||||
12077, 12078, 12092, 12093, 12107, 12108, 12113, 12140, 12159, 12167,
|
||||
12191, 12194, 12201, 12204, 12205, 12207, 12348, 12394, 12397
|
||||
|
||||
* New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
|
||||
|
||||
@ -1924,8 +1924,7 @@ Version 1.04
|
||||
----------------------------------------------------------------------
|
||||
Copyright information:
|
||||
|
||||
Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2005,2006
|
||||
Free Software Foundation, Inc.
|
||||
Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to anyone to make or distribute verbatim copies
|
||||
of this document as received, in any medium, provided that the
|
||||
@ -1939,4 +1938,5 @@ Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2005,2006
|
||||
|
||||
Local variables:
|
||||
version-control: never
|
||||
fill-column: 76
|
||||
End:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2005, 2006, 2009, 2011 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -43,7 +43,7 @@ mkdirat (fd, file, mode)
|
||||
{
|
||||
res = INLINE_SYSCALL (mkdirat, 3, fd, file, mode);
|
||||
# ifndef __ASSUME_ATFCTS
|
||||
if (res == -1 && res == ENOSYS)
|
||||
if (res == -1 && errno == ENOSYS)
|
||||
__have_atfcts = -1;
|
||||
else
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user