GNU bug report logs - #56712
29.0.50; x-dnd-tests-do-direct-save fails on Cygwin

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Fri, 22 Jul 2022 21:11:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 56712 <at> debbugs.gnu.org
Subject: bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin
Date: Sun, 24 Jul 2022 21:42:26 -0400
On 7/24/2022 9:02 PM, Po Lu wrote:
> Ken Brown <kbrown <at> cornell.edu> writes:
> 
>> On 7/24/2022 9:33 AM, Po Lu wrote:
>>> Now done.  Ken, could you please re-run the test and show the detailed
>>> error that is signalled?
>>
>> Thanks.  The error is now clear:
>>
>> Test x-dnd-tests-do-direct-save condition:
>>      (file-missing "Opening output file" "No such file or directory"
>>      "//tmp/x-dnd-testvZQUCZ/x-dnd-test-targetKiqqPT")
>>
>> According to POSIX, the meaning of exactly 2 slashes at the beginning
>> of a path name is system dependent.  On Cygwin it's interpreted as a
>> UNC path.  That explains the error, but I don't immediately see where
>> the extra slash comes from.  (There are plenty of references to UNC
>> paths and to "file://" and "file:///" in dnd.el, so maybe there's some
>> code in there that incorrectly assumes that MS-Windows is the only
>> platform on which exactly 2 initial slashes has a special meaning.)
>>
>> Ken
> 
> Unless system-type can be windows-nt on Cygwin, I don't think that can
> happen.

No, system-type is cygwin on Cygwin.

>  I will look into this, thanks.

Thanks.

Ken




This bug report was last modified 2 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.