On Fri, Sep 07, 2012 at 11:49:18PM +0900, Carsten Haitzler wrote: > On Fri, 7 Sep 2012 11:45:35 -0300 Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> said: > > > On Friday, September 7, 2012, Enlightenment SVN wrote: > > > > > Log: > > > vincent - try this on windows. > > > > > > If this fixes his problems, we may have a bug on windows code that > > GENERATES the string/array. The characters are stores in integers, yes, but > > for strings they should be in 0-255 > > i'm hunting it. this is an attempt to narrow down what exactly is causing it. > as such the array contains exactly the same bytes as in linux. now i'm > wondering by sign-extending the SIGNED char to an int, this causes the windows > is*() funcs to be different to linux. thus my little thing to avoid sign > extending. :)
Calling is*() with char is wrong, if the char can be outside 0..127. Some systems provide versions that warn about the misuse (e.g. NetBSD), some magically "fix" it (e.g. Linux). Joerg ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel