KO Myung-Hun wrote:
Ooops... typos at the beginning... s/OPENDIR/CLOSEDIR/g

And s/os2/os2*/, please...

Thanks, I installed the attached followup patch.
>From b64b4195d7e03e13dd0be025a637e4009e826d3e Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sun, 24 Jan 2016 14:13:41 -0800
Subject: [PATCH] closedir: fix OS/2-related typos

Problem reported by KO Myung-Hun in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00107.html
* m4/closedir.m4 (gl_FUNC_CLOSEDIR): Fix a couple of typos
in the last couple of changes.
---
 ChangeLog      | 8 ++++++++
 m4/closedir.m4 | 8 ++++----
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ea53713..fab0ffb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-01-24  Paul Eggert  <egg...@cs.ucla.edu>
+
+	closedir: fix OS/2-related typos
+	Problem reported by KO Myung-Hun in:
+	http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00107.html
+	* m4/closedir.m4 (gl_FUNC_CLOSEDIR): Fix a couple of typos
+	in the last couple of changes.
+
 2016-01-24  KO Myung-Hun  <kom...@gmail.com>
 
 	openat_proc_name: fix that last '/' is overwritten on OS/2 kLIBC
diff --git a/m4/closedir.m4 b/m4/closedir.m4
index e679694..0c9fd82 100644
--- a/m4/closedir.m4
+++ b/m4/closedir.m4
@@ -1,4 +1,4 @@
-# closedir.m4 serial 4
+# closedir.m4 serial 5
 dnl Copyright (C) 2011-2016 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -23,8 +23,8 @@ AC_DEFUN([gl_FUNC_CLOSEDIR],
     fi
   ])
   dnl Replace closedir() for supporting the gnulib-defined dirfd() function.
-  case $host_os,$HAVE_OPENDIR in
-    os2,1)
-      REPLACE_OPENDIR=1;;
+  case $host_os,$HAVE_CLOSEDIR in
+    os2*,1)
+      REPLACE_CLOSEDIR=1;;
   esac
 ])
-- 
2.5.0

Reply via email to