| delorie.com/archives/browse.cgi | search |
| From: | pavenis AT lanet DOT lv |
| To: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com, |
| acottrel AT ihug DOT com DOT au | |
| Date: | Tue, 14 Aug 2001 12:35:24 +0300 |
| MIME-Version: | 1.0 |
| Subject: | Re: Windows 2000 patch for utime.c |
| Message-ID: | <3B791B0C.22177.5CB07E@localhost> |
| In-reply-to: | <1190-Tue14Aug2001120644+0300-eliz@is.elta.co.il> |
| References: | <3B7909ED DOT 32020 DOT 19CCE6 AT localhost> (pavenis AT lanet DOT lv) |
| X-mailer: | Pegasus Mail for Win32 (v3.12c) |
| 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 |
On 14 Aug 2001, at 12:06, Eli Zaretskii wrote: > > 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. I didn't study problem in details. It worked under Win98SE, but crashed under WinNT 4.0. Not using _get_dos_version() there fixed the crashes Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |