Commit graph

36 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
David Given 7f64fe96c7 Properly declare the library headers as dependencies. 2016-11-05 11:47:36 +01:00
David Given f67c98e239 Distributions are a pain --- let's not bother any more. Instead, we just tag
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given 612e38f1c6 Remove the old make-based build system, plus some big chunks of horribly
obsolete protomake build system.
2016-09-02 22:17:51 +02:00
David Given 2770a83837 More programs, more libraries. src/modules build files are now saner. 2016-07-23 00:30:31 +02:00
David Given 88bd7ce126 Remove defunct pmfiles.
--HG--
branch : default-branch
2016-06-03 13:56:50 +02:00
David Given 11377070fd Update distribution files.
--HG--
branch : dtrg-buildsystem
2013-05-15 23:46:15 +01:00
David Given c1aca7dae5 First milestone of replacing the build system.
--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
2013-05-12 20:45:55 +01:00
George Koehler 0131ca4d46 Delete 689 undead files.
These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.

These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.

See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
dtrg b611731ec3 Updated .distr files for the new release. 2007-02-25 12:51:55 +00:00
dtrg e6ddd5be27 Changed to export a header file so it can be correctly referred to. 2006-07-22 20:59:22 +00:00
dtrg 097c640a6c First version in CVS. 2006-07-20 23:24:28 +00:00
dtrg 4c0a0e6119 Rationalised use of #includes to be more standards-compliant. 2006-07-18 17:10:29 +00: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 4e99d889ff Changed manual page installation mechanism 1991-11-05 15:31:14 +00:00
ceriel 18897487a9 do not do lintlib installation on 'make install', also make sure
that every proto.make has a lintlib entry
1991-10-09 19:02:55 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel a82fde69c3 Fixed 1991-09-12 14:19:28 +00:00
ceriel 73177ad913 New installation mechanism 1991-08-26 16:50:25 +00:00
ceriel 52d4c7ff70 Added VARARGS 1991-03-11 14:33:13 +00:00
ceriel 57f2827832 Modified manual page so that STDOUT and STDERR are mentioned 1991-01-17 13:24:28 +00:00
ceriel 9751e398e3 Made easier to use other compiler 1989-02-16 16:33:29 +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 b5d320392c parameterize archiver used 1988-01-14 13:58:44 +00:00
ceriel ff505d48ed Added lintlib 1987-05-18 13:10:25 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel f6083608f9 minor change 1987-03-11 14:19:02 +00:00
ceriel b8835cee3f Added copyright notice 1987-03-09 15:15:03 +00:00
ceriel 7d4d9c5c34 %c did not work on systems that have their bytes or their words reversed. 1987-01-08 17:40:25 +00:00
ceriel 56c9ada9e0 Initial revision 1987-01-06 14:04:26 +00:00
ceriel cb96da9bfa Initial revision 1987-01-05 17:37:37 +00:00