- Fix ENOSYS detection for mkdirat. [bso#12397]

OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=46
This commit is contained in:
Richard Biener 2011-01-28 14:54:41 +00:00 committed by Git OBS Bridge
parent cf5c9e2f72
commit 978b829750
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- sysdeps/unix/sysv/linux/mkdirat.c.orig 2011-01-28 15:50:00.000000000 +0100
+++ sysdeps/unix/sysv/linux/mkdirat.c 2011-01-28 15:51:42.000000000 +0100
@@ -43,7 +43,7 @@
{
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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 28 14:53:35 UTC 2011 - rguenther@novell.com
- Fix ENOSYS detection for mkdirat. [bso#12397]
-------------------------------------------------------------------
Thu Dec 9 12:33:35 UTC 2010 - rguenther@novell.com

View File

@ -142,6 +142,7 @@ Patch503: ARM_glibc-2.10.1-local-no-hwcap.diff
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=11155
Patch600: glibc-sparc64-fxstat.diff
Patch601: glibc-2.11.3-bnc658509.diff
Patch602: glibc-2.11.3-bso12397.diff
%description
The GNU C Library provides the most important standard libraries used
@ -364,6 +365,7 @@ rm nscd/s-stamp
%endif
%patch600 -p1
%patch601
%patch602
#
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
#