[FFmpeg-devel] [PATCH] configure's to_lower and to_upper fix on *bsd
Tue Feb 12 00:25:01 CET 2008
On Mon, Feb 11, 2008 at 10:51:55PM +0000, M?ns Rullg?rd wrote:
> Rich Felker <dalias at aerifal.cx> writes:
> > On Mon, Feb 11, 2008 at 10:01:04PM +0000, M?ns Rullg?rd wrote:
> >> Pierre d'Herbemont <pdherbemont at free.fr> writes:
> >> > Hi,
> >> >
> >> > here, on Mac OS X, (should be a BSD issue):
> >> > $ echo "hello z" | tr '[a-z]' '[A-Z]'
> >> > HELLO ]
> >> Unable to reproduce on Linux/glibc or OSX, even using a French
> >> locale. Do you have some very unusual settings? Could you please
> >> post the output of the "env" command?
> > The inability to reproduce a bug is irrelevant when the cause of the
> > bug is reliance on unspecified/undefined behavior.
> True, but I'd still like to understand what's going on.
Range expressions simply have unspecified behavior except in the POSIX
locale. Actually, for the purposes of tr, range expressions with octal
escapes are well-defined, so that \101-\132 and \141-\172 would be
More information about the ffmpeg-devel