>>>> "Martin" == Martin Buchholz
<martin(a)xemacs.org> writes:
>>>> "APA" == Adrian Aichner
<Adrian.Aichner(a)t-online.de> writes:
>>>> "APA" == Adrian Aichner <Adrian.Aichner(a)t-online.de>
writes:
APA> Torgny has located the problem.
APA> Thanks, Torgny!
APA> What is the right approach to fix this?
APA> Martin,
APA> you've worked on this last.
APA> The current code in 21.1.14 does work on Windows 2000 while the code
APA> in 21.2-b46 does not!
APA> I'm willing to test any suggestions you have.
Martin> I don't know. Both 21.1 and 21.2 has patches from me to
Martin> fix the behavior of copy-file with non-ascii file names
Martin> when keep-time is t. It's quite likely I've introduced a
Martin> bug, but someone on Windows is going to have to dig it up.
Martin> It's also possible that keep-time never really worked on
Martin> Windows.
Martin> Create a file named öld, and then try evaluating:
Martin> (copy-file "öld" "nèw" t t)
nil
is what I get in (emacs-version)
"XEmacs 21.1 (patch 14) \"Cuyahoga Valley\" [Lucid] (i386-pc-win32) of
Wed Mar 14 2001 on D5DC120J"
and here is what dired sez:
c:\Users\AichnerAd\tmp:
total 79804
<lines deleted by Adrian>
-rw-rw-rw- 1 AichnerAd 5 1 Apr 08 21:29 öld
drwxrwxrwx 2 AichnerAd 5 0 Apr 08 21:29 ..
-rw-rw-rw- 1 AichnerAd 5 1 Apr 08 21:29 nèw
drwxrwxrwx 2 AichnerAd 5 0 Apr 08 21:29 .
So, this did work on Windows 2000.
I'm off to a 21.2-b46 XEmacs now ...
Adrain
Martin> This works for me, mule or non-mule, 21.1 or 21.2 - I've
Martin> tested it.
Martin> Ben or Andy or Adrian (or Torgny) should try to find the
Martin> fix, using a debugger at the C level. It shouldn't be
Martin> hard.
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/