mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
2003-08-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error into EINVAL.
This commit is contained in:
parent
fd82139fa5
commit
ee4e5a3db1
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error
|
||||||
|
into EINVAL.
|
||||||
|
|
||||||
2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
|
2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
|
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
|
||||||
|
_POSIX_THREAD_PRIORITY_SCHEDULING.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
|
||||||
|
|
||||||
2003-08-07 Jakub Jelinek <jakub@redhat.com>
|
2003-08-07 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/pthread/bits/libc-lock.h [_LIBC && SHARED]
|
* sysdeps/pthread/bits/libc-lock.h [_LIBC && SHARED]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
|
/* Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -181,6 +181,11 @@ shm_open (const char *name, int oflag, mode_t mode)
|
|||||||
__set_errno (save_errno);
|
__set_errno (save_errno);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (__builtin_expect (errno == EISDIR, 0))
|
||||||
|
/* It might be better to fold this error with EINVAL since
|
||||||
|
directory names are just another example for unsuitable shared
|
||||||
|
object names and the standard does not mention EISDIR. */
|
||||||
|
__set_errno (EINVAL);
|
||||||
|
|
||||||
return fd;
|
return fd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user