delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | SickBoy <MnogoMedvjeda AT REMOVETHISbigfoot DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | (Registered) character in a path |
Date: | Fri, 9 Jan 2004 23:42:32 +0100 |
Organization: | Jerba de Maria |
Lines: | 11 |
Message-ID: | <MPG.1a694cc02ec6ae7c98968a@news.globalnet.hr> |
NNTP-Posting-Host: | d-zg2-020.globalnet.hr |
Mime-Version: | 1.0 |
X-Trace: | garrison.globalnet.hr 1073688152 21697 213.149.37.20 (9 Jan 2004 22:42:32 GMT) |
X-Complaints-To: | abuse AT globalnet DOT hr |
NNTP-Posting-Date: | Fri, 9 Jan 2004 22:42:32 +0000 (UTC) |
X-Newsreader: | MicroPlanet Gravity v2.60 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I have a folder on my drive that has a (registered) character in it's name (the little R in a circle). When I scanned that drive with __file_tree_walk I got an ENOENT when it reached the folder in question. I traced the source and I found out that findfirst/findnext can find the dir, only it has a regular R instead of the (R). Then when __file_tree_walk called findfirst with "d:\\whatever\\foo barR/*.*", findfirst returned an error and errno was set to ENOENT. I tried looking into findfirst's source but it's all interrupts and I don't know anything about that. Could someone explain what's going on here? Could it be because (R) is legal in windows but not in dos? How could dos even find the dir if that's the problem?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |