AC_CONFIG_HEADER(config.h)
AC_PREREQ(2.7)
-vers="1.1.0"
+vers="1.1.1"
vers_quoted="\"$vers\""
AC_DEFINE_UNQUOTED(VERSION, $vers)
AC_DEFINE_UNQUOTED(VERSION_QUOTED, $vers_quoted)
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.c,v 1.43 2001-04-29 22:15:28 thib Exp $ */
+ /* $Id: fcron.c,v 1.44 2001-05-15 00:45:09 thib Exp $ */
#include "fcron.h"
-char rcs_info[] = "$Id: fcron.c,v 1.43 2001-04-29 22:15:28 thib Exp $";
+char rcs_info[] = "$Id: fcron.c,v 1.44 2001-05-15 00:45:09 thib Exp $";
void main_loop(void);
void check_signal(void);
char foreground = 0; /* set to 1 when we are on foreground, else 0 */
#endif
-char *cdir = FCRONTABS; /* the dir where are stored users' fcrontabs */
time_t save_time = SAVE;
/* process identity */
/* change directory */
- if (chdir(cdir) != 0)
+ if (chdir(FCRONTABS) != 0)
die_e("Could not change dir to " FCRONTABS);
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.h,v 1.20 2001-04-29 22:15:38 thib Exp $ */
+ /* $Id: fcron.h,v 1.21 2001-05-15 00:45:16 thib Exp $ */
-#ifndef __FCRONH__
-#define __FCRONH__
+#ifndef __FCRON_H__
+#define __FCRON_H__
#include "global.h"
#include "conf.h"
#include "job.h"
-#endif /* __FCRONH */
+#endif /* __FCRON_H */
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrontab.h,v 1.7 2001-04-29 22:14:29 thib Exp $ */
+ /* $Id: fcrontab.h,v 1.8 2001-05-15 00:44:51 thib Exp $ */
-#ifndef __FCRONTABH__
-#define __FCRONTABH__
+#ifndef __FCRONTAB_H__
+#define __FCRONTAB_H__
#include "global.h"
/* prototype definition */
-/* fileconf.c */
-extern int read_file(char *filename, char *user);
-extern void delete_file(const char *user_name);
-extern int save_file(char *path);
-
#include "log.h"
#include "subs.h"
#include "allow.h"
+#include "fileconf.h"
-#endif /* __FCRONTABH__ */
+#endif /* __FCRONTAB_H__ */
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: global.h,v 1.24 2001-04-21 08:47:26 thib Exp $ */
+ /* $Id: global.h,v 1.25 2001-05-15 00:45:55 thib Exp $ */
/*
Compilation's options are in config.h
*/
-#ifndef __GLOBALH__
-#define __GLOBALH__
+#ifndef __GLOBAL_H__
+#define __GLOBAL_H__
/* config.h must be included before every other includes
* (contains the compilation options) */
#define ERR -1
#define OK 0
+/* options for local functions */
+#define STD 0
/* macros */
#define Alloc(ptr, type) \
pid_t e_pid;
} exe;
-#endif /* __GLOBALH__ */
+#endif /* __GLOBAL_H__ */