Commit graph

16 commits

Author SHA1 Message Date
George Koehler
9037d137f5 Add prototypes, void in util/ego/share
This uncovers a problem in il/il_aux.c: it passes 3 arguments to
getlines(), but the function expects 4 arguments.  I add FALSE as the
4th argument.  TRUE would fill in the list of mesregs.  IL uses
mesregs during phase 1, but this call to getlines() is in phase 2.
TRUE would leak memory unless I added a call to Ldeleteset(mesregs).
So I pass FALSE.

Functions passed to go() now have a `void *` parameter because
no_action() now takes a `void *`.
2017-11-15 17:19:56 -05:00
David Given
64f2fa9d46 Stop using mktemp() --- on Haiku, it always generates the same filenames,
pretty much guaranteeing temporary file overwrites on parallel builds. Use
mkstemp() instead which creates the files atomically.
2017-08-06 13:22:05 +02:00
David Given
5bae29a00c ego now builds and is used.
This needed lots of refactoring to ego --- not all platforms have ego descr
files, and ego will just crash if you invoke it without one. I think originally
it was never intended that these platforms would be used at -O2 or above.

Plats now only specify the ego descr file if they have one.
2016-08-21 22:01:19 +02:00
David Given
918f300513 Run through clang-format. 2016-08-21 19:38:54 +02:00
dtrg
f371b251d2 Rationalised use of #includes to be more standards-compliant. 2006-07-22 00:46:16 +00:00
ceriel
5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel
e505a02ad7 produce debugging info 1991-06-26 17:30:48 +00:00
ceriel
27d53b0d33 Changed #include's 1991-03-05 12:44:05 +00:00
ceriel
bb7b8d6490 fixed problem with size option 1989-03-03 17:53:31 +00:00
ceriel
6fc4ca1ae0 The s option now gives a percentage of the size of the input 1989-02-09 10:18:48 +00:00
ceriel
dea600f9bf Added option to indicate that whole program is offered 1988-06-16 09:41:51 +00:00
ceriel
6eaf182cee Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel
815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
bal
469d075e77 Calls of which the actual and formal parameters do not match
are no longer substituted inline.
1985-02-20 15:01:02 +00:00
bal
7767012a6e il_aux.h included (which now contains getcall(),putcall() etc.
routines that were peviously in get.c and put.c).
1984-11-29 11:08:15 +00:00
bal
9f778655a6 Initial revision 1984-11-26 14:14:55 +00:00