* please see the file GPL in the top level source directory.
*/
-#include <errno.h>
-#include <ctype.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <unistd.h>
-
#include <lib-lib/lib-lib.h>
#include "unix.h"
trailing_dot = q[-1] == '.';
if (!trailing_dot || q > p + 1) {
m_strncpy(s, n, p, q - trailing_dot - p);
- safe_fclose(&f);
+ m_fclose(&f);
return 0;
}
}
}
- safe_fclose (&f);
+ m_fclose(&f);
return -1;
}