Problem with m4 after upgrading to 4.0x

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Mon, 10 Mar 1997 14:36:45 +0200

Hello,

It seems that there are some problems with m4 after an upgrade to 4.0[a-b].
It doesn't work as in 3.2x and in particular

"[XPG4-UNIX] You can use m4 to process built-in macros or user-defined
macros. Each file is processed in order. If you do not specify a file or if
you give a dash (-) as a filename, the m4 command reads standard input. It
writes the processed macros to standard output."

is not true.

$ m4 file.m4 is working
$ cat file.m4 | m4 - is working

but

$ cat file.m4 | m4 produces "Segmentation fault (core dumped)"

It also possible to have the same thing in interactive mode.

Is it a known feature/bug ?

Daniel


o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
| Daniel Clar e-mail : Daniel.Clar_at_supelec.fr |
| Computer Operations Manager : dc_at_supelec.fr |
| Service Informatique Supelec and |
| Plateau de Moulon DECUSF::CLAR_D or |
| 91192 Gif sur Yvette Cedex - France Daniel.Clar_at_decus.fr |
| Tel : (33 1) 69 85 14 87 Fax : (33 1) 69 85 12 34 |
o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
Received on Mon Mar 10 1997 - 15:16:21 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT