[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-blocking fork (never again :-)



Wolfgang Lux <lux@heidelbg.ibm.com> writes:

|> Hi folks,

|> here is a set of patches for FreeMiNT, that will give an end to the
|> "... until MiNT has a non-blocking fork" story.

Excellent!!  Terrific!!

Except that it contains a fatal bug :-(

--- /usr/src/mint/mint-1.12.4/mem.c.~3~	Wed Aug 30 21:33:54 1995
+++ /usr/src/mint/mint-1.12.4/mem.c	Wed Aug 30 23:11:50 1995
@@ -804,7 +804,7 @@
 			shdw->save = 0;
 
 			if (prot_hold != -1)
-				prot_temp(reg->len, reg->loc, prot_hold);
+				prot_temp(reg->loc, reg->len, prot_hold);
 		}
 		reg->save = 0;

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"