From eebd308d84d8b33b86a0e33e3cae823a242155e5 Mon Sep 17 00:00:00 2001 From: thib Date: Sat, 11 Jun 2005 22:49:41 +0000 Subject: [PATCH] *** empty log message *** --- configure.in | 2 +- doc/en/changes.sgml | 18 +++++++++++++++++- doc/en/todo.sgml | 11 ++++++++++- doc/fcron-doc.mod.in | 2 ++ socket.c | 4 ++-- 5 files changed, 32 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 652d17a..338c3e2 100644 --- a/configure.in +++ b/configure.in @@ -13,7 +13,7 @@ AC_PREFIX_DEFAULT($prefix) AC_CONFIG_HEADER(config.h) AC_PREREQ(2.57) -vers="2.9.6" +vers="2.9.7" vers_quoted="\"$vers\"" AC_DEFINE_UNQUOTED(VERSION, $vers) AC_DEFINE_UNQUOTED(VERSION_QUOTED, $vers_quoted) diff --git a/doc/en/changes.sgml b/doc/en/changes.sgml index ded3bbc..18be42c 100644 --- a/doc/en/changes.sgml +++ b/doc/en/changes.sgml @@ -8,11 +8,27 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Changes + + From version 2.9.6 to 2.9.7 + + Added time zone support (option timezone). + + + Better support FreeBSD's users and groups modifications in fcron's install scripts. + + + Fixed a bug which used to make fcron send empty mails on very recent systems. + + + Added some casts in fileconf.c and save.c (to avoid some warnings when compiling on HP-UX). + + + From version 2.9.5.1 to 2.9.6 diff --git a/doc/en/todo.sgml b/doc/en/todo.sgml index d47a419..d2717d4 100644 --- a/doc/en/todo.sgml +++ b/doc/en/todo.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Todo @@ -24,12 +24,18 @@ A copy of the license is included in gfdl.sgml. High priority + + test the fix for empty mails on non linux systems + NetBSD : bug from Gabor Z. Papp : fifo file created as fcron.fif instead of fcron.fifo ? bug fix : fcron freezes if the filesystem on which it operates has no space left ? (cannot reproduce it on my linux system) + + Add a FAQ entry to explain how to emulate an anacron entry (@volatile,first(xx) BIG-period /your/command + @@ -73,6 +79,9 @@ A copy of the license is included in gfdl.sgml. use readline (if available) for fcrondyn. + + add a mailsubject option, for custom mail subjects (for instance, in case of a job containing something secret -- password, etc -- in the command line). + diff --git a/doc/fcron-doc.mod.in b/doc/fcron-doc.mod.in index fa6e55e..7ab3083 100644 --- a/doc/fcron-doc.mod.in +++ b/doc/fcron-doc.mod.in @@ -87,5 +87,7 @@ serialonce'> stdout'> strict'> +timezone'> +tzdiff'> until'> volatile'> diff --git a/socket.c b/socket.c index 31a1272..8868326 100644 --- a/socket.c +++ b/socket.c @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: socket.c,v 1.17 2004-09-02 22:07:18 thib Exp $ */ + /* $Id: socket.c,v 1.18 2005-06-11 22:54:33 thib Exp $ */ /* This file contains all fcron's code (server) to handle communication with fcrondyn */ @@ -119,7 +119,7 @@ init_socket(void) addr.sun_path[sizeof(addr.sun_path) -1 ] = '\0'; unlink(fifofile); - if (bind(listen_fd, (struct sockaddr *) &addr, sizeof(addr.sun_family)+len) != 0) { + if (bind(listen_fd, (struct sockaddr*) &addr, sizeof(addr.sun_family)+len+1) != 0){ error_e("Cannot bind socket to '%s'", fifofile); goto err; } -- 2.40.0