Module Name: src
Committed By: martin
Date: Sat Jun 1 10:17:12 UTC 2024
Modified Files:
src/usr.bin/gzip: gzip.c
Log Message:
Fix typo in previous
To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/usr.bin/gzip/gzip.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/gzip/gzip.c
diff -u src/usr.bin/gzip/gzip.c:1.126 src/usr.bin/gzip/gzip.c:1.127
--- src/usr.bin/gzip/gzip.c:1.126 Sat Jun 1 09:45:36 2024
+++ src/usr.bin/gzip/gzip.c Sat Jun 1 10:17:12 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: gzip.c,v 1.126 2024/06/01 09:45:36 tsutsui Exp $ */
+/* $NetBSD: gzip.c,v 1.127 2024/06/01 10:17:12 martin Exp $ */
/*
* Copyright (c) 1997-2024 Matthew R. Green
@@ -34,7 +34,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1997-2024 Matthew R. Green. "
"All rights reserved.");
-__RCSID("$NetBSD: gzip.c,v 1.126 2024/06/01 09:45:36 tsutsui Exp $");
+__RCSID("$NetBSD: gzip.c,v 1.127 2024/06/01 10:17:12 martin Exp $");
#endif /* not lint */
/*
@@ -1126,7 +1126,7 @@ copymodes(int fd, const struct stat *sbp
if (fchmod(fd, sb.st_mode) < 0)
maybe_warn("couldn't fchmod: %s", file);
-#ifdef !HAVE_NBTOOL_CONFIG_H
+#if !HAVE_NBTOOL_CONFIG_H
TIMESPEC_TO_TIMEVAL(×[0], &sb.st_atimespec);
TIMESPEC_TO_TIMEVAL(×[1], &sb.st_mtimespec);
if (futimes(fd, times) < 0)