This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: glibc strftime.c bug: assumes subformats yield nonempty buffers
- To: Paul Eggert <eggert@twinsun.com>
- Subject: Re: glibc strftime.c bug: assumes subformats yield nonempty buffers
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 25 Sep 1998 22:01:15 -0700
- Cc: libc-alpha@cygnus.com
- References: <199809241751.LAA02366@wijiji.santafe.edu> <199809242054.NAA12113@shade.twinsun.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Paul Eggert <eggert@twinsun.com> writes:
> 1998-09-24 Paul Eggert <eggert@twinsun.com>
>
> * strftime.c (my_strftime): When asking for the length of the
> subformatted buffer, do not limit the length to look for;
> otherwise, we have no reliable way to distinguish between the
> empty buffer and an error.
Thanks, I've applied this.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------