From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: GDB load prob Date: Mon, 6 Mar 2000 09:56:49 +0200 Organization: NetVision Israel Lines: 25 Message-ID: References: <20000303 DOT 035656 DOT -335679 DOT 1 DOT roberts DOT j DOT whitlock AT juno DOT com> <200003031442 DOT PAA12644 AT acp3bf DOT physik DOT rwth-aachen DOT de> <89rh7q$kdj$1 AT news DOT luth DOT se> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 952329577 8824 199.203.121.2 (6 Mar 2000 07:59:37 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 6 Mar 2000 07:59:37 GMT X-Sender: eliz AT is In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 6 Mar 2000, Damian Yerrick wrote: > So we might as well make DJGPP libc allow access to directories inside > c:\dev\ but not to files directly inside c:\dev\*.* It would be nice to have this, but I don't know how to do that without breaking the features which caused us to treat x:/dev specially in the first place. You need to understand that there's no code in the DJGPP library which specifically forbids using files in x:/dev. This is just an unfortunate side-effect of the special treatment that files in x:/dev get. The single most important problem is that DOS devices can have any name they choose, so when handed a name x:/dev/foo, you have no idea whether this is a device or a file named foo in the dev directory. The challenge is to retain the special treatment for devices and yet support existing normal files in that directory. Patches to make that happen are welcome. > This wouldn't break compatibility with any Unix ports, would it? ``Show me the source.'' Without that, who knows?