]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-1-92 cvs/libc-960623 cvs/libc-960624 glibc-1.92
authorRoland McGrath <roland@gnu.org>
Sun, 23 Jun 1996 01:31:00 +0000 (01:31 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 23 Jun 1996 01:31:00 +0000 (01:31 +0000)
* Version 1.92 test release.

Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
to klogctl to match prototype in sys/klog.h.

* sysdeps/posix/libc_fatal.c: Add include of <string.h>.
* sysdeps/unix/sysv/linux/gethostid.c: Ditto.

* sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
Remove.  Code is now part of __getcwd again.  The old function
never really worked for anything but THISDIR==".".

* sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
only when building ELF version of library.

* libio/libioP.h (_IO_vscanf): Add prototype.

* posix/unistd.h (syscall): Change sysno arg and return value
to int long.

* version.h (VERSION): Updated to 1.92.

ChangeLog
README
configure
libio/libioP.h
posix/unistd.h
sysdeps/alpha/Makefile
sysdeps/posix/getcwd.c
sysdeps/posix/libc_fatal.c
sysdeps/unix/sysv/linux/gethostid.c
sysdeps/unix/sysv/linux/syscalls.list

index 7faf1cdbf5c2f8b4eb773e44a9d8a1558b155d0c..2459342127c947bb33ffeea33961dfd2b1287006 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,30 @@
+Sat Jun 22 21:29:52 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
+
+       * Version 1.92 test release.
+
+Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
+
+       * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
+       to klogctl to match prototype in sys/klog.h.
+
+       * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
+       * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
+
+       * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
+       Remove.  Code is now part of __getcwd again.  The old function
+       never really worked for anything but THISDIR==".".
+
+       * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
+       only when building ELF version of library.
+
+       * libio/libioP.h (_IO_vscanf): Add prototype.
+
+       * posix/unistd.h (syscall): Change sysno arg and return value
+       to int long.
+
 Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
-       * version.h (VERSION): Version 1.92 test release.
+       * version.h (VERSION): Updated to 1.92.
 
        * misc/Makefile (headers): Add ar.h.
        * misc/ar.h: New file.
diff --git a/README b/README
index 024b32fb8622c585a69c00fa80b00e8b19e0f048..6c4ab90d6bc304564a95cf7d786a309fd9c88a20 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-This directory contains the version 1.91 test release of the GNU C Library.
+This directory contains the version 1.92 test release of the GNU C Library.
 Many bugs have been fixed since the last release.
 Some bugs surely remain.
 
@@ -38,7 +38,7 @@ provides the Unix `crypt' function, plus some other entry points.
 Because of the United States export restriction on DES implementations,
 we are distributing this code separately from the rest of the C
 library.  There is an extra distribution tar file just for crypt; it is
-called `glibc-1.91-crypt.tar.gz'.  You can just unpack the crypt
+called `glibc-1.92-crypt.tar.gz'.  You can just unpack the crypt
 distribution along with the rest of the C library and build; you can
 also build the library without getting crypt.  Users outside the USA
 can get the crypt distribution via anonymous FTP from ftp.uni-c.dk
index f5626ca5c190679a1045b81fb4d9974e2452fffe..25586ff080a54e3d4ca8da8f4de935b4bad7f68b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1077,7 +1077,7 @@ fi
 
 
 
-if $host != $build; then
+if test $host != $build; then
   # Extract the first word of "gcc cc", so it can be a program name with args.
 set dummy gcc cc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
index 173e75b86f8f1b5e5a6bcfa0d924b67c062fee79..8525b718277697e7985c8c98fe16e6069e17bfdd 100644 (file)
@@ -308,6 +308,7 @@ extern _IO_ssize_t _IO_write __P((int, const void*, _IO_size_t));
 extern _IO_off_t _IO_lseek __P((int, _IO_off_t, int));
 extern int _IO_close __P((int));
 extern int _IO_fstat __P((int, struct stat *));
+extern int _IO_vscanf __P((const char *, _IO_va_list));
 
 /* Operations on _IO_fpos_t.
    Normally, these are trivial, but we provide hooks for configurations
index 8c8a48842bb0855e1b8c2b6563e640a89f479533..1e35ea039267d083ba4c739a1e4c0b98c632f711 100644 (file)
@@ -723,7 +723,7 @@ extern __ptr_t sbrk __P ((ptrdiff_t __delta));
 
    In Mach, all system calls take normal arguments and always return an
    error code (zero for success).  */
-extern int syscall __P ((int __sysno, ...));
+extern long int syscall __P ((long int __sysno, ...));
 
 #endif /* Use misc.  */
 
index a9f12d13965225795060a253ddb1e97bfa947128..6aaedea6fbdd53fcbf7a203aac5f6c9234eb6180 100644 (file)
@@ -30,7 +30,9 @@ endif # gnulib
 
 ifeq ($(subdir),elf)
 # The ld.so code cannot use literals until it self-relocates.
+ ifeq ($(elf),yes)
 CFLAGS-rtld.c = -mbuild-constants
+ endif
 # The rest of ld.so shouldn't use FP regs for block moves so
 # that the lazy link trampoline doesn't have to save them.
 sysdep-CFLAGS += -mno-fp-regs
index 05f626f869dee6b61729e296c1b6c6b69f94dd17..af858a26439f121199ce80704a17f0b2e799628b 100644 (file)
@@ -180,15 +180,18 @@ extern char *alloca ();
 #define        __lstat stat
 #endif
 \f
-/* Get the canonical absolute name of the named directory, and put it in SIZE
+#ifndef _LIBC
+#define __getcwd getcwd
+#endif
+
+/* Get the pathname of the current working directory, and put it in SIZE
    bytes of BUF.  Returns NULL if the directory couldn't be determined or
    SIZE was too small.  If successful, returns BUF.  In GNU, if BUF is
    NULL, an array is allocated with `malloc'; the array is SIZE bytes long,
    unless SIZE <= 0, in which case it is as big as necessary.  */
 
 char *
-__canonicalize_directory_name_internal (thisdir, buf, size)
-     const char *thisdir;
+__getcwd (buf, size)
      char *buf;
      size_t size;
 {
@@ -227,7 +230,7 @@ __canonicalize_directory_name_internal (thisdir, buf, size)
   pathp = path + size;
   *--pathp = '\0';
 
-  if (__lstat (thisdir, &st) < 0)
+  if (__lstat (".", &st) < 0)
     return NULL;
   thisdev = st.st_dev;
   thisino = st.st_ino;
@@ -366,24 +369,6 @@ __canonicalize_directory_name_internal (thisdir, buf, size)
     free ((__ptr_t) dotlist);
   return NULL;
 }
-\f
-/* Get the pathname of the current working directory, and put it in SIZE
-   bytes of BUF.  Returns NULL if the directory couldn't be determined or
-   SIZE was too small.  If successful, returns BUF.  In GNU, if BUF is
-   NULL, an array is allocated with `malloc'; the array is SIZE bytes long,
-   unless SIZE <= 0, in which case it is as big as necessary.  */
-
-#ifndef _LIBC
-#define __getcwd getcwd
-#endif
-
-char *
-__getcwd (buf, size)
-     char *buf;
-     size_t size;
-{
-  return __canonicalize_directory_name_internal (".", buf, size);
-}
 
 #ifdef _LIBC
 weak_alias (__getcwd, getcwd)
index 5539516733ef582f30b34f81801538ee3b64f1fa..22f6c4cd43ad45a0c9ad61c329bb4a6dcee402db 100644 (file)
@@ -21,6 +21,7 @@ Cambridge, MA 02139, USA.  */
 #include <unistd.h>
 #include <errno.h>
 #include <sysdep.h>
+#include <string.h>
 
 #ifdef FATAL_PREPARE_INCLUDE
 #include FATAL_PREPARE_INCLUDE
index 5fd25ba2e701e8b7a47487a13bfe20af0f926151..2883441c5bc0d29e35aac1066b447163a3eea503 100644 (file)
@@ -49,6 +49,7 @@ sethostid (id)
 }
 
 #else
+# include <string.h>
 # include <sys/param.h>
 # include <resolv/netdb.h>
 # include <netinet/in.h>
index e57acc8161f072f9876cc6e03b763196340a3751..317dec23fe7cbafe85a475188355539cb326d813 100644 (file)
@@ -49,7 +49,7 @@ sigprocmask   -       sigprocmask     3       __sigprocmask   sigprocmask
 s_sysctl       sysctl  _sysctl         1       __syscall__sysctl
 sysinfo                -       sysinfo         1       sysinfo
 swapon         -       swapon          2       swapon
-ksyslog_ctl    -       syslog          3       ksyslog_ctl
+klogctl                -       syslog          3       klogctl
 umount         -       umount          1       __umount        umount
 uselib         -       uselib          1       uselib
 wait4          -       wait4           4       __wait4         wait4