Commit graph

11 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
George Koehler
b5b1da6f1a Adjust dependencies in modules/src{print,string,system}
Drop dependency on <ansi.h> in modules+headers; assume that compiler
knows ANSI C89.

Add missing dependency from print to string; #include <ack_string.h>.

Because <print.h> had commented out the declarations of sys_lock() and
sys_unlock(), I now stop building lock.c and unlock.c.
2017-11-10 17:56:42 -05:00
ceriel
5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel
103cbb4319 Added prototyping stuff 1993-11-10 12:09:49 +00:00
ceriel
eb375db4d6 repositioned lint comments, so that they work better 1993-03-18 13:09:55 +00:00
ceriel
52d4c7ff70 Added VARARGS 1991-03-11 14:33:13 +00:00
ceriel
c64da88289 Added FORMAT information for our lint; Documented the _format routine 1989-02-07 11:17:22 +00:00
ceriel
9c8e5b9217 corrected a bit 1988-09-30 09:36:26 +00:00
ceriel
f5be4dafc6 use varargs when needed 1988-04-15 15:34:19 +00:00
ceriel
b8835cee3f Added copyright notice 1987-03-09 15:15:03 +00:00
ceriel
cb96da9bfa Initial revision 1987-01-05 17:37:37 +00:00