delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/02/13:54:03

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019