]> andersk Git - splint.git/blame - test/fileio.expect
noexpand always false.
[splint.git] / test / fileio.expect
CommitLineData
60eced23 1
2filerw.c: (in function f)
3filerw.c:6:14: Invalid transfer from rw_write f2 to rw_read (Must reset file
0bf5022d 4 between write and read.): fgetc(..., f2, ...)
5 filerw.c:1:72: f2 becomes rw_write
53a89507 6 filerw.xh:3:38: f1 becomes rw_read
60eced23 7filerw.c:8:22: Invalid transfer from rw_read f1 to rw_write (Must reset file
0bf5022d 8 between read and write.): fputc(..., f1, ...)
9 filerw.c:1:39: f1 becomes rw_read
53a89507 10 filerw.xh:4:44: f1 becomes rw_write
60eced23 11filerw.c:12:14: Invalid transfer from rw_write f1 to rw_read (Must reset file
0bf5022d 12 between write and read.): fgetc(..., f1, ...)
13 filerw.c:10:22: f1 becomes rw_write
53a89507 14 filerw.xh:3:38: f1 becomes rw_read
60eced23 15
11db3170 16Finished checking --- 3 code warnings, as expected
b7e84605 17
18file.c: (in function f)
19file.c:14:5: Control branches merge with incompatible states for fout (closed
20 and open)
21 file.c:3:27: fout becomes implicitly open
22 file.c:13:14: fout becomes closed
23file.c:23:5: Control branches merge with incompatible states for fin (closed
24 and open)
25 file.c:3:16: fin becomes implicitly open
26 file.c:22:14: fin becomes closed
27file.c:25:10: Variable res used before definition
28
11db3170 29Finished checking --- 3 code warnings, as expected
b7e84605 30
11db3170 31Finished checking --- no warnings
This page took 0.318407 seconds and 5 git commands to generate.