This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sscanf problem


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]