repo.or.cz
/
splint-patched.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Some consistency changes to library & headers flags.
[splint-patched.git]
/
test
/
metastate
/
struct.c
blob
71ebf81e0dfd3d09a495b6d4f1f84350fa7123dc
1
typedef
struct
2
{
3
/*@only@*/
/*@open@*/
FILE
*
file
;
4
} *
source
;
5
6
void
source_badClose
(
source s
)
7
{
8
// free (s->file);
9
(
void
)
fclose
(
s
->
file
);
10
}
/* error - scope exits with file closed */