sscanf problem

m. michal017@SoftHome.net
Tue Jun 25 23:15:00 GMT 2002


I'm having problems with sscanf() on tru64 v5.1 osf1
when I do: sscanf(array,"%[^<]",whatever)
and the array contains more than 1024 chars different from '<' the sscanf() returns 1 but 'whatever' contains only 1024 chars..
I use gcc 3.0.4

the same example works correctly on linux gcc 2.96.. is it because of some tru64 limitation?
thanks
m.



More information about the Gcc-help mailing list