aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-rw-r--r--csu/Versions2
-rw-r--r--elf/dl-load.c4
-rw-r--r--iconv/gconv_conf.c6
-rw-r--r--iconv/iconv_open.c15
-rw-r--r--io/ftw.c4
-rw-r--r--sunrpc/Versions3
7 files changed, 34 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 37c85c4..f4fa037 100644
--- 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.
diff --git a/csu/Versions b/csu/Versions
index c69503b..1e5a7bc 100644
--- a/csu/Versions
+++ b/csu/Versions
@@ -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;
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 3e5e291..cc3ac6e 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -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))
diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
index 307bf8a..ece6335 100644
--- a/iconv/gconv_conf.c
+++ b/iconv/gconv_conf.c
@@ -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))
diff --git a/iconv/iconv_open.c b/iconv/iconv_open.c
index 49576fd..51dcf0b 100644
--- a/iconv/iconv_open.c
+++ b/iconv/iconv_open.c
@@ -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);
diff --git a/io/ftw.c b/io/ftw.c
index e012ded..2d4a837 100644
--- 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')))
diff --git a/sunrpc/Versions b/sunrpc/Versions
index e1a74ae..21df89b 100644
--- a/sunrpc/Versions
+++ b/sunrpc/Versions
@@ -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;