Re: bug in sscanf()?

Al Viro
2014-01-14T02:52:36Z

On Tue, Jan 14, 2014 at 02:47:26AM +0000, Al Viro wrote:
> have now. Something like [completely untested]

And untested it certainly is - at least three missing breaks in there:

> case 'H':
> STORE(signed char, unsigned char);
> break;
> case 'h':
> STORE(short, unsigned short);
> break;
> case 'l':
> STORE(long, unsigned long);
break;
> case 'L':
> case 'j':
> STORE(long long, unsigned long long);
break;
> case 'z':
> case 'Z':
> STORE(long, size_t);
break;