Commit graph

40 commits

Author SHA1 Message Date
carl 8b290cf68a ANSI C conversion of code, rename some parameters to better names and adapt man page accordingly. 2019-05-11 00:57:58 +08:00
carl f7ba3eec50 Remove CMake changes and generic sed scripts so they are move to a separate branch. 2019-02-21 00:43:04 +08:00
carl 7317ae3291 * Initial support of CMake 2019-02-19 00:54:23 +08:00
carl 3214ddfa68 Better ANSI C compatibility and portability - part 1:
+ Addition of function prototypes.
+ Change function definitions to ANSI C style.
2019-02-19 00:54:23 +08: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
George Koehler 6367467499 Remove functions that also exist in libc.
Some of these functions were slightly different from libc:

 - This strncpy() didn't pad the buffer with '\0' bytes beyond the end
   of the string; libc does the padding.  This string.3 manual said
   that this strncpy() does "null-padding", but it didn't.

 - This strcmp() and strncmp() compared using char (which might be
   signed); libc compares using unsigned char.
2017-11-09 23:35:54 -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 babe9eafad Modified to no longer build unoptimised duplicates of all the standard
string functions (strcpy, strlen, etc).
2006-07-23 19:58:27 +00:00
dtrg 097c640a6c First version in CVS. 2006-07-20 23:24:28 +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 4e99d889ff Changed manual page installation mechanism 1991-11-05 15:31:14 +00:00
ceriel e98e8717be Return values 1991-10-16 11:41:33 +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 73177ad913 New installation mechanism 1991-08-26 16:50:25 +00:00
ceriel d35a781049 improved test for overflow 1990-02-27 14:30:10 +00:00
ceriel 10a379dc8a latest Makefile Version 1989-10-04 11:12:57 +00:00
ceriel 96562f964d This is the 4th distribution version 1989-10-04 11:02:39 +00:00
cvs2hg 42e84d8dd2 fixup commit for tag 'distr3' 1989-10-04 10:56:17 +00:00
ceriel 9a92f57752 Initial revision 1989-10-04 10:56:16 +00:00
ceriel b909bb629b modified bts2str to also escape double quotes 1988-10-05 16:19:42 +00:00
ceriel 149a2abd07 some fixes 1987-09-29 16:07:10 +00:00
ceriel 88eaeed762 code improvement 1987-08-06 14:24:08 +00:00
ceriel cdf0fa6d6b Added lintlib, minor optim 1987-05-18 13:11:50 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 8a5f7d09c9 minor mods 1987-03-25 17:54:24 +00:00
ceriel f6083608f9 minor change 1987-03-11 14:19:02 +00:00
ceriel 4f0cb4abe1 Added Rcs Id 1987-03-10 09:24:02 +00:00
ceriel b8835cee3f Added copyright notice 1987-03-09 15:15:03 +00:00
ceriel 429502815f Added description of strzero 1987-02-19 11:28:14 +00:00
ceriel a7aa5d93ff Initial revision 1987-01-06 11:41:50 +00:00