* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: conf.c,v 1.16 2000-06-28 16:25:28 thib Exp $ */
+ /* $Id: conf.c,v 1.17 2000-06-29 21:12:22 thib Exp $ */
#include "fcron.h"
/* free last calloc : unused */
free(cl);
- if (fgets(buf, sizeof(buf), ff) == NULL ||
- strncmp(buf, "eof\n", sizeof("eof\n")) != 0)
- error("file '%s' is truncated : you should reinstall it", file_name);
+// if (fgets(buf, sizeof(buf), ff) == NULL ||
+// strncmp(buf, "eof\n", sizeof("eof\n")) != 0)
+// error("file '%s' is truncated : you should reinstall it", file_name);
fclose(ff);
}
- /* then, write the number of lines to permit to check if the file
- * is complete (i.e. fcron may has been interrupted during
- * save process */
- fprintf(f, "eof\n");
+// /* then, write the number of lines to permit to check if the file
+// * is complete (i.e. fcron may has been interrupted during
+// * save process */
+// fprintf(f, "eof\n");
fclose(f);
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fileconf.c,v 1.11 2000-06-28 14:01:05 thib Exp $ */
+ /* $Id: fileconf.c,v 1.12 2000-06-29 21:12:44 thib Exp $ */
#include "fcrontab.h"
}
}
- /* finally, write the number of lines to permit to check if the file
- * is complete (i.e. fcron may has been interrupted during
- * save process */
- fprintf(f, "eof\n");
+// /* finally, write the number of lines to permit to check if the file
+// * is complete (i.e. fcron may has been interrupted during
+// * save process */
+// fprintf(f, "eof\n");
fclose(f);