This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: FreeBSD port (19): localedef calling fopen("")
- From: Roland McGrath <roland at redhat dot com>
- To: Bruno Haible <bruno at clisp dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 04:34:22 -0700
- Subject: Re: FreeBSD port (19): localedef calling fopen("")
> The fix is to treat repertoire_read("") like repertoire_read(NULL).
This is a poor fix; it's easy to spot a fix likely to be a poor one when it
requires repeating a test in many places. I have put in a better fix that
avoids letting the bogon get where any of that code can see it.
Thanks,
Roland