[FFmpeg-devel] [PATCH] configure's to_lower and to_upper fix on *bsd
Fri Feb 8 19:55:39 CET 2008
On Fri, Feb 08, 2008 at 04:02:26PM +0100, Pierre d'Herbemont wrote:
> here, on Mac OS X, (should be a BSD issue):
My BSD man page clearly says: "i.e., the command ``tr [a-z] [A-Z]'' will
> $ echo "hello z" | tr '[a-z]' '[A-Z]'
> HELLO ]
And I can't see how this behaviour could make even remotely any sense.
Since we already work around Solaris it may be worth considering, but
normally I'd say such a serious bug is really something that should be
fixed on your system instead.
> This cause configure to generate a bad crafted config.h. Here is a fix
> for that, as suggested by the BSD tr's man page.
If this is a suggested replacement for our version it is just plain
In my man page this is only given as an example for lower to upper case
mapping. But this is _not_ what our version does, our version is
explicitly intended to map a->A, b->B etc. which is something different.
More information about the ffmpeg-devel