summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--m4/closedir.m48
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ea537130ba..fab0ffb22a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/m4/closedir.m4 b/m4/closedir.m4
index e679694557..0c9fd82de2 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
])