repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated to fedora-glibc-20090509T2200
[glibc/history.git]
/
stdio-common
/
bug11.c
blob
c5af604e44e661f2d87b3a0ccfbb9c9b5776024c
1
#include <stdio.h>
2
#include <string.h>
3
4
int
5
main
(
int
argc
,
char
*
argv
[])
6
{
7
int
ret
;
8
char
buf
[
1024
] =
"Ooops"
;
9
10
ret
=
sscanf
(
"static char Term_bits[] = {"
,
"static char %s = {"
,
buf
);
11
printf
(
"ret: %d, name: %s
\n
"
,
ret
,
buf
);
12
13
return
strcmp
(
buf
,
"Term_bits[]"
) !=
0
||
ret
!=
1
;
14
}