Commit graph

13 commits

Author SHA1 Message Date
George Koehler 88207db638 Use <stdarg.h> in util/misc/convert.c
I made a syntax error in some .e file, and em_encode dumped core
because a 64-bit pointer didn't fit in a 32-bit int.  Now use stdarg
to pass pointers to error() and fatal().

Stop using the number of errors as the exit status.  Many systems use
only the low 8 bits of the exit status, so 256 errors would become 0.

Also change modules/src/print to accept const char *buf
2017-12-06 17:09:12 -05:00
dtrg 6073ee934e Rationalised use of #includes to be more standards-compliant. 2006-07-19 14:09:05 +00:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel dbd1744edc Use C_out instead if EM_mkcalls 1990-04-23 13:43:05 +00:00
ceriel 9407523510 prevent core dump when the input file is not present 1989-08-15 09:06:26 +00:00
ceriel 676aee2213 Added call to C_close in the fatal routine 1989-06-15 19:08:18 +00:00
ceriel 60b336dd34 use newer read_em module, + checking library 1987-08-06 18:56:36 +00:00
ceriel b53a5e2540 more robust version 1987-03-31 08:15:22 +00:00
ceriel a7c65b091b use print library 1987-03-29 13:00:40 +00:00
ceriel 815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel 839be66f85 exit from main instead of return 1987-03-09 12:52:10 +00:00
ceriel d3f3afa6e7 bug fix 1987-02-06 10:03:18 +00:00
ceriel 78aae09a09 Initial revision 1987-02-05 14:47:47 +00:00