]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Mar 1998 22:04:32 +0000 (22:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Mar 1998 22:04:32 +0000 (22:04 +0000)
* db2/compat.h: Allow EFTYPE being defined.
* sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
* sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
* sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
* sysdeps/mach/bits/libc-lock.h: Fix typo.
(__libc_once): Correctly unlock semaphore.
* sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
* sysdeps/unix/bsd/getpt.c: Fix typo.
Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

ChangeLog
db2/compat.h
sysdeps/mach/bits/libc-lock.h
sysdeps/mach/hurd/bits/fcntl.h
sysdeps/mach/hurd/dl-sysdep.c
sysdeps/unix/bsd/bits/signum.h
sysdeps/unix/bsd/getpt.c
sysdeps/unix/bsd/ulimit.c

index b84da8ae878e7045c2150c873462862f7edf2142..8f9cdc80261fffe8ae063c27b689a35ba652262a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
+
+       * db2/compat.h: Allow EFTYPE being defined.
+       * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
+       * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
+       * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
+       * sysdeps/mach/bits/libc-lock.h: Fix typo.
+       (__libc_once): Correctly unlock semaphore.
+       * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
+       * sysdeps/unix/bsd/getpt.c: Fix typo.
+       Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
+
 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
index 5183befd606f93639402b744018b8335cfc0e421..8652ad97ecedc2c2e8ae32c7184951ed21afc4c5 100644 (file)
@@ -2,7 +2,9 @@
 
 #include <sys/types.h>
 
-#define EFTYPE EINVAL
+#ifndef EFTYPE
+# define EFTYPE EINVAL
+#endif
 
 /* Emulate Solaris llseek().  */
 typedef loff_t offset_t;
index 17eeefcdb583fbca2798b2e316c5c8b65a9bb962..acee2bf4051730dcccc83b5162b370678a16fcb9 100644 (file)
@@ -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
index 102c2a574f657756addd0c82e1b134b1092aa626..962e77208b8382a3498653495aee7eabcd83d217 100644 (file)
@@ -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;
index befd1120b490921bc98bc02baeb2428342db6e0a..7c936e9466533fa5e189f69c4d9e34dd75a9584f 100644 (file)
@@ -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>
index 775240fc051d6ea020e0adbaf1154b6639704cd4..9e2428c6b72942e2f51dbb2d3c05626ac26b5511 100644 (file)
@@ -1,5 +1,5 @@
 /* Signal number definitions.  BSD version.
-   Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1992, 1993, 1996, 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
 #define        SIG_DFL ((__sighandler_t) 0) /* Default action.  */
 #define        SIG_IGN ((__sighandler_t) 1) /* Ignore signal.  */
 
+#ifdef __USE_UNIX98
+# define SIG_HOLD      ((__sighandler_t) 2)    /* Add signal to hold mask.  */
+#endif
+
 
 /* Signals.  */
 #define        SIGHUP          1       /* Hangup (POSIX).  */
index cb47692fdd26df4da5c64be9fdfb5f38219d38f9..3bc34b181480ad95ac7f232d7b18d7b2167f84fa 100644 (file)
@@ -57,4 +57,4 @@ __getpt ()
   __set_errno (ENFILE);
   return -1;
 }
-weak_alias (getpt, __getpt)
+weak_alias (__getpt, getpt)
index 4a242efe1ced53dd1bfebcd211f7ab7a09df2f89..5fb3d4063eb802bf33b5e4eab0f1e6fd8680cf1e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 94, 96, 97, 98 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
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <sysdep.h>
+#include <ulimit.h>
 #include <unistd.h>
 #include <sys/resource.h>