[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Some diffs for MiNT 1.12h3
Here are some small patches for MiNT 1.12h3 you might find useful.
Summary of changes:
main.c:
Look for the name of the executable file MiNT was started from
by peeking into our parent's DTA area - filenames like MNT12H3.PRG
are now possible (controlled by preprocessor Symbol AUTO_FIX).
(MiNT needs to know its filename in order to be able to execute
programs *after* itself in the AUTO folder...)
dosfile.c:
BUGFIX: added a '{' that somehow got lost in 1.12h3 (had no effect
if CREATE_PIPES was defined).
tosfs.c:
Allow programs to chown() a file on a TOS file system if the
new owner of the file == current owner of the (ROOT) file system.
dosmem.c:
BUGFIX (sort of:-)): added special case Pexec(0) handling for
Gemini/Mupfel version 1.a - apparently, they don't call PwaitXXX()
to remove dead background processes; nobody noticed this bug before
because pre-1.12h3 MiNT versions removed *all* terminated children
as soon as a non-blocking Pexec() call was made...
This hack does the latter only for processes named GEMINI or MUPFEL;
it should certainly be removed as soon as the next Gemini version
is released!
mem.c:
BUGFIX: load_region() should now *always* (I hope:-)) return an error
code in mint_errno if an error occured; previously, Pexec() simply
returned 0 in some such cases... (e.g. bad relocation table)
Regards,
Martin
table
!"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 mk1diffs.gz
M'XL("'Z8D2\ !3$Q,F@S+3$Q,F@S;6LQ+61I9F9S ,U8_T_;2A+_.>^O&%Q=a
ML8,3XI OD+SPE-* T.4+@G!77:DL8Z^)%<=K>1U"7MO__69VG=B!T">=[J0Ka
ME;%W9V=G9S[SF5G*Y3)X7/A!R*INZ3()8.0D8+6A;G5J[4ZS =;96?.W2J4"a
MU>J#9=5G)XMY123N0[[J;AE!/TX SL Z[32;G5I+K2KO_J-O.&V99W60GP!0a
M!M(!/E]&7@?262 _SL1L"3A"00^Z!/[XG;0G_Z8V(,O%T,#G(2!8*E<?8S/a
MWPZ@1'*@)]#K0<V CQ_EUVK!/08?WV@P2.R-6OI!;1]8Y 4^OI1*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