X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexim_lock.c;h=dbdd971297583fc26daf6aca9e20fc6167742a26;hb=8f0d0a3138e138ffa6bcc94c8378f5eb22573f0e;hp=068216816054e832085d9cb035daa8ae50f12ba8;hpb=4fab92fbc2b63bac2d89c1dae69fa1845cb640b7;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exim_lock.c b/src/src/exim_lock.c index 068216816..dbdd97129 100644 --- a/src/src/exim_lock.c +++ b/src/src/exim_lock.c @@ -87,7 +87,6 @@ the other stuff in os.c, so force the other macros to omit it. */ static void sigalrm_handler(int sig) { -sig = sig; /* Keep picky compilers happy */ sigalrm_seen = TRUE; } @@ -584,7 +583,7 @@ else if (restore_times) { struct stat strestore; -#ifdef EXIM_HAVE_OPENAT +#ifdef EXIM_HAVE_FUTIMENS int fd = open(filename, O_RDWR); /* use fd for both get & restore */ struct timespec tt[2];