Date: Tue, 14 Aug 2001 12:06:46 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: pavenis AT lanet DOT lv Message-Id: <1190-Tue14Aug2001120644+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com, acottrel AT ihug DOT com DOT au In-reply-to: <3B7909ED.32020.19CCE6@localhost> (pavenis@lanet.lv) Subject: Re: Windows 2000 patch for utime.c References: <10108140514 DOT AA13389 AT clio DOT rice DOT edu> (sandmann AT clio DOT rice DOT edu) <3B7909ED DOT 32020 DOT 19CCE6 AT localhost> 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 > From: pavenis AT lanet DOT lv > Date: Tue, 14 Aug 2001 11:22:21 +0300 > > 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. > Yesterday I run into trouble when tried to call > _get_dos_version() in bad place inside dosexec.c. ??? What bad place is that? dosexec.c assumes no one uses the transfer buffer from some point on (there's a comment to thet effect in the source), but _get_dos_version doesn't use the transfer buffer.