🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3439

Re: Crazy CopyFile

#3439
From: Andrue Cope [TeamB]
Date: Fri, 09 Jun 2006 07:55
43 lines
2733 bytes
Hans Galema wrote:

> > 4.2.1. Definition:Object name
> > A sequence of any characters except �\� and �:�.
> 
> So '/' is allowed.

No that's considered to be a post-processing feature. Again it's about
standardising. Paths while we are working on/with them have '\'. If
they need to have '/' the conversion is performed as late as possible
and is considered to be a 'fix up' operation.

> C:\ape\
> is not a directory path ?

Heh, generally we would say that it is but officially it's a volume ID
and directory path. At the moment the distinction doesn't really matter
but if we ever move development to Linux it might become more important.

> Sorry, but you should first define what a fully qualified path is,
> before you show how it looks, I think.

You could be right. Changes to our database recently and even corporate
structure mean that we are going to have to revisit our path handling
anyway. We have extensions that allow us to specify virtual files
(files within databases so a path containing two paths <g>) and a
subset for specificying devices (like the Windows \\.\ syntax) and they
haven't changed in over a decade.

> And is this covered:
> \\computername\c\apes\
> 
> Just some thoughts FWIW.

It's not, no. All our I/O is performed using the wide path form so the
'\\' would be stripped off prior to processing then added later. That
would produce a relative path so some functionality might get confused.
Normal I/O seems fine having tested it but I think some of our database
handling might a bit upset not having a volume ID.
-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <4489295a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4487c9b8@newsgroups.borland.com> <4487d003@newsgroups.borland.com> <4487e3bb$1@newsgroups.borland.com> <4487eb27$1@newsgroups.borland.com> <4487fda0@newsgroups.borland.com> <44892034$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2704f07ba1df9321
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: Crazy CopyFile
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4487c9b8@newsgroups.borland.com> <4487d003@newsgroups.borland.com> <4487e3bb$1@newsgroups.borland.com> <4487eb27$1@newsgroups.borland.com> <4487fda0@newsgroups.borland.com> <44892034$1@newsgroups.borland.com>
Date: Fri, 9 Jun 2006 08:55:07 +0100
User-Agent: XanaNews/1.18.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 217.207.223.34
Message-ID: <4489295a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149839706 217.207.223.34 (9 Jun 2006 00:55:06 -0700)
Lines: 43
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail