X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Message-Id: <200505130833.j4D8XUIH029244@speedy.ludd.ltu.se> Subject: Re: DJGPP v2.04 Bugs - suggested patch In-Reply-To: <10504092012.AA16787@clio.rice.edu> "from Charles Sandmann at Apr 9, 2005 03:12:42 pm" To: djgpp-workers AT delorie DOT com Date: Fri, 13 May 2005 10:33:29 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-ltu-MailScanner-Information: Please contact the ISP for more information X-ltu-MailScanner: Found to be clean X-MailScanner-From: ams AT ludd DOT ltu DOT se Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk According to Charles Sandmann: > A quick analysis of _open does not show a good way to fail and > retry without a complete restructuring of the code, or maybe additional > flag variables. I've de-spaghetti-fied it and if you tell me exactly under which conditions it should retry, I'll add that and post a patch. Most optimal would be the if statement, something like: /* Carry from INT 0x21,AX=0x716c set. */ if( r.x.ax == X && some other condition ) Right, MartinS