delorie.com/archives/browse.cgi | search |
From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
Message-Id: | <10109300445.AA12377@clio.rice.edu> |
Subject: | mntent problem summary on Win2K/XP |
To: | eliz AT is DOT elta DOT co DOT il |
Date: | Sat, 29 Sep 2001 23:45:57 -0500 (CDT) |
Cc: | djgpp-workers AT delorie DOT com |
In-Reply-To: | <7443-Sat29Sep2001195938+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Sep 29, 2001 07:59:38 PM |
X-Mailer: | ELM [version 2.5 PL2] |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
findfirst does not find volume labels. It returns all files (but not volume labels...). Checking the returned attributes and ignoring it if the label bit is not set is probably the best fix here (then we show "Drive X:" syntax. This fix is probably best done in findfirst. My CDROM drive is mounted and ready but it does not show up at all (not debugged yet). Drives > 26 (which is also cds_drives) succeed in truename for some unknown reason. I just disabled returns for drives > cds_drives if version = 0x532 and I get a more normal display.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |