[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. 1f713af5cd22df0ba9e7bbb
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. 1f713af5cd22df0ba9e7bbbde5b2d9eaf527c1ad |
Date: |
Sat, 10 Nov 2012 20:23:25 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, master has been updated
via 1f713af5cd22df0ba9e7bbbde5b2d9eaf527c1ad (commit)
from 8d895539f8a2e5ebf478aae974da73378c6dba95 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=1f713af5cd22df0ba9e7bbbde5b2d9eaf527c1ad
commit 1f713af5cd22df0ba9e7bbbde5b2d9eaf527c1ad
Author: Arnold D. Robbins <address@hidden>
Date: Sat Nov 10 22:23:03 2012 +0200
Some VMS fixes.
diff --git a/ChangeLog b/ChangeLog
index a9c262b..9be4eab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2012-11-10 Arnold D. Robbins <address@hidden>
* Update to bison 2.6.5. Various files regenerated.
+ * io.c (find_source): Add a default value for SHLIBEXT.
+ (read_with_timeout): For VMS also, just use read().
2012-11-10 John Haque <address@hidden>
diff --git a/io.c b/io.c
index d4f7535..5f4365c 100644
--- a/io.c
+++ b/io.c
@@ -2567,6 +2567,9 @@ find_source(const char *src, struct stat *stb, int
*errcode, int is_extlib)
size_t src_len;
size_t suffix_len;
+#ifndef SHLIBEXT /* for vms, for now */
+#define SHLIBEXT "awk"
+#endif
#define EXTLIB_SUFFIX "." SHLIBEXT
src_len = strlen(src);
suffix_len = strlen(EXTLIB_SUFFIX);
@@ -3702,7 +3705,7 @@ get_read_timeout(IOBUF *iop)
static ssize_t
read_with_timeout(int fd, char *buf, size_t size)
{
-#ifndef __MINGW32__
+#if ! defined(__MINGW32__) && ! defined(VMS)
fd_set readfds;
struct timeval tv;
@@ -3728,9 +3731,9 @@ read_with_timeout(int fd, char *buf, size_t size)
errno = EAGAIN;
#endif
return -1;
-#else /* __MINGW32__ */
+#else /* __MINGW32__ || VMS */
return read(fd, buf, size);
-#endif /* __MINGW32__ */
+#endif /* __MINGW32__ || VMS */
}
/*
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
io.c | 9 ++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. 1f713af5cd22df0ba9e7bbbde5b2d9eaf527c1ad,
Arnold Robbins <=