Subject: bug with cronolog using -S From: Victor Martinez Date: Tue, 25 Apr 2000 11:42:20 -0700 To: A.Ford@icarus.demon.co.uk Cronolog's creation of the symlink will fail if the file the old symlink is linked to has been removed. The fix for this is: "src/cronoutils.c" line 177 function create_link change if (stat(linkname, &stat_buf) == 0) { unlink(linkname); } to if (lstat(linkname, &stat_buf) == 0) { unlink(linkname); } The stat can fail if the file linked to does not exist.