You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink.patch

12 lines
326 B

--- a/src/cronoutils.c 2003-10-13 12:44:59.000000000 +0000
+++ b/src/cronoutils.c 2003-10-13 12:45:08.000000000 +0000
@@ -199,7 +199,7 @@
{
unlink(prevlinkname);
}
- if (stat(linkname, &stat_buf) == 0)
+ if (lstat(linkname, &stat_buf) == 0)
{
if (prevlinkname) {
rename(linkname, prevlinkname);