From: giva AT bryggen DOT bgnett DOT no Message-Id: <199707300714.HAA24590@bryggen.bgnett.no> To: djgpp AT delorie DOT com Date: Wed, 30 Jul 1997 09:14 MET Subject: _osmajor/_osminor not set Precedence: bulk I've notied that _osmajor/_osminor are not set in CRT before calling main(). Is this intentional or simply an oversight? Comparing with e.g. Borland (as we often do), these variables are set there. The fix would simply to insert "_get_dos_version(0)" in "__crt1_startup()" (file \djgpp\src\src\libc\crt1.c). Gisle V. ----------------