Commit graph

15 commits

Author SHA1 Message Date
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 28d4480f62 It turns out that you can't use freopen() to set binary mode of
stdin/stdout on Windows; so add a new system function called
sys_setbinarymode which does it instead. Then find lots more binary mode
flags which need setting.
2022-07-17 20:47:53 +02:00
David Given acd2fe1351 More binary flags; and, remember to truncate existing files when trying
to create new ones.
2022-07-17 20:11:21 +02:00
carl 21e15965cc ANSI C conversion and add procedure declarations. 2019-05-11 01:17:40 +08: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
dtrg 35f2f8b043 Rationalised use of #includes to be more standards-compliant. 2006-07-20 23:04:15 +00:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel 17352b8b8d Added code to optimize multiplies with constants 1991-11-20 15:53:11 +00:00
eck 58355b7041 changed stackheight computation to top element size computation 1990-09-04 16:42:43 +00:00
eck 379511e232 added stackheight computation 1990-07-18 14:33:07 +00:00
ceriel 41d0500d81 replaced relative includes by <> includes 1988-09-12 09:13:49 +00:00
ceriel 750aad12f6 Made a bit more portable 1988-04-19 19:46:28 +00:00
ceriel 6c812387fd Added copyright notice 1987-03-10 01:42:07 +00:00
sater b40016f6fd added rcsid 1984-05-17 13:57:07 +00:00
sater ac23d5c871 Initial revision 1984-05-17 13:42:36 +00:00