Commit graph

552 commits

Author SHA1 Message Date
dtrg 014be56fb0 Replaced calls to the custom strindex() and strrindex() functions with the
exactly equivalent and standard strchr() and strrchr() functions instead.
2006-07-23 20:01:02 +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 e6ddd5be27 Changed to export a header file so it can be correctly referred to. 2006-07-22 20:59:22 +00:00
dtrg 34ae7c4634 Removed duplicate (and incorrect) system function declarations. 2006-07-21 11:17:18 +00:00
dtrg 097c640a6c First version in CVS. 2006-07-20 23:24:28 +00:00
dtrg ea8f3fe1ff Rationalised use of #includes to be more standards-compliant. 2006-07-20 23:17:25 +00:00
dtrg 6073ee934e Rationalised use of #includes to be more standards-compliant. 2006-07-19 14:09:05 +00:00
dtrg 4c0a0e6119 Rationalised use of #includes to be more standards-compliant. 2006-07-18 17:10:29 +00:00
dtrg 8ea67498ed Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-18 17:10:18 +00:00
dtrg 35bd1df1aa Now includes stdlib.h to avoid implicit call declarations. 2005-06-25 15:50:40 +00:00
ceriel 2c66222509 Fixed bug: flt_div should not touch e1 1997-03-13 18:38:24 +00:00
ceriel 65cd309c08 'ed -' is no longer supported by some systems. Use 'ed -s' 1995-08-15 08:43:10 +00:00
ceriel f8d6337862 'ed -' is no longer supported by some systems. Use 'ed -s' 1995-08-14 15:09:59 +00:00
ceriel 7b6d8fbe56 Added copyright notice 1995-07-31 09:10:42 +00:00
ceriel e4fd4fce8e Fix: C_pt_ps and C_pt_op prototypes only valid when READABLE_EM is defined 1995-03-24 10:27:28 +00:00
ceriel b71c0ca9a3 Added Amake.srclist 1995-03-21 09:39:29 +00:00
ceriel 7b996be765 void LoadChar 1994-10-20 11:52:15 +00:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel 5a99c436b6 minor change: commented __ANSI_H__INCLUDED after #endif 1993-12-15 09:55:35 +00:00
ceriel 501da70526 Restored em_codeO.h; it is also needed when em_opt is not installed 1993-11-12 13:40:17 +00:00
ceriel 4deafdc9de Changed modules mechanism 1993-11-10 12:33:15 +00:00
ceriel d7b6b9a5ce Added prototyping stuff 1993-11-10 12:32:42 +00:00
ceriel 103cbb4319 Added prototyping stuff 1993-11-10 12:09:49 +00:00
ceriel 62f978c40f Added prototyping stuff 1993-11-10 11:49:49 +00:00
ceriel 73adc0f645 Added prototyping stuff 1993-11-10 11:40:41 +00:00
ceriel d848beec72 Changed modules mechanism 1993-11-10 11:38:42 +00:00
ceriel 11d4fdf6e0 Added prototyping stuff 1993-11-10 11:14:28 +00:00
ceriel abf052244b Added prototyping stuff 1993-11-10 10:26:07 +00:00
ceriel 31752a4617 Changed modules mechanism 1993-11-10 10:13:04 +00:00
ceriel 1da6506ba7 Added prototypes 1993-11-05 15:02:57 +00:00
ceriel cee6ab37e7 Compilers should recognize void by now 1993-10-26 16:26:36 +00:00
ceriel 32760d492a Added prototype 1993-10-22 14:09:28 +00:00
ceriel 4ec65def3f Modified to conform to ANSI C 1993-10-22 14:05:24 +00:00
ceriel 799f0600ef Added prototypes 1993-10-22 13:49:04 +00:00
ceriel ab8dcfa134 ANSI C fixes 1993-10-21 12:50:58 +00:00
ceriel eaea6c1c59 Fix: Makefile used cc instead of $(UCC) 1993-09-03 11:02:02 +00:00
ceriel eb375db4d6 repositioned lint comments, so that they work better 1993-03-18 13:09:55 +00:00
ceriel 3b80847a9d found a small error with Purify 1993-01-18 15:30:54 +00:00
ceriel bcff9862e7 found some small leaks with Purify 1993-01-18 15:29:54 +00:00
ceriel f8232e51a3 Several changes for ANSI C 1992-12-04 09:36:54 +00:00
ceriel dc73ec5cbf declared loadbuf 1992-10-26 11:07:55 +00:00
ceriel 92a6e5c426 Added declaration for st_alloc() 1992-06-25 11:32:30 +00:00
ceriel 8005ef1672 improved assert macro 1992-03-20 13:43:10 +00:00
ceriel a0acff4f4c minor change: give anonymous struct a name 1992-02-26 15:46:44 +00:00
ceriel df1ed9426d Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 15:28:58 +00:00
ceriel 53c4951b29 Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 15:05:43 +00:00
ceriel f4ecd50601 made more acceptable for ANSI C 1991-11-26 14:48:27 +00:00
ceriel 89887ef6b0 made more acceptable for ANSI C 1991-11-26 14:39:52 +00:00
ceriel 0d6ddc094b lib/em_data.a --> lib.bin/em_data.a 1991-11-25 09:49:27 +00:00
ceriel 3db2add75c Changed action names to reflect action taken 1991-11-22 13:55:56 +00:00
ceriel 2b6f5b9b8d Avoid use of 'you' 1991-11-22 13:18:57 +00:00
ceriel 4e99d889ff Changed manual page installation mechanism 1991-11-05 15:31:14 +00:00
ceriel 46b0f8ea19 Fixed Email addresses 1991-10-30 18:21:52 +00:00
ceriel aab21f875e Only install machine-independent part when required 1991-10-25 11:44:18 +00:00
ceriel 5dd19fa6e7 Added Action.lint 1991-10-16 13:36:15 +00:00
ceriel 68b728a4e3 fixed lintlib entry 1991-10-16 11:42:25 +00:00
ceriel e98e8717be Return values 1991-10-16 11:41:33 +00:00
ceriel 6debaf0e5c Removed some files that are no longer needed 1991-10-14 15:17:40 +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 182c7ebd70 Fixed flt_ar2flt.c 1991-10-02 15:20:22 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel a329780d73 small change to manual page 1991-10-01 11:14:24 +00:00
ceriel 3a0c239091 Fixed some errors 1991-09-18 09:48:15 +00:00
ceriel 86e38c87fb Fixed typo 1991-09-12 16:41:15 +00:00
ceriel 0ae5c1e43e Fixed: Added -I. 1991-09-12 16:39:50 +00:00
ceriel a82fde69c3 Fixed 1991-09-12 14:19:28 +00:00
ceriel da188bbb4d New installation mechanism, changed byte order mechanism 1991-08-26 16:57:47 +00:00
ceriel 73177ad913 New installation mechanism 1991-08-26 16:50:25 +00:00
ceriel dd478032e6 New installation mechanism 1991-08-26 16:21:27 +00:00
ceriel 4d682ab1e2 Changed mechanism for defining size_type 1991-07-12 10:16:11 +00:00
ceriel ea9332362d correction 1991-06-26 17:26:59 +00:00
ceriel f3d21dc6cc made alloc.h acceptable for ANSI C compiler 1991-06-26 17:26:03 +00:00
ceriel 55d8020292 some more statistics 1991-06-24 16:35:08 +00:00
ceriel eecdf96b0b Rearranged a bit 1991-03-22 15:17:16 +00:00
ceriel adab058c34 Fixed typo 1991-03-14 13:46:53 +00:00
ceriel d8771e87f9 minor mods 1991-03-14 13:43:45 +00:00
ceriel 977e1ac25e Removed unused variable 1991-03-11 14:38:28 +00:00
ceriel 52d4c7ff70 Added VARARGS 1991-03-11 14:33:13 +00:00
ceriel ee02bfcd82 minor mods 1991-02-26 15:46:18 +00:00
ceriel 8de1b855ab delinted 1991-02-19 16:25:21 +00:00
ceriel 9a294d4821 Changed name of include file 1991-02-19 13:53:04 +00:00
ceriel 3660ea15c5 One less significant digit: 20 was too much 1991-02-18 11:43:44 +00:00
ceriel af7686cd66 delinted 1991-02-18 10:58:49 +00:00
ceriel 8322e2d5d3 Made to work if BYTES_REVERSED and/or WORDS_REVERSED are not defined 1991-01-18 09:54:56 +00:00
ceriel 57f2827832 Modified manual page so that STDOUT and STDERR are mentioned 1991-01-17 13:24:28 +00:00
ceriel 4b40bae467 made acceptable for flex (no yyless() callable from other source file) 1991-01-11 14:36:37 +00:00
ceriel d9815cadcd fixed bug with APPEND in sys_open() 1991-01-11 13:19:36 +00:00
ceriel 159d8ec57d Fixed for OUTSEEK (by C. Verstoep) 1990-12-11 10:38:22 +00:00
ceriel 24a8b613ae Added test program 1990-12-04 16:40:21 +00:00
ceriel 8468609eda improved for numbers that can be represented exactly 1990-12-04 11:33:01 +00:00
ceriel 96d5009bef speeded up std_alloc() 1990-11-12 13:56:38 +00:00
ceriel 1bab6dbcaf Several fixes 1990-11-01 09:33:51 +00:00
ceriel 1aef1c5921 Added high-speed clear loops and changed behaviour of Realloc 1990-11-01 09:32:21 +00:00
eck e3a247ad23 added em_mesX.h to .distr 1990-09-20 17:03:05 +00:00
ceriel e0ff37aa6e support for long strings 1990-08-01 14:30:45 +00:00
ceriel f4e1a15dfb Added support for debugger messages 1990-07-30 16:05:27 +00:00
ceriel 76fd4c3d7b fixed declaration of C_error 1990-07-30 16:03:15 +00:00
ceriel 6c5c8c980e Added em_mesX.h which makes some C_ms_... unique in first 7 chars 1990-06-20 12:00:26 +00:00
ceriel 8444bc32fb Added debugger message routines 1990-06-20 11:59:57 +00:00
ceriel 9dacc57b3a C_out uses EM_bsssize etc. instead of C_bsssize etc. 1990-05-16 18:05:55 +00:00
ceriel afae382803 removed references to C_bssinit etc. 1990-05-16 18:03:50 +00:00
ceriel f2b4713c24 cast ptrdiff_t to int for ANSI 1990-04-25 14:23:05 +00:00
ceriel a932246479 Fix: did not work with ALIGNMENT < MIN_SIZE 1990-03-21 16:45:39 +00:00
eck 0296dc2371 fixed wrong assertion 1990-03-21 13:33:14 +00:00
ceriel 1a18efbe49 EM_mkcalls is obsolete 1990-03-14 10:16:49 +00:00
ceriel d35a781049 improved test for overflow 1990-02-27 14:30:10 +00:00
ceriel 0c95aa4b86 fixed library order : fix for 2-byte machines 1990-02-23 17:02:06 +00:00
ceriel 9288115a4d fixed for OUTSEEK 1990-01-29 11:42:58 +00:00
ceriel 0c4835caf3 maintain own free list of buffer headers 1990-01-29 11:41:37 +00:00
ceriel f5b29d9ccc creat mode 666 1990-01-26 11:02:34 +00:00
ceriel fc5c0ddc52 several fixes in the CHECK part 1990-01-18 17:11:41 +00:00
ceriel 531f9b1f77 removed unused variables 1990-01-18 10:59:04 +00:00
ceriel a72bbc0ce2 Changed an o into $suf 1990-01-17 14:39:50 +00:00
ceriel 2b6d2c8407 graceful degradation: allocate fewer structs if cannot get requested amount 1990-01-16 14:38:28 +00:00
ceriel 4b42dcf97f fix: flt_status was not always set properly 1989-12-19 09:27:16 +00:00
ceriel 662c87a579 flt_status maintained for flt_str2flt() 1989-12-18 18:17:17 +00:00
ceriel 2b8e44b860 publicdata is extern for development version 1989-12-18 13:18:43 +00:00
ceriel d6f0d3b65f test on BIGMACHINE was wrong 1989-12-15 15:35:17 +00:00
ceriel a0187208a5 fixed: did not compare properly with 0; reduced size 1989-12-13 16:35:19 +00:00
ceriel e891b36895 removed declaration of unused variable 1989-12-13 13:09:10 +00:00
ceriel 5e2915d143 bug fix: the in_store test did not work when NON_STANDARD was defined,
because in this case, the bit tested resided in user area
1989-11-30 17:29:00 +00:00
ceriel ac489d50a3 Corrected assertion 1989-11-30 15:12:11 +00:00
ceriel 30208cda9a changed commented #defines to #undefs 1989-11-30 14:25:40 +00:00
ceriel 862f83571f speeded up a bit for converting 0.0 to string 1989-11-27 17:25:55 +00:00
ceriel e9d477fd6e more internal buffering 1989-11-17 15:56:53 +00:00
ceriel d4bcec7ec2 removed some unused variables 1989-11-16 16:08:59 +00:00
ceriel 42a7f3d8e7 new version with internal buffering 1989-11-16 15:52:08 +00:00
ceriel c30769327b fixes: ucmp did not quite work right, flt_div had an obscure bug 1989-11-13 12:54:33 +00:00
ceriel 45c90324fd Added some casts for lint 1989-11-08 12:52:41 +00:00
ceriel cccb0dd197 if malloc can return 0 on a 0 argument, free should also accept 0 1989-10-31 09:44:21 +00:00
ceriel 4b445d4860 malloc can return NULL when given a 0 argument 1989-10-30 18:25:30 +00:00
ceriel 4360ab1cee improved error handling: C_busy now returns 0 if C_failed is called 1989-10-25 11:36:51 +00:00
ceriel a413fa8b90 fixed for SunOs 4.0 make 1989-10-24 16:09:24 +00:00
ceriel c246adf1c4 correction 1989-10-24 14:42:49 +00:00
ceriel 95cfd33824 corrected assertions 1989-10-24 12:58:23 +00:00
ceriel 1e3b6137d4 also include ../read_em; C_out.c needs em_comp.h. We cannot install
read_em first, because that needs em_codeEK.h
1989-10-24 09:29:30 +00:00
ceriel e5117bbf30 Added an ARGSUSED to shut up lint 1989-10-23 10:37:00 +00:00
ceriel 35c612b99b some minor improvements 1989-10-19 14:50:52 +00:00
ceriel 1ae683e3b3 improved the making of libCEopt.a 1989-10-18 14:40:15 +00:00
ceriel 744fcc3442 Added split.c to .distr 1989-10-16 18:02:55 +00:00
ceriel 82c3158ada simplified a bit 1989-10-16 17:56:36 +00:00
ceriel b821194cbd merged cricon.c+crfcon.c+crucon.c into crxcon.c 1989-10-16 16:37:46 +00:00
ceriel 1fefd074f9 Added em_private.h 1989-10-16 14:23:25 +00:00
ceriel 81a2d12ae5 improved Makefile: save libemopt.a when creating libCEopt.a 1989-10-16 09:45:06 +00:00
ceriel 0b44329a4b cleaned up considerably 1989-10-13 18:26:05 +00:00
ceriel 8c84139dc8 Added RCS Headers 1989-10-13 14:03:25 +00:00
ceriel 998de8d264 install code-expander version 1989-10-11 15:31:10 +00:00
ceriel 3aa0ecdb5c removed include file in_all.h 1989-10-11 15:25:07 +00:00
ceriel 0e2a3baa5d also install peephole optimizer and code expander versions 1989-10-11 15:15:47 +00:00
ceriel f63613844b Added em_codeO.h 1989-10-11 15:13:07 +00:00
ceriel de6b8d9108 Added em_opt 1989-10-11 12:43:53 +00:00
ceriel 1525e12aee mkstrct.o ended up in the archive twice 1989-10-09 15:03:01 +00:00
ceriel 9197c959dc recursive calls to sametest routine were wrong; How could this ever work? 1989-10-06 14:53:49 +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 8ee1e318a3 Added em_codeCE.h to repository and to .distr file 1989-08-21 13:12:51 +00:00
ceriel 8279a37642 made more ANSI conformant 1989-08-09 16:25:50 +00:00
ceriel be3597ddbe fixed: arguments to fputs were the wrong way around 1989-08-09 16:22:59 +00:00
ceriel 94a4bbb268 some fixes: representation for 0, and corrected check for overflow 1989-08-01 16:34:01 +00:00
ceriel 3e194345cf Added #define for buffer size needed for flt_flt2str() 1989-07-31 13:05:51 +00:00
ceriel 990e7a67da Added some assertions 1989-07-31 12:55:33 +00:00
ceriel 53ce9da827 fixed some bugs, added flt_umin 1989-07-28 14:13:39 +00:00
ceriel b1ee8fe36b fixed a problem with the store: we sometimes lost some memory 1989-07-17 15:13:09 +00:00
ceriel b07825aee3 exponent was wrong in divide routine; corrected 1989-07-13 11:18:02 +00:00
ceriel 02c5bf9140 changed lay-out of manual page a bit 1989-07-12 09:48:15 +00:00
ceriel f62db3f3c6 Added #define for Free, improved text 1989-07-11 17:02:07 +00:00
ceriel c483664bb1 made names of some files shorter 1989-07-11 11:38:52 +00:00
ceriel 1e9c82d6e5 made to work, and added the b64 shift routines to the interface 1989-07-11 09:15:17 +00:00
ceriel 1c848c8db3 Added flt_arith 1989-07-10 11:25:02 +00:00
ceriel c20a2155fa Initial revision 1989-07-10 11:17:19 +00:00
ceriel 46b57440a0 made a bit more robust 1989-06-30 14:46:27 +00:00
ceriel 1205b95090 use different (better) hashing algorithm 1989-06-19 11:17:41 +00:00
ceriel c48f281b39 Avoid I/O buffering when using the checking malloc 1989-06-19 11:10:58 +00:00
ceriel e2b5163869 avoid a null-reference 1989-06-19 11:09:44 +00:00
ceriel 4220dc1479 some fixes 1989-05-16 14:48:47 +00:00
ceriel 948aa06740 fixed: signed divide by power of 2 not equivalent to shift-right 1989-05-02 18:00:37 +00:00
ceriel 6877184666 improved version with better PushBack 1989-04-04 14:49:31 +00:00
ceriel 4797a7d4ce make realloc behave like most Unix realloc versions when handed a
null pointer
1989-03-29 12:58:18 +00:00
ceriel 1e3877b595 documented null-string behaviour 1989-03-16 15:41:43 +00:00
ceriel 8aee01de95 made easier to compile with different compiler 1989-02-20 15:29:10 +00:00
ceriel 9751e398e3 Made easier to use other compiler 1989-02-16 16:33:29 +00:00
ceriel 188b1df96d fixed; the previous change was wrong 1989-02-16 11:14:22 +00:00
ceriel 9baa112ea1 Handle empty string in search path; It means: current directory 1989-02-16 10:48:06 +00:00
ceriel 5a4933ff7f Try to allocate to the next power of 2, instead of just aligning
with GRABSIZE; This way, malloc(1000000) followed by free() followed by
another malloc(1000000) will result in the same block being allocated,
because first_present will now find it
1989-02-10 09:18:19 +00:00
ceriel c64da88289 Added FORMAT information for our lint; Documented the _format routine 1989-02-07 11:17:22 +00:00
ceriel 1e9d815c92 Documented need of em_data.a for libeme.a 1989-02-07 11:11:57 +00:00
ceriel f3c29355f6 simplified a bit to make the resulting optimizer smaller; Added a
constant w2 that can be used in the patterns instead of 2*w
1989-02-02 11:41:31 +00:00
ceriel 2930ebb406 fixed bug: OO_halfflush did not work properly 1989-01-31 10:33:59 +00:00
ceriel f2d5f15e51 fixed wr_arhdr: date and size 1988-11-18 16:06:07 +00:00
ceriel 4b5e5a9764 fixed typo 1988-11-16 13:37:46 +00:00
ceriel 0e895422bc removed include: was already done in nopt.h 1988-11-03 10:03:45 +00:00
ceriel 7a6913dea1 some minor improvements 1988-10-28 13:37:48 +00:00
ceriel e71c873fc1 moved comment 1988-10-21 17:35:54 +00:00
ceriel 0d9daaa18d changed assert macro to also work with ANSI C compilers 1988-10-21 17:34:20 +00:00
ceriel 0f8489fe28 Added .distr 1988-10-14 16:47:39 +00:00
ceriel b909bb629b modified bts2str to also escape double quotes 1988-10-05 16:19:42 +00:00
ceriel 9c8e5b9217 corrected a bit 1988-09-30 09:36:26 +00:00
ceriel 391d115b4d fixes from bruce: there are four, not three types of pattern that the
routine findworst should look for
1988-09-27 11:16:04 +00:00