mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-04 01:25:13 +02:00
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;
|