changeset 37910:73dceabe6377

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 24 Jan 2016 14:13:41 -0800
parents 3686845e645c
children 262662409c9d
files ChangeLog m4/closedir.m4
diffstat 2 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 24 21:04:48 2016 +0900
+++ b/ChangeLog	Sun Jan 24 14:13:41 2016 -0800
@@ -1,3 +1,11 @@
+2016-01-24  Paul Eggert  <eggert@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  <komh78@gmail.com>
 
 	openat_proc_name: fix that last '/' is overwritten on OS/2 kLIBC
--- a/m4/closedir.m4	Sun Jan 24 21:04:48 2016 +0900
+++ b/m4/closedir.m4	Sun Jan 24 14:13:41 2016 -0800
@@ -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 @@
     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
 ])