diff options
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/bits/libc-lock.h | 6 | ||||
-rw-r--r-- | sysdeps/mach/hurd/bits/fcntl.h | 3 | ||||
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/sysdeps/mach/bits/libc-lock.h b/sysdeps/mach/bits/libc-lock.h index 17eeefcdb5..acee2bf405 100644 --- a/sysdeps/mach/bits/libc-lock.h +++ b/sysdeps/mach/bits/libc-lock.h @@ -1,5 +1,5 @@ /* libc-internal interface for mutex locks. Mach cthreads version. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 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 @@ -84,7 +84,7 @@ struct __libc_once }; #define __libc_once_define(CLASS,NAME) \ - CLASS struct __libc_once NAME = { MUTEX_INITIALZER, 0 } + CLASS struct __libc_once NAME = { MUTEX_INITIALIZER, 0 } /* Call handler iff the first call. */ @@ -94,7 +94,7 @@ struct __libc_once if (!ONCE_CONTROL.done) \ (INIT_FUNCTION) (); \ ONCE_CONTROL.done = 1; \ - __libc_lock_lock (ONCE_CONTROL.lock); \ + __libc_lock_unlock (ONCE_CONTROL.lock); \ } while (0) #ifdef _LIBC diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h index 102c2a574f..962e77208b 100644 --- a/sysdeps/mach/hurd/bits/fcntl.h +++ b/sysdeps/mach/hurd/bits/fcntl.h @@ -1,5 +1,5 @@ /* O_*, F_*, FD_* bit values for GNU. - Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1996, 1997, 1998 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 @@ -40,6 +40,7 @@ #define O_RDWR (O_RDONLY|O_WRONLY) /* Open for reading and writing. */ #define O_ACCMODE O_RDWR /* Mask for file access modes. */ +#define O_LARGEFILE 0 /* File name translation flags. These are understood by io servers; diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index befd1120b4..7c936e9466 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -1,5 +1,5 @@ /* Operating system support for run-time dynamic linker. Hurd version. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 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 @@ -23,6 +23,7 @@ #include <fcntl.h> #include <stdlib.h> #include <sys/mman.h> +#include <elf/ldsodefs.h> #include <sys/wait.h> #include <assert.h> #include <sysdep.h> |