1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and

ENOTRECOVERABLE if not already defined.
This commit is contained in:
Ulrich Drepper
2005-12-24 20:07:27 +00:00
parent dcc73a8dda
commit 9333ed0d58
4 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-12-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
ENOTRECOVERABLE if not already defined.
2005-12-23 Ulrich Drepper <drepper@redhat.com> 2005-12-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1566] [BZ #1566]

View File

@ -1,3 +1,7 @@
2005-12-24 Ulrich Drepper <drepper@redhat.com>
* version.c: Update cpoyright year.
2005-12-23 Ulrich Drepper <drepper@redhat.com> 2005-12-23 Ulrich Drepper <drepper@redhat.com>
* pthread_mutex_destroy.c: Set mutex type to an invalid value. * pthread_mutex_destroy.c: Set mutex type to an invalid value.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. /* Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@ -23,7 +23,7 @@
static const char banner[] = static const char banner[] =
#include "banner.h" #include "banner.h"
"Copyright (C) 2003 Free Software Foundation, Inc.\n\ "Copyright (C) 2005 Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions.\n\ This is free software; see the source for copying conditions.\n\
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n\ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n\
PARTICULAR PURPOSE.\n" PARTICULAR PURPOSE.\n"

View File

@ -1,5 +1,5 @@
/* Error constants. Linux specific version. /* Error constants. Linux specific version.
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Copyright (C) 1996, 1997, 1998, 1999, 2005 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
@ -27,12 +27,17 @@
/* Linux has no ENOTSUP error code. */ /* Linux has no ENOTSUP error code. */
# define ENOTSUP EOPNOTSUPP # define ENOTSUP EOPNOTSUPP
/* Linux also had no ECANCELED error code. Since it is not used here /* Older Linux versions also had no ECANCELED error code. */
we define it to an invalid value. */
# ifndef ECANCELED # ifndef ECANCELED
# define ECANCELED 125 # define ECANCELED 125
# endif # endif
/* Support for error codes to support robust mutexes was added later, too. */
# ifndef EOWNERDEAD
# define EOWNERDEAD 130
# define ENOTRECOVERABLE 131
# endif
# ifndef __ASSEMBLER__ # ifndef __ASSEMBLER__
/* Function to get address of global `errno' variable. */ /* Function to get address of global `errno' variable. */
extern int *__errno_location (void) __THROW __attribute__ ((__const__)); extern int *__errno_location (void) __THROW __attribute__ ((__const__));