From 00de59a632eecc23a5eb1ddbadb8a770cd481f43 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 Feb 1997 04:45:23 +0000 Subject: update from main archive 970210 1997-02-11 05:27 Ulrich Drepper * 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 * 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 . 1997-02-06 13:49 Andreas Schwab * rellns-sh: No need to check for existance of first parameter. --- string/argz-ctsep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'string/argz-ctsep.c') 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 , 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 { -- cgit 1.4.1