delorie.com/archives/browse.cgi | search |
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 <rich AT phekda DOT freeserve DOT co DOT uk> |
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 <djgpp-workers AT delorie DOT com> |
Subject: | Bug: getmntent() sets LFN, but doesn't restore it |
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/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |