From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: _osmajor/_osminor not set Date: Thu, 31 Jul 1997 12:59:08 +0200 Organization: TU Chemnitz-Zwickau Lines: 22 Message-ID: <33E06FFC.401925B9@Mathematik.TU-Chemnitz.DE> References: <199707300714 DOT HAA24590 AT bryggen DOT bgnett DOT no> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk giva AT bryggen DOT bgnett DOT no wrote: > > > I've notied that _osmajor/_osminor are not set in CRT before > calling main(). Is this intentional or simply an oversight? I don't know exactly why, but can you tell us a good reason (but not only from comparing with Borland) why it should be done? In my opinion that's not needed, because anyone who want to use these variable should call __get_dos_version() before to use these variables. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************