diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | extension/ChangeLog | 4 | ||||
-rw-r--r-- | extension/gawkdirfd.h | 4 | ||||
-rw-r--r-- | gawkapi.h | 4 | ||||
-rw-r--r-- | io.c | 4 |
5 files changed, 17 insertions, 4 deletions
@@ -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 @@ -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 @@ -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. */ |