Bug#668581: gcc-4.6: scanf() wrong read on 08 09 integers

2012-04-13 Thread Gabriel Paubert
On Fri, Apr 13, 2012 at 09:59:11AM +0300, Teodor wrote: > Package: gcc-4.6 > Version: 4.6.3-3 > Severity: normal > > Hi, > > I was debugging a more complex problem and noticed that not all > input values were read. Further inspection showed that input > integers "08" and "09" (read from a file) w

Bug#668581: gcc-4.6: scanf() wrong read on 08 09 integers

2012-04-13 Thread Teodor
Package: gcc-4.6 Version: 4.6.3-3 Severity: normal Hi, I was debugging a more complex problem and noticed that not all input values were read. Further inspection showed that input integers "08" and "09" (read from a file) were not correctly recognised by fscanf() as two integers (8 and 9) but as