Message-Id: <199710222323.TAA05425@delorie.com> Date: Wed, 22 Oct 1997 11:06:00 +0200 (IST) From: Eli Zaretskii To: djgpp-announce AT delorie DOT com cc: "K. Berry" , "Fabrice.Popineau" Subject: Texk programs fixed and uploaded MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Precedence: bulk I have discovered a bug in the DJGPP port of Texk package which only shows on Windows 95, and only in the C emulation of the MakeTeX scripts. The bug caused some of the MakeTeX programs (MakeTeXls-R is one of them) to access incorrect drive when testing whether the filesystem is case-preserving. In particular, if you were running from drive C:, MakeTeXls-R would access drive B:, which on a single-floppy systems would switch the DOS box to full-screen mode and display the ugly DOS prompt to insert a disk into drive B: and press any key... The source patch is appended below. I have uploaded the corrected sources (kpse30s.zip) and binaries (all the *b.zip files) to the DJGPP archives on SimTel.NET. If you use TeX on Windows 95, you should consider downloading the patched binaries. diff -c kpathsea/contrib/stackenv.h~0 kpathsea/contrib/stackenv.h *** kpathsea/contrib/stackenv.h~0 Thu Jun 19 17:50:00 1997 --- kpathsea/contrib/stackenv.h Tue Oct 21 14:26:20 1997 *************** *** 6,12 **** # define mkdir(p,m) _mkdir(p) typedef unsigned long mode_t; #else ! # define _getdrive getdisk # define FS_CASE_IS_PRESERVED _FILESYS_CASE_PRESERVED typedef unsigned int DWORD; #endif --- 6,12 ---- # define mkdir(p,m) _mkdir(p) typedef unsigned long mode_t; #else ! # define _getdrive() (getdisk() + 1) # define FS_CASE_IS_PRESERVED _FILESYS_CASE_PRESERVED typedef unsigned int DWORD; #endif