Date: Mon, 22 May 2006 01:16:47 -0400
authorSam Lantinga <slouken@libsdl.org>
Tue, 23 May 2006 15:07:56 +0000
changeset 185621f13c787b46
parent 1855 5ff2c01e475e
child 1857 417f2af2bd52
Date: Mon, 22 May 2006 01:16:47 -0400
From: Mike Frysinger
Subject: [SDL] [patch] fix sed expression in sdl-config

just noticed that sdl-config uses '[a-z]' with sed in sdl-config without
forcing the locale to C ... this could cause problems with locales where the
letter 'z' is not the last letter in the alphabet
sdl-config.in
     1.1 --- a/sdl-config.in	Sun May 21 17:26:40 2006 +0000
     1.2 +++ b/sdl-config.in	Tue May 23 15:07:56 2006 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5  while test $# -gt 0; do
     1.6    case "$1" in
     1.7 -  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     1.8 +  -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;;
     1.9    *) optarg= ;;
    1.10    esac
    1.11