lkml.org 
[lkml]   [2014]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug in sscanf()?
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;


\
 
 \ /
  Last update: 2014-01-14 04:21    [W:0.069 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site