simX
11-10-2002, 01:48 AM
I have a program that does some parsing of some command line output. Under Mac OS X 10.2.x Jaguar, the parsing works as expected.
However, today I got a hold of my mom's iBook that runs Mac OS X 10.1.x, and the data that got parsed by an NSScanner is wrong in the same exact application – it's totally different strings that shouldn't be correct. Data that did not get parsed by an NSScanner and only by string methods are correct in my app under OS X 10.1.x.
So is the behavior of an NSScanner different under Jaguar and Mac OS X 10.1.x? If so, how can I fix it so that my app works under both version of Mac OS X?
Any help would be greatly appreciated.
However, today I got a hold of my mom's iBook that runs Mac OS X 10.1.x, and the data that got parsed by an NSScanner is wrong in the same exact application – it's totally different strings that shouldn't be correct. Data that did not get parsed by an NSScanner and only by string methods are correct in my app under OS X 10.1.x.
So is the behavior of an NSScanner different under Jaguar and Mac OS X 10.1.x? If so, how can I fix it so that my app works under both version of Mac OS X?
Any help would be greatly appreciated.