Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E3A52D3.5F011CEA@phekda.freeserve.co.uk> Date: Fri, 31 Jan 2003 10:41:23 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: DJGPP workers Subject: Bug: getmntent() sets LFN, but doesn't restore it Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. getmntent() in src/libc/compat/mntent/mntent.c sets LFN, but doesn't not restore its original value, once it has finished. To work around a Win2k bug, it sets LFN=n, to find volume labels, and then sets it to LFN=y, once it's done. That's fine when LFN=y, but what if LFN=n initially? Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]