aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-04-29 12:15:49 +0300
committerArnold D. Robbins <arnold@skeeve.com>2011-04-29 12:15:49 +0300
commit5f7dd5191cd5973d69de1f6860d775802bc896e6 (patch)
treeab99ec5569799a8895cfa0a92b21b9bd536eb371
parentd20b91c334edaf177af02be433511be6afe46546 (diff)
downloadegawk-5f7dd5191cd5973d69de1f6860d775802bc896e6.tar.gz
egawk-5f7dd5191cd5973d69de1f6860d775802bc896e6.tar.bz2
egawk-5f7dd5191cd5973d69de1f6860d775802bc896e6.zip
Bug fix in io.c, minor doc update.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS4
-rw-r--r--io.c2
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c360407..7ea33c2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 29 12:13:32 2011 Arnold D. Robbins <arnold@skeeve.com>
+
+ * io.c (inetfile): Change ifdef to ifndef for have getaddrinfo.
+ Ooops.
+
Fri Apr 29 11:49:38 2011 Arnold D. Robbins <arnold@skeeve.com>
Per Pat Rankin, remove code related to GFMT_WORKAROUND and VAXCRTL.
diff --git a/NEWS b/NEWS
index 64bada9d..5202f108 100644
--- a/NEWS
+++ b/NEWS
@@ -92,6 +92,7 @@ Changes from 3.1.8 to 4.0.0
- NeXT
- SunOS 3.x, Sun 386 (Road Runner)
- Tandem (non-POSIX)
+ - Prestandard VAX C compiler for VAX/VMS
- Probably others that I've forgotten
29. If PROCINFO["sorted_in"] exists, for(iggy in foo) loops sort the
@@ -101,3 +102,6 @@ Changes from 3.1.8 to 4.0.0
30. A new isarray() function exists to distinguish if an item is an array
or not, to make it possible to traverse multidimensional arrays.
+
+31. asort() and asorti() take a third argument specifying how to sort.
+ See the doc.
diff --git a/io.c b/io.c
index b5459688..6fc921c5 100644
--- a/io.c
+++ b/io.c
@@ -3275,7 +3275,7 @@ inetfile(const char *str, int *length, int *family)
*length = 7;
if (family != NULL)
*family = AF_INET6;
-#ifdef HAVE_GETADDRINFO
+#ifndef HAVE_GETADDRINFO
fatal(_("IPv6 communication is not supported"));
#endif
}