aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
Diffstat (limited to 'extension')
-rw-r--r--extension/ChangeLog4
-rw-r--r--extension/gawkdirfd.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog
index 66f7d355..62d1f310 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-20 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawkdirfd.h [FAKE_FD_VALUE]: Copied here from ../gawkapi.h.
+
2013-05-16 Andrew J. Schorr <aschorr@telemetry-investments.com>
* Makefile.am (install-data-hook): Remove .la files installed by
diff --git a/extension/gawkdirfd.h b/extension/gawkdirfd.h
index e75f9bce..52b91804 100644
--- a/extension/gawkdirfd.h
+++ b/extension/gawkdirfd.h
@@ -39,3 +39,7 @@ dirfd (DIR *dir_p)
return fd;
}
#endif /* HAVE_DIRFD */
+
+/* This is for fake directory file descriptors on systems that don't
+ allow to open() a directory. */
+#define FAKE_FD_VALUE 42