>>>> "Dan" == Dan Holmsand
<dan(a)eyebee.com> writes:
Dan> "Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
> I hate computers---it decided to belch out the diff just as I
sent
> that last. There is Dan Holmsand change I don't fully understand in
> fileio.c, in Ffile_truename, but it shouldn't be semantically
> different under Unix. Is there a reason not to use
>
> p = (Extbyte *) memchr (p + 1, DIRECTORY_SEP, elen - (p + 1 - path))
>
> instead of the explicit loop?
>
Dan> Yes. On windows both '/' and '\' should be interpreted as
directory
Dan> separators.
Wouldn't it be better to obey the value of
`directory-sep-char' (buffer: *wide reply to Dan Holmsand*, mode: Message)
Variable:
value: ?\\
Directory separator character for built-in functions that return file names.
The value should be either ?/ or ?\ (any other value is treated as ?\).
This variable affects the built-in functions only on Windows,
on other platforms, it is initialized so that Lisp code can find out
what the normal separator is.
?
Best regards,
Adrian
Dan> /dan
Dan> --
Dan> Dan Ola Holmsand
Dan> IB
Dan> dan(a)eyebee.com
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org