X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexim_lock.c;h=363c1bc71d2a437ecb38cdbbce185a0306122946;hb=4f7a93c27e3d43b44c42d3fc503f03b9b42ca622;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..363c1bc71 100644 --- a/src/src/exim_lock.c +++ b/src/src/exim_lock.c @@ -10,7 +10,8 @@ Default is -fcntl -lockfile. Argument: the name of the lock file -Copyright (c) The Exim Maintainers 2016 +Copyright (c) The Exim Maintainers 2016 - 2021 +SPDX-License-Identifier: GPL-2.0-or-later */ #include "os.h" @@ -87,7 +88,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 +584,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];