repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git]
/
memcheck
/
tests
/
darwin
/
bug437790.c
blob
ffb6b42fb06fb6bef20f3b8bc6a8c28d357d77f9
1
#include <stdio.h>
2
#include <string.h>
3
4
int
main
(
int
argc
,
char
*
argv
[])
5
{
6
char
strval
[
100
];
7
int
len
=
sprintf
(
strval
,
"%.7G"
,
10
.);
8
if
(
memchr
(
strval
,
'.'
,
len
))
9
printf
(
"IF len %d
\n
"
,
len
);
10
else
11
printf
(
"ELSE len %d
\n
"
,
len
);
12
}
13