Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 23 Jan 1999 09:43:49 +0000 (09:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 23 Jan 1999 09:43:49 +0000 (09:43 +0000)
1998-12-29  Geoff Keating  <geoffk@ozemail.com.au>

* sunrpc/Versions: Include _authenticate, it's defined in a user
header (in fact, it's the whole contents of rpc/svc_auth.h).

1999-01-23  Ulrich Drepper  <drepper@cygnus.com>

* io/ftw.c (process_entry): Initialize flag since not all gcc
versions are smart enough to see that this is no problem.

* elf/dl-open.c (_dl_init_paths): Check malloc result.

* csu/Versions: Add __frame_state_for.

ChangeLog
csu/Versions
elf/dl-load.c
iconv/gconv_conf.c
iconv/iconv_open.c
io/ftw.c
sunrpc/Versions

index 37c85c4..f4fa037 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+1998-12-29  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * sunrpc/Versions: Include _authenticate, it's defined in a user
+       header (in fact, it's the whole contents of rpc/svc_auth.h).
+
+1999-01-23  Ulrich Drepper  <drepper@cygnus.com>
+
+       * io/ftw.c (process_entry): Initialize flag since not all gcc
+       versions are smart enough to see that this is no problem.
+
+       * elf/dl-open.c (_dl_init_paths): Check malloc result.
+
+       * csu/Versions: Add __frame_state_for.
+
 1999-01-22  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP.
index c69503b..1e5a7bc 100644 (file)
@@ -8,7 +8,7 @@ libc {
 
     # Exception handling support functions from libgcc
     __register_frame; __register_frame_table; __deregister_frame;
-    __register_frame_info; __deregister_frame_info;
+    __register_frame_info; __deregister_frame_info; __frame_state_for;
 
     # variables in normal name space
     errno;
index 3e5e291..cc3ac6e 100644 (file)
@@ -1,5 +1,5 @@
 /* Map in a shared object's segments from the file.
-   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998, 1999 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
@@ -470,6 +470,8 @@ _dl_init_paths (const char *llp)
   /* First set up the rest of the default search directory entries.  */
   aelem = rtld_search_dirs = (struct r_search_path_elem **)
     malloc ((ncapstr + 1) * sizeof (struct r_search_path_elem *));
+  if (rtld_search_dirs == NULL)
+    _dl_signal_error (ENOMEM, NULL, "cannot create search path array");
 
   round_size = ((2 * sizeof (struct r_search_path_elem) - 1
                 + ncapstr * sizeof (enum r_dir_status))
index 307bf8a..ece6335 100644 (file)
@@ -177,12 +177,12 @@ add_alias (char *rp, void *modules)
     ++rp;
   from = wp = rp;
   while (*rp != '\0' && !isspace (*rp))
-    *wp = toupper (*rp++);
+    *wp++ = toupper (*rp++);
   if (*rp == '\0')
     /* There is no `to' string on the line.  Ignore it.  */
     return;
-  *rp++ = '\0';
-  to = wp = rp;
+  *wp++ = '\0';
+  to = ++rp;
   while (isspace (*rp))
     ++rp;
   while (*rp != '\0' && !isspace (*rp))
index 49576fd..51dcf0b 100644 (file)
@@ -53,12 +53,12 @@ strip (char *wp, const char *s)
 
 
 static char *
-upstr (char *str)
+upstr (char *dst, const char *str)
 {
-  char *cp = str;
-  while ((*cp = toupper (*cp)) != '\0')
-    ++cp;
-  return str;
+  char *cp = dst;
+  while ((*cp++ = toupper (*str++)) != '\0')
+    /* nothing */;
+  return dst;
 }
 
 
@@ -77,12 +77,13 @@ iconv_open (const char *tocode, const char *fromcode)
   tocode_len = strlen (tocode);
   tocode_conv = alloca (tocode_len + 3);
   strip (tocode_conv, tocode);
-  tocode = tocode_conv[2] == '\0' ? upstr (tocode) : tocode_conv;
+  tocode = tocode_conv[2] == '\0' ? upstr (tocode_conv, tocode) : tocode_conv;
 
   fromcode_len = strlen (fromcode);
   fromcode_conv = alloca (fromcode_len + 3);
   strip (fromcode_conv, fromcode);
-  fromcode = romcode_conv[2] == '\0' ? upstr (fromcode) : fromcode_conv;
+  fromcode = (fromcode_conv[2] == '\0'
+             ? upstr (fromcode_conv, fromcode) : fromcode_conv);
 
   res = __gconv_open (tocode, fromcode, &cd);
 
index e012ded..2d4a837 100644 (file)
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -1,5 +1,5 @@
 /* File tree walker functions.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -240,7 +240,7 @@ process_entry (struct ftw_data *data, struct dir_data *dir, const char *name,
 {
   struct STAT st;
   int result = 0;
-  int flag;
+  int flag = 0;
 
   if (name[0] == '.' && (name[1] == '\0'
                         || (name[1] == '.' && name[2] == '\0')))
index e1a74ae..21df89b 100644 (file)
@@ -55,6 +55,9 @@ libc {
     __key_decryptsession_pk_LOCAL; __key_encryptsession_pk_LOCAL;
     __key_gendes_LOCAL;
 
+    # _*
+    _authenticate;
+
     # a*
     authdes_create; authdes_getucred; authdes_pk_create;