From 02d908febff7831a45ce8607ee20c45ab0758733 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 23 May 2006 15:07:56 +0000 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl-config.in b/sdl-config.in index 95f4c9e8a..ef278fd6c 100644 --- a/sdl-config.in +++ b/sdl-config.in @@ -16,7 +16,7 @@ fi while test $# -gt 0; do case "$1" in - -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac