mallocsrc = $mallocsrc
mallocobj = $mallocobj
LNS = $lns
-CPS = $cp -f
+# NOTE: some systems don't grok "cp -f". XXX Configure test needed?
+CPS = $cp
RMS = rm -f
ranlib = $ranlib
return result;
}
+#if !defined(FFLUSH_NULL) && defined(HAS__FWALK)
+static int S_fflush(FILE *fp);
+
+static int
+S_fflush(FILE *fp)
+{
+ return fflush(fp);
+}
+#endif
+
I32
Perl_my_fflush_all(pTHX)
{
# if defined(HAS__FWALK)
/* undocumented, unprototyped, but very useful BSDism */
extern void _fwalk(int (*)(FILE *));
- _fwalk(&fflush);
+ _fwalk(&S_fflush);
return 0;
# else
long open_max = -1;