# HG changeset patch # User William Astle # Date 1374015885 21600 # Node ID 4051bc09da787f59504575c7f4295b3bbb86fc0f # Parent 95c941799c8e52684856d66229c194c7e132788e Fix absolute path handling on Windows Actually recognize lower case drive letters. Lower case letters include the range 'a' ... 'z', not 'a' ... 'A', the latter containing zero members as the test was previously implemented. diff -r 95c941799c8e -r 4051bc09da78 lwasm/input.c --- a/lwasm/input.c Thu Jun 13 22:17:36 2013 -0600 +++ b/lwasm/input.c Tue Jul 16 17:04:45 2013 -0600 @@ -93,7 +93,7 @@ return 0; if (s[1] != ':') return 0; - if ((s[0] >= 'A' && s[0] <= 'Z') || (s[0] >= 'a' && s[0] <= 'A')) + if ((s[0] >= 'A' && s[0] <= 'Z') || (s[0] >= 'a' && s[0] <= 'z')) return 1; return 0; #else