aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--extension/ChangeLog4
-rw-r--r--extension/gawkdirfd.h4
-rw-r--r--gawkapi.h4
-rw-r--r--io.c4
5 files changed, 17 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d52168fc..3c3a6dd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-20 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawkapi.h [FAKE_FD_VALUE]: Moved from here to ...
+ * io.c [FAKE_FD_VALAUE]: here.
+
2013-05-14 Eli Zaretskii <eliz@gnu.org>
* io.c (devopen) [__EMX__ || __MINGW32__]: Produce EISDIR on MinGW
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
diff --git a/gawkapi.h b/gawkapi.h
index c5cc4607..cc50bba3 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -113,10 +113,6 @@ extern "C" {
#define awk_const const
#endif
-/* This is for fake directory file descriptors on systems that don't
- allow to open() a directory. */
-#define FAKE_FD_VALUE 42
-
typedef enum awk_bool {
awk_false = 0,
awk_true
diff --git a/io.c b/io.c
index 6024c4f9..333d8704 100644
--- a/io.c
+++ b/io.c
@@ -152,6 +152,10 @@
#define INCREMENT_REC(X) X++
#endif
+/* This is for fake directory file descriptors on systems that don't
+ allow to open() a directory. */
+#define FAKE_FD_VALUE 42
+
typedef enum { CLOSE_ALL, CLOSE_TO, CLOSE_FROM } two_way_close_type;
/* Several macros to make the code a bit clearer. */