Commit graph

83 commits

Author SHA1 Message Date
David Given 64c62439cd Fix a bunch of issues with the new temp file generation. 2022-07-18 22:18:08 +02:00
David Given 0cd26b1d0c Get fed up with trying to make mkstemp work and wrote my own function
which does what I want.
2022-07-18 21:42:52 +02:00
David Given 7d112a394c Open EM files in binary mode. 2022-07-18 20:25:56 +02:00
David Given 25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00
carl 715717a4f6 Read beyond buffer bugfix. 2019-03-31 00:53:09 +08:00
carl 496795f0cf Fix memory overflow error. 2019-03-26 00:59:16 +08:00
carl 75909230c9 + ANSI C conversion 2019-03-17 22:46:32 +08:00
David Given c5fd338300 Replace fake-varargs, which doesn't work on 64-bit machines, with real varargs. 2018-06-22 22:29:52 +02:00
David Given 60b7d8de6e
Merge pull request #96 from kernigh/kernigh-emu-1
Fixes to build emulators, ass, int on OpenBSD
2018-06-20 22:30:01 +02:00
David Given 6ae38887a7 It appears that the parameter to lol technically has to be word aligned; having
a non-word aligned parameter is illegal (but most of the toolchain accepts it).
So, word align data structures for em22.
2018-06-12 20:54:15 +09:00
George Koehler 250777d1ca Rename setmode() to set_mode() to avoid BSD prototype.
4.4BSD added a non-standard function setmode() to <unistd.h>; its
prototype is not compatible.
2018-06-10 19:04:51 -04:00
David Given d623440c77 Add the core of a simple em22 platform. Unfortunately it doesn't work; the old
em libmon vanished decades ago (or never existed), and also ass appears to have
a different idea of what the em opcodes are to everything else and gets
confused.
2018-06-10 20:25:48 +09:00
David Given e7124f3e3f File cleanup. 2018-06-09 21:21:28 +09:00
David Given a12181748b Make ass and int built with clang --- surprisingly easy. 2018-06-09 21:18:50 +09:00
David Given d10a594c04 Get ass running --- it's very K&R and almost certainly won't build on clang,
but it works on gcc.
2018-06-09 14:10:45 +09: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
George Koehler 7ef9b79c11 Merge deletion of many undead files. 2012-09-23 15:31:16 -04: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
Ceriel Jacobs 1072a8797e Added atol() that ignores overflow, so that unsigned long constants are dealt with properly 2011-06-15 11:13:48 +02:00
cjhjacobs 58613009f8 Fixed bug reported on tack-devel mailing list on 20-3-2011 2011-05-18 19:19:19 +02:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel 90134a3bea Some minor changes 1993-11-17 10:25:17 +00:00
ceriel 2233b6973b Several fixes; ported to Solaris 2 1993-10-06 11:45:13 +00:00
ceriel 04d3c7152c Changed order of declarations 1993-02-05 18:21:46 +00:00
ceriel aba0ed2f52 Made a declaration a little less suspicious, and removed # from proto.make 1992-06-25 17:41:51 +00:00
ceriel ca89734a36 Another minor change in manual page 1991-11-25 09:41:30 +00:00
ceriel e0956f63db Minor change in manual page 1991-11-25 09:39:31 +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 33ec8e07ed improved installation mechanism 1991-10-14 09:38:04 +00:00
ceriel fe6cddde09 Moved ip_spec.h to h directory 1991-10-01 16:24:49 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel 0182322630 Fixed proto.make 1991-09-13 11:00:50 +00:00
ceriel 528ce00522 Added 1991-09-06 15:36:00 +00:00
ceriel d9f98bc411 New installation mechanism 1991-08-27 10:18:09 +00:00
ceriel 492be74d94 Removed includes with relative paths 1991-08-27 09:45:37 +00:00
ceriel 74ff22b506 Allow for AALMAG as well as ARMAG 1991-03-20 16:24:50 +00:00
ceriel b893ec7013 m_a_i_n --> _m_a_i_n 1991-03-06 14:26:16 +00:00
ceriel 2c31a9b1ac removed -i flag 1991-02-19 16:51:50 +00:00
ceriel 626e7b5b06 Added U flag for exit status 0 with unresolved refs 1990-02-09 12:44:37 +00:00
ceriel 01535f998d Removed a call to 'abort'; just a non-zero exit status is enough 1990-01-18 16:35:39 +00:00
ceriel 99c20a6a08 default size is now large 1989-11-17 16:53:53 +00:00
ceriel a5f950bac7 replaced size_t by siz_t; size_t is reserved for ANSI C 1989-08-21 10:17:49 +00:00
ceriel 5b23cab8e9 removed old EM_WSIZE dependency 1989-08-09 16:34:27 +00:00
ceriel 9ab5e19576 use $(CC) instead of cc 1988-07-08 11:37:17 +00:00
ceriel f5d3ab845d fixed problem that was introduced by fix of alignment problem 1988-06-06 13:02:41 +00:00
ceriel 131d4d9454 align on ints instead of shorts 1988-04-25 10:41:33 +00:00
ceriel 628b9699e8 adapted to new ip_spec.t 1988-03-15 13:17:42 +00:00
ceriel f62a5c7157 adapted to new ip_spec.t and changed location 1988-03-15 11:43:36 +00:00
ceriel 41007486bf some compilers (Multimax) did not understand the sizeof constructions used 1988-03-09 11:42:54 +00:00