git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPDX: license tags (mostly by guesswork)
[exim.git]
/
src
/
src
/
exim_lock.c
diff --git
a/src/src/exim_lock.c
b/src/src/exim_lock.c
index 068216816054e832085d9cb035daa8ae50f12ba8..1a54a92ada0cab27d2dc1e8efb7649ab616f4d1a 100644
(file)
--- 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
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-only
*/
#include "os.h"
*/
#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)
{
static void
sigalrm_handler(int sig)
{
-sig = sig; /* Keep picky compilers happy */
sigalrm_seen = TRUE;
}
sigalrm_seen = TRUE;
}
@@
-584,7
+584,7
@@
else
if (restore_times)
{
struct stat strestore;
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];
int fd = open(filename, O_RDWR); /* use fd for both get & restore */
struct timespec tt[2];