* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: config.h.in,v 1.18 2000-09-13 15:39:08 thib Exp $ */
+ /* $Id: config.h.in,v 1.19 2000-09-15 20:18:13 thib Exp $ */
/* *********************************************************** */
/* ****************************************************************** */
/* *** options which are set by configure script ******************** */
-#undef VERSION
+#undef VERSION_QUOTED
/* *** paths *** */
#undef ETC
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.c,v 1.28 2000-09-13 15:45:14 thib Exp $ */
+ /* $Id: fcron.c,v 1.29 2000-09-15 20:17:07 thib Exp $ */
#include "fcron.h"
-char rcs_info[] = "$Id: fcron.c,v 1.28 2000-09-13 15:45:14 thib Exp $";
+char rcs_info[] = "$Id: fcron.c,v 1.29 2000-09-15 20:17:07 thib Exp $";
void main_loop(void);
void check_signal(void);
* version, license */
{
fprintf(stderr,
- "fcron " VERSION " - periodic command scheduler\n"
+ "fcron " VERSION_QUOTED " - periodic command scheduler\n"
"Copyright 2000 Thibault Godouet <fcron@free.fr>\n"
"This program is free software distributed WITHOUT ANY WARRANTY.\n"
"See the GNU General Public License for more details.\n"
usage()
/* print a help message about command line options and exit */
{
- fprintf(stderr, "\nfcron " VERSION "\n\n"
+ fprintf(stderr, "\nfcron " VERSION_QUOTED "\n\n"
"fcron [-d] [-f] [-b]\n"
"fcron -h\n"
" -d --debug Set Debug mode.\n"
break;
default:
/* parent */
- printf("\n%s[%d] " VERSION " : started.\n\n",
+ printf("\n%s[%d] " VERSION_QUOTED " : started.\n\n",
prog_name, pid);
exit(0);
* is running, otherwise update value of pid in lock file */
get_lock();
- explain("%s[%d] " VERSION " started", prog_name, daemon_pid);
+ explain("%s[%d] " VERSION_QUOTED " started", prog_name, daemon_pid);
signal(SIGTERM, sigterm_handler);
signal(SIGHUP, sighup_handler);
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcrontab.c,v 1.15 2000-09-15 19:49:24 thib Exp $ */
+ /* $Id: fcrontab.c,v 1.16 2000-09-15 20:17:12 thib Exp $ */
/*
* The goal of this program is simple : giving a user interface to fcron
#include "fcrontab.h"
-char rcs_info[] = "$Id: fcrontab.c,v 1.15 2000-09-15 19:49:24 thib Exp $";
+char rcs_info[] = "$Id: fcrontab.c,v 1.16 2000-09-15 20:17:12 thib Exp $";
void info(void);
void usage(void);
* version, license */
{
fprintf(stderr,
- "fcrontab " VERSION " - user interface to daemon fcron\n"
+ "fcrontab " VERSION_QUOTED " - user interface to daemon fcron\n"
"Copyright 2000 Thibault Godouet <fcron@free.fr>\n"
"This program is free software distributed WITHOUT ANY WARRANTY.\n"
"See the GNU General Public License for more details.\n"