diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-12-11 01:00:20 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-12-11 01:00:20 +0000 |
commit | fb8e207814bc9e58a322215087c284950b18a141 (patch) | |
tree | 14515e5356e576af6695719e24db770f36685b97 /sysutils/cronolog/files/extrapatch-src_cronoutils.c | |
parent | 80c95baf7acff109ae59ffc8415d3a775d18010f (diff) | |
download | ports-fb8e207814bc9e58a322215087c284950b18a141.tar.gz ports-fb8e207814bc9e58a322215087c284950b18a141.zip |
Notes
Diffstat (limited to 'sysutils/cronolog/files/extrapatch-src_cronoutils.c')
-rw-r--r-- | sysutils/cronolog/files/extrapatch-src_cronoutils.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cronolog/files/extrapatch-src_cronoutils.c b/sysutils/cronolog/files/extrapatch-src_cronoutils.c new file mode 100644 index 000000000000..ec02a8ae8566 --- /dev/null +++ b/sysutils/cronolog/files/extrapatch-src_cronoutils.c @@ -0,0 +1,11 @@ +--- cronolog-1.6.2/src/cronoutils.c.orig Thu May 3 17:43:21 2001 ++++ cronolog-1.6.2/src/cronoutils.c Mon Dec 11 00:48:23 2006 +@@ -199,7 +199,7 @@ + { + unlink(prevlinkname); + } +- if (stat(linkname, &stat_buf) == 0) ++ if (lstat(linkname, &stat_buf) == 0) + { + if (prevlinkname) { + rename(linkname, prevlinkname); |