repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gencat: Get rid of alloca.
[glibc.git]
/
stdio-common
/
bug21.c
blob
1f06c0dab4b50e4f52fb7c18b11a1fcd85d8dd4d
1
#include <stdio.h>
2
3
static int
4
do_test
(
void
)
5
{
6
static const char
buf
[] =
" "
;
7
char
*
str
;
8
9
int
r
=
sscanf
(
buf
,
"%ms"
, &
str
);
10
printf
(
"%d %p
\n
"
,
r
,
str
);
11
12
return
r
!= -
1
||
str
!=
NULL
;
13
}
14
15
#define TEST_FUNCTION do_test ()
16
#include
"../test-skeleton.c"