aboutsummaryrefslogtreecommitdiff
path: root/string/argz-ctsep.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-02-11 04:45:23 +0000
committerUlrich Drepper <drepper@redhat.com>1997-02-11 04:45:23 +0000
commit00de59a632eecc23a5eb1ddbadb8a770cd481f43 (patch)
tree294dd1ff7c4394efd3fa17639e9d4e269c68d2c1 /string/argz-ctsep.c
parent7cc27f440c2f709fda63af7ecb3747deeeb799f0 (diff)
downloadglibc-00de59a632eecc23a5eb1ddbadb8a770cd481f43.tar
glibc-00de59a632eecc23a5eb1ddbadb8a770cd481f43.tar.gz
glibc-00de59a632eecc23a5eb1ddbadb8a770cd481f43.tar.bz2
glibc-00de59a632eecc23a5eb1ddbadb8a770cd481f43.zip
update from main archive 970210cvs/libc-970212cvs/libc-970211
1997-02-11 05:27 Ulrich Drepper <drepper@cygnus.com> * locale/weight.h (collate_rules): It's an u_int32_t array. (get_weight): Compute initial SLOT value correctly. 1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com> * string/argz-ctsep.c: Initialize *LEN when successful. * libio/vsnprintf.c: If MAXLEN is 0 return 0. * stdio/vsnprintf.c: Likewise. Reported by Philip Blundell <pjb27@cam.ac.uk>. 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * rellns-sh: No need to check for existance of first parameter.
Diffstat (limited to 'string/argz-ctsep.c')
-rw-r--r--string/argz-ctsep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/string/argz-ctsep.c b/string/argz-ctsep.c
index 461b9beb87..f21572459f 100644
--- a/string/argz-ctsep.c
+++ b/string/argz-ctsep.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996.
@@ -57,6 +57,8 @@ __argz_create_sep (const char *string, int delim, char **argz, size_t *len)
*argz = NULL;
*len = 0;
}
+
+ *len = nlen;
}
else
{