X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: =?ISO-8859-1?Q?Rafael_Garc=EDa?= Newsgroups: comp.os.msdos.djgpp Subject: RHIDE subtle danger situation Date: Wed, 20 Jul 2005 14:13:00 +0200 Organization: Telefonica Data Espagna Lines: 15 Message-ID: NNTP-Posting-Host: 208.red-81-37-207.pooles.rima-tde.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nsnmpen3-gest.nuria.telefonica-data.net 1121861571 1295 81.37.207.208 (20 Jul 2005 12:12:51 GMT) X-Complaints-To: usenet AT nsnmpen3-gest DOT nuria DOT telefonica-data DOT net NNTP-Posting-Date: Wed, 20 Jul 2005 12:12:51 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: es-es, es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Only to warn users of RHIDE whith many open files. Debugging within RHIDE a program that opens many files simultaneously, under Windows XP. Stopped in a breakpoint in a function called after getting error code from open(), I write some code in the editor without ending debug session, then hit F2 to save changes. I get a message about EMFILE from RHIDE, then something like "want to reload?". I pressed Enter without thinking and I lost source file (truncated to 0 bytes). No big problem for me this time because no much code lost, but potencially destructive. Don't know if it's the same under DOS. I can't simply increment "FILES=X" limit in \windows\system32\config.nt file, because I need to debug the program in limited handles condition so I will have to walk around it. I suppose stopping process with Ctrl-F2 before saving, there will be no problem.