18 lines
262 B
Diff
18 lines
262 B
Diff
--- a/test/fpurge.c
|
|
+++ b/test/fpurge.c
|
|
@@ -29,15 +29,11 @@
|
|
int
|
|
main()
|
|
{
|
|
- static FILE fp_bad;
|
|
FILE *fp;
|
|
|
|
if (fpurge(NULL) == 0)
|
|
return 1;
|
|
|
|
- if (fpurge(&fp_bad) == 0)
|
|
- return 1;
|
|
-
|
|
fp = fopen("/dev/zero", "r");
|
|
if (fpurge(fp) < 0)
|
|
return 1;
|