X-Authentication-Warning: new-smtp1.ihug.com.au: Host p280-tnt2.syd.ihug.com.au [203.173.131.26] claimed to be acceleron Message-ID: <007201c124aa$37717ff0$0a02a8c0@acceleron> From: "Andrew Cottrell" To: , "Eli Zaretskii" , , "Charles Sandmann" References: <3B7909ED DOT 32020 DOT 19CCE6 AT localhost> (pavenis AT lanet DOT lv) <3B791B0C DOT 22177 DOT 5CB07E AT localhost> Subject: Re: Windows 2000 patch for utime.c Date: Tue, 14 Aug 2001 20:16:41 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Reply-To: djgpp-workers AT delorie DOT com Sorry guys, now for my 2 cents worth. Sorry it's no longer accepted in OZ, so I am probably out of luck, but here I go anyway: > > > If we would have such variable it could be initialized only once at > > > startup. > > > > Yes, I understand that. But IMHO global variables should not be > > introduced as a matter of habit. Instead of re-inventing the wheel Allegro has support for a number of different OS's and it tests for these and sets an appropriate variable and you get to the variable via a function call if I remeber correctly. It may be usefull to look at this to see how this works as Allegro now works on DJGPP, VC++, GNU on Linux and looks like some other platforms as well. I agree with Eli that we should fix the problems correctly now and then come back and effectively optimize / future proof (if it can be done) for all of the platforms DJGPP runs on. I have been involved in this sort of concept with an embedded poker machine and it took some time and effort to figure out which way was a good way to implement it. The problem is that if we start doing this now we may re-code and introduce a number of new bugs instead of fixing the exisiting ones. I have added this to the list of outstanding issues with DJGPP and Win 2K. This way it will hopefully not fall between the cracks. Andrew