tcsh/tcsh-6.19.00-028-fix-wrong-ifdef.patch
David Kaspar [Dee'Kej] 9ccc6616d1 tcsh-6.19.00-028-fix-wrong-ifdef.patch
> Fix wrong ifdef (Corinna Vinschen)
2016-05-03 17:11:24 +02:00

26 lines
549 B
Diff

From 4c088bc70c83a89b213e5d803217d4bfa92bfbf5 Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Sat, 16 Apr 2016 14:08:14 +0000
Subject: [PATCH] Fix wrong ifdef (Corinna Vinschen)
---
sh.file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sh.file.c b/sh.file.c
index 3989d8a..a1d766d 100644
--- a/sh.file.c
+++ b/sh.file.c
@@ -564,7 +564,7 @@ again: /* search for matches */
}
if (looking_for_lognames) {
-#ifndef HAVE_GETPWENT
+#ifdef HAVE_GETPWENT
(void) endpwent();
#endif
} else
--
2.5.5