From 7d19cbd54ad60474aded4b9fe587c7f53a14d488 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 19 Aug 2013 20:47:49 +0300 Subject: Changes to ENVIRON reflect into the environment. --- awk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'awk.h') diff --git a/awk.h b/awk.h index e01726d9..50631982 100644 --- a/awk.h +++ b/awk.h @@ -1363,6 +1363,7 @@ extern NODE *do_aoption(int nargs); extern NODE *do_asort(int nargs); extern NODE *do_asorti(int nargs); extern unsigned long (*hash)(const char *s, size_t len, unsigned long hsize, size_t *code); +extern void init_env_array(NODE *env_node); /* awkgram.c */ extern NODE *variable(int location, char *name, NODETYPE type); extern int parse_program(INSTRUCTION **pcode); -- cgit v1.2.3 From 844e16cea1ffe0e02b5b727fd8960271d1842020 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 20 Aug 2013 21:18:51 +0300 Subject: Move FAKE_FD_VALUE to shared header. --- awk.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'awk.h') diff --git a/awk.h b/awk.h index e01726d9..bb2f2054 100644 --- a/awk.h +++ b/awk.h @@ -206,11 +206,9 @@ typedef void *stackoverflow_context_t; #define stackoverflow_install_handler(catchstackoverflow, extra_stack, STACK_SIZE) 0 #endif -/* - * This is for fake directory file descriptors on systems that don't - * allow to open() a directory. - */ -#define FAKE_FD_VALUE 42 +#if defined(__EMX__) || defined(__MINGW32__) +#include "nonposix.h" +#endif /* defined(__EMX__) || defined(__MINGW32__) */ /* use this as lintwarn("...") this is a hack but it gives us the right semantics */ -- cgit v1.2.3 From 2fcffaeee37416708fab505209a55ddd32846463 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 13 Sep 2013 15:37:25 +0300 Subject: Fix problem when extending NF. See test/nfloop. --- awk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'awk.h') diff --git a/awk.h b/awk.h index bb2f2054..f57e62e9 100644 --- a/awk.h +++ b/awk.h @@ -434,6 +434,7 @@ typedef struct exp_node { # define MPFN 0x0800 /* arbitrary-precision floating-point number */ # define MPZN 0x1000 /* arbitrary-precision integer */ # define NO_EXT_SET 0x2000 /* extension cannot set a value for this variable */ +# define NULL_FIELD 0x4000 /* this is the null field */ /* type = Node_var_array */ # define ARRAYMAXED 0x4000 /* array is at max size */ -- cgit v1.2.3