bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9311: 23.3.50; Can't load some byte-compiled files on Windows


From: Eli Zaretskii
Subject: bug#9311: 23.3.50; Can't load some byte-compiled files on Windows
Date: Wed, 17 Aug 2011 11:55:22 +0300

> Date: Wed, 17 Aug 2011 09:24:43 +0900
> From: Kazuhiro Ito <address@hidden>
> 
> I wrote c:/test.el as below and byte-compiled it.
> 
> (defun test ()
>   (let ((l 1))
>     (dotimes (i 100)
>       nil)))
> 
> When I load it by load function with absolute path as below, I can't
> load it and below message is displayed.  But it doesn't raise error.
> 
> (load "c:/test")
> -> End of file during parsing: c:/test.elc

This happens because Emacs thinks this file is remote.  It is almost a
duplicate of bug#5303, except that 5303 talked about files without an
extension, while this one is specific to .elc files.

I fixed this in revision 105479 on the trunk, by handling the DOS_NT
specific situation where `openp' returns -2, but there's no `load'
handler for the file.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]