Date: Mon, 11 Dec 2000 22:01:28 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Tim Van Holder" Message-Id: <7458-Mon11Dec2000220128+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp-workers AT delorie DOT com In-reply-to: Subject: Re: MS-DOS path support in CVS References: 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 Precedence: bulk > From: "Tim Van Holder" > Date: Mon, 11 Dec 2000 19:21:47 +0100 > > I've been looking into (re-)adding clean support for > DOS-style paths into CVS. Thank you. > Would it be acceptable to turn the path I get from the > user (through $CVSROOT, -d or CVS/Root) into a /dev-style > path internally (i.e. X:/Foo/Bar -> /dev/X/Foo/Bar)? You can do whatever you like internally, the issue is only with external interfaces. > This would have the side effect that > a) Any messages from CVS regarding the root would > include the /dev-style path, and > b) CVS/Root will contain the /dev-style path for newly > made sandboxes. Printing messages in /dev-style might confuse users. As for CVS/Root files, using /dev there means that other versions of CVS will not be able to use the same CVS tree. Is it possible to plumb these two holes by calling _fixpath on the /dev-style filename just before you print a message or write the path to a file? Perhaps CVS uses a small number of special functions to do those chores; if so, you could change only those few functions.