Raymond Toy <toy(a)rtp.ericsson.se> wrote:
Here is a small patch to gnuclient to make it understand absolute
DOS
pathnames that contain the drive letter. Without this patch,
gnuclient would just prepend the current directory to the path and
tell xemacs to load that. With this patch, gnuclient recognizes the
paths of the form "<drive>:\path" and converts it to
"/<drive>/path".
Perhaps I'm being dense, but I don't see how this is going to work.
While gnuclient does have problems with DOS absolute paths and path
separators (this part of your patch is good), I don't see how changing
(for example), "c:/foo" into "/c/foo" is going to work; with this,
gnuclient is going to look for file "foo" in directory "/c" of the
current drive, and not in "c:/".
[ The cygwin gnuclient may need a similar change ("c:/" -->
"//c/"), but
note that cygwin needs TWO (2) leading slashes; one slash won't work. ]
--
Darryl Okahata
darrylo(a)sr.hp.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Hewlett-Packard, or of the
little green men that have been following him all day.