annotate src/.cvsignore @ 5916:1152e0091f8c

Avoid confusion about ELC vs. source file encoding, #'load, #'load-internal. lisp/ChangeLog addition: 2015-06-03 Aidan Kehoe <kehoea@parhasard.net> * code-files.el (load): Revise this to respect load-ignore-out-of-date-elc-files, rather than leaving that to #'load-internal. Avoids a corner case where the source and the compiled file have different, incompatible encodings. Move the call to #'substitute-in-file-name here. No longer check for a zero-length filename, since #'load-internal no longer chokes on same and errors correctly. src/ChangeLog addition: 2015-06-03 Aidan Kehoe <kehoea@parhasard.net> * lread.c (Fload_internal): Delegate calling the handler and #'substitute-in-file-name to #'load. Error correctly with a zero-length file name, instead of giving a bus error on my machine. Delegate the check for out-of-date ELC files to #'load, avoiding a bug where the encoding of the ELC file and the source file differed. * lread.c (PRINT_LOADING_MESSAGE_1): This is simplified, now we no longer have to talk about out-of-date ELC files. tests/ChangeLog addition: 2015-06-03 Aidan Kehoe <kehoea@parhasard.net> * automated/file-tests.el: Gross sanity check for #'load and #'load-internal with a zero-length FILE, something that crashed until today.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 03 Jun 2015 20:13:07 +0100
parents c11067d70e63
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
1 *.so.*
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
2 Emacs.ad.h
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
3 GNUmakefile
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
4 Makefile
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 Makefile.in
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
6 NEEDTODUMP
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
7 SATISFIED
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
8 Xpm.dll
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 config.h
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
10 dump-id.c
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
11 gmon.out
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
12 paths.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 puresize-adjust.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 sheap-adjust.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 temacs
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
16 temacs.bsc
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
17 temacs.ilk
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
18 temacs.map
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
19 temacs.opt
705
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
20 temacs.pdb
47f5192d44c9 [xemacs-hg @ 2001-12-18 22:55:29 by adrian]
adrian
parents: 533
diff changeset
21 update-elc.stamp
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 xemacs
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
23 xemacs.dmp
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
24 xemacs.ilk
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
25 xemacs.map
533
f38950946dcf [xemacs-hg @ 2001-05-12 11:39:18 by ben]
ben
parents: 479
diff changeset
26 xemacs.opt
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
27 *.tmp
1123
37bdd24225ef [xemacs-hg @ 2002-11-27 07:15:02 by ben]
ben
parents: 776
diff changeset
28 makeinfo_test.bat
1361
ffdb1a771055 [xemacs-hg @ 2003-03-18 00:54:00 by youngs]
youngs
parents: 1123
diff changeset
29 REBUILD_AUTOLOADS
2835
ae83ac9c29b3 [xemacs-hg @ 2005-06-28 12:02:39 by crestani]
crestani
parents: 1361
diff changeset
30 dump-size
ae83ac9c29b3 [xemacs-hg @ 2005-06-28 12:02:39 by crestani]
crestani
parents: 1361
diff changeset
31 xemacs.def
ae83ac9c29b3 [xemacs-hg @ 2005-06-28 12:02:39 by crestani]
crestani
parents: 1361
diff changeset
32 xemacs.def.in
3092
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 2835
diff changeset
33 .dbxrc
3521
c11067d70e63 [xemacs-hg @ 2006-07-19 19:38:39 by crestani]
crestani
parents: 3092
diff changeset
34 .dbxrc.in
3092
141c2920ea48 [xemacs-hg @ 2005-11-25 01:41:31 by crestani]
crestani
parents: 2835
diff changeset
35 .gdbinit
3521
c11067d70e63 [xemacs-hg @ 2006-07-19 19:38:39 by crestani]
crestani
parents: 3092
diff changeset
36 .gdbinit.in