delorie.com/archives/browse.cgi | search |
Message-Id: | <3.0.1.32.19980108163555.007cc9f0@yacker.xiotech.com> |
Date: | Thu, 08 Jan 1998 16:35:55 -0600 |
To: | DJ Delorie <dj AT delorie DOT com> |
From: | Randy Maas <randym AT acm DOT org> |
Subject: | Re: patch for dup2 |
Cc: | djgpp-workers AT delorie DOT com |
In-Reply-To: | <199801080246.VAA15268@delorie.com> |
References: | <3 DOT 0 DOT 1 DOT 32 DOT 19980107204616 DOT 007bdd90 AT yacker DOT xiotech DOT com> |
Mime-Version: | 1.0 |
It just occurred to me there is a bug waiting to happen -- the call to the FSEXT_Function* should probably happen *after* all the calls to DOS, instead of before. Ther reason is so that DOS knows not to assign the file descriptor to any subsequent open's or dup's. Randy
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |