aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-11-14 21:41:59 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-11-14 21:41:59 +0200
commit8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5 (patch)
tree650f7309d237c201322280ae3ab7e154a9cd5a14
parent3f6a81b5812d5f527aea23e77754732374a10c55 (diff)
downloadegawk-8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5.tar.gz
egawk-8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5.tar.bz2
egawk-8ed7ce1717bf35f9cd268e21056b0c2fc5485cf5.zip
VMS fixes, MBS related, sort of.
-rw-r--r--vms/ChangeLog11
-rw-r--r--vms/descrip.mms8
-rw-r--r--vms/vms-conf.h32
-rw-r--r--vms/vmstest.com2
4 files changed, 39 insertions, 14 deletions
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 9a3ffd74..62db87e1 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,14 @@
+2011-11-02 Pat Rankin <r.pat.rankin@gmail.com>
+
+ * vms-conf.h (HAVE_SETSID, HAVE_SYS_IOCTL): Add but leave undef'd.
+ (HAVE_ISWCTYPE, HAVE_ISWLOWER, HAVE_ISWUPPER, HAVE_MBRLEN,
+ HAVE_MBRTOWC, HAVE_TOWLOWER, HAVE_TOWUPPER, HAVE_WCHAR_H,
+ HAVE_WCRTOMB, HAVE_WCSCOLL, HAVE_WCTYPE, HAVE_WCTYPE_H,
+ HAVE_WCTYPE_T): Define as 1 since DEC C supports all these.
+
+ * descrip.mms (replace.obj): Add dependencies for missing_d/*.c.
+ * vmstest.com (unix_tests): Fix typo in spelling of rtlen01.
+
2011-10-30 Pat Rankin <r.pat.rankin@gmail.com>
* vmstest.com (fpat3, fwtest3, getline5, gsubtst7, gsubtst8,
diff --git a/vms/descrip.mms b/vms/descrip.mms
index 967a312e..40b97eb1 100644
--- a/vms/descrip.mms
+++ b/vms/descrip.mms
@@ -48,6 +48,7 @@
# location of various source files, relative to the 'main' directory
VMSDIR = [.vms]
DOCDIR = [.doc]
+MISSNGD = [.missing_d]
MAKEFILE = $(VMSDIR)Descrip.MMS
# debugging &c !'ccflags' is an escape to allow external compile flags
@@ -226,6 +227,13 @@ awkgram.obj : awkgram.c awk.h
dfa.obj : dfa.c dfa.h
regex.obj : regex.c regcomp.c regex_internal.c regexec.c regex.h regex_internal.h
command.obj,debug.obj : cmd.h
+replace.obj : replace.c $(MISSNGD)system.c $(MISSNGD)memcmp.c \
+ $(MISSNGD)memcpy.c $(MISSNGD)memset.c $(MISSNGD)memmove.c \
+ $(MISSNGD)strncasecmp.c $(MISSNGD)strerror.c \
+ $(MISSNGD)strftime.c $(MISSNGD)strchr.c $(MISSNGD)strtod.c \
+ $(MISSNGD)strtoul.c $(MISSNGD)tzset.c $(MISSNGD)mktime.c \
+ $(MISSNGD)snprintf.c $(MISSNGD)getaddrinfo.c $(MISSNGD)usleep.c \
+ $(MISSNGD)setenv.c $(MISSNGD)strcoll.c $(MISSNGD)wcmisc.c
# bison or yacc required
awkgram.c : awkgram.y # foo.y :: yacc => y[_]tab.c, bison => foo_tab.c
diff --git a/vms/vms-conf.h b/vms/vms-conf.h
index cbdc9508..c42118ff 100644
--- a/vms/vms-conf.h
+++ b/vms/vms-conf.h
@@ -128,13 +128,13 @@
#define HAVE_ISASCII 1
/* Define to 1 if you have the `iswctype' function. */
-#undef HAVE_ISWCTYPE
+#define HAVE_ISWCTYPE 1
/* Define to 1 if you have the `iswlower' function. */
-#undef HAVE_ISWLOWER
+#define HAVE_ISWLOWER 1
/* Define to 1 if you have the `iswupper' function. */
-#undef HAVE_ISWUPPER
+#define HAVE_ISWUPPER 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
@@ -167,10 +167,10 @@
#undef HAVE_LONG_LONG_INT
/* Define to 1 if you have the `mbrlen' function. */
-#undef HAVE_MBRLEN
+#define HAVE_MBRLEN 1
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
-#undef HAVE_MBRTOWC
+#define HAVE_MBRTOWC 1
/* Define to 1 if you have the <mcheck.h> header file. */
#undef HAVE_MCHECK_H
@@ -214,6 +214,9 @@
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
+/* Define to 1 if you have the `setsid' function. */
+#undef HAVE_SETSID
+
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
@@ -289,6 +292,9 @@
/* Define to 1 if you have the `system' function. */
#define HAVE_SYSTEM 1
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#undef HAVE_SYS_IOCTL_H
+
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
@@ -322,10 +328,10 @@
#undef HAVE_TM_ZONE
/* Define to 1 if you have the `towlower' function. */
-#undef HAVE_TOWLOWER
+#define HAVE_TOWLOWER 1
/* Define to 1 if you have the `towupper' function. */
-#undef HAVE_TOWUPPER
+#define HAVE_TOWUPPER 1
/* Define to 1 if you don't have `tm_zone' but do have the external array
`tzname'. */
@@ -357,22 +363,22 @@
#define HAVE_VPRINTF 1
/* Define to 1 if you have the <wchar.h> header file. */
-#undef HAVE_WCHAR_H
+#define HAVE_WCHAR_H 1
/* Define to 1 if you have the `wcrtomb' function. */
-#undef HAVE_WCRTOMB
+#define HAVE_WCRTOMB 1
/* Define to 1 if you have the `wcscoll' function. */
-#undef HAVE_WCSCOLL
+#define HAVE_WCSCOLL 1
/* Define to 1 if you have the `wctype' function. */
-#undef HAVE_WCTYPE
+#define HAVE_WCTYPE 1
/* Define to 1 if you have the <wctype.h> header file. */
-#undef HAVE_WCTYPE_H
+#define HAVE_WCTYPE_H 1
/* systems should define this type here */
-#undef HAVE_WCTYPE_T
+#define HAVE_WCTYPE_T 1
/* systems should define this type here */
#undef HAVE_WINT_T
diff --git a/vms/vmstest.com b/vms/vmstest.com
index f35a9ad1..146053e1 100644
--- a/vms/vmstest.com
+++ b/vms/vmstest.com
@@ -89,7 +89,7 @@ $
$unix:
$unix_tests: echo "unix_tests..."
$ list = "fflush getlnhd localenl pid pipeio1 pipeio2" -
- + " poundbang rtlen relen01 space strftlng"
+ + " poundbang rtlen rtlen01 space strftlng"
$ gosub list_of_tests
$ return
$