bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnu utilities for MVS and CMS


From: Paul Edwards
Subject: Re: gnu utilities for MVS and CMS
Date: Sun, 1 Feb 2009 15:34:26 +1100

This is an old version with known security flaws.  Can you try porting the
newer m4 1.4.12 release instead, which should still be compilable with
just a C89 compiler?

Ok, I've just tried.  There are both C99 and non-C99 extensions,
and while I see there are replacement header files for some of
them, I can't even just copy those header files as a replacement since they have @ characters in them, which presumably needs to be processed by something else.

It would be nice if M4 compiled by default on a C89 compiler and
if the extensions are there for cosmetic or any other purpose,
that's fine, but the user needs to enable the use of those
extensions.

Since I'm not actually using m4 for any purpose on the mainframe,
and even if I was, the 1.4 version probably works fine, I'll just stick
with the back-level, unless there's an interim version before the
switch to C99 extensions.  I've included what I got up to before
being forced to use a stdbool.

BFN.  Paul.




Index: lib/alloca.c
===================================================================
RCS file: c:\cvsroot/m4/lib/alloca.c,v
retrieving revision 1.1.1.2
diff -r1.1.1.2 alloca.c
43c43,45
< #if !defined (__GNUC__) || __GNUC__ < 2
---
/* It is needed on MVS */
#if 1
/* #if !defined (__GNUC__) || __GNUC__ < 2 */
Index: lib/binary-io.h
===================================================================
RCS file: c:\cvsroot/m4/lib/binary-io.h,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 binary-io.h
21a22
#if HAVE_FCNTL_H
22a24
#endif
Index: lib/clean-temp.h
===================================================================
RCS file: c:\cvsroot/m4/lib/clean-temp.h,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 clean-temp.h
22a23
#if HAVE_SYS_TYPES_H
23a25
#endif
Index: src/debug.c
===================================================================
RCS file: c:\cvsroot/m4/src/debug.c,v
retrieving revision 1.1.1.2
diff -r1.1.1.2 debug.c
24a25
#if HAVE_SYS_STAT_H
25a27
#endif
Index: src/m4.h
===================================================================
RCS file: c:\cvsroot/m4/src/m4.h,v
retrieving revision 1.1.1.2
diff -r1.1.1.2 m4.h
31a32
#if HAVE_STD_INT_H
32a34
#endif
33a36
#if HAVE_SYS_TYPES_H
34a38
#endif
Index: src/output.c
===================================================================
RCS file: c:\cvsroot/m4/src/output.c,v
retrieving revision 1.1.1.2
diff -r1.1.1.2 output.c
24a25
#if HAVE_SYS_STAT_H
25a27
#endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]