I build it this morning, debug version, under win2k.
I had to patch it there to turn debug on :
diff -u file-coding.c~ file-coding.c
--- file-coding.c~ Fri Aug 31 09:51:13 2001
+++ file-coding.c Fri Aug 31 14:01:44 2001
@@ -1900,9 +1900,9 @@
())
{
#if defined (WIN32_NATIVE) || defined (CYGWIN) || defined (MULE) || defined
(HAVE_DEFAULT_ENCODING_DETECTION)
- return 1;
+ return Qt;
#else
- return 0;
+ return Qnil;
#endif
}
Dired resulted in a crash. So far 2 reasons:
1/
dired-msw.c, line 416:
eicat_c (puta, buf);
eicat_raw (puta, file->cFileName, qxestrlen (file->cFileName));
if (add_newline)
eicat_c (puta, "\n");
return eimake_string (puta);
}
eicat_c() will test that all the chars in the string are ascii ones
and assert if c < 0x20 probably better to lower the limit.
2/
Lisp backtrace follows:
mswindows-insert-directory("d:\\Source\\Gnu\\xemacs-ben\\tests\\mule\\"
"-al"
nil t)
# bind (handler full-directory-p wildcard switches file)
insert-directory("d:\\Source\\Gnu\\xemacs-ben\\tests\\mule\\" "-al"
nil t)
apply(insert-directory ("d:\\Source\\Gnu\\xemacs-ben\\tests\\mule\\"
"-al" nil
t))
# bind (inhibit-file-name-handlers inhibit-file-name-operation args
op)
dired-handler-fn(insert-directory
"d:\\Source\\Gnu\\xemacs-ben\\tests\\mule\\"
"-al" nil t)
...
The crash occured there :
dired-msw.c, line 588
for (i = 0; i < Dynarr_length (files); ++i)
{
Win32_file *file = Dynarr_atp (files, i);
=> xfree (file->cFileName);
}
Dynarr_free (files);
UNGCPRO;
return (result);
}
with these values :
+ file 0x00000004
- files 0x01b41274
+ base 0x00000004
elsize 0x00000000
cur 0x01b3ebe4
largest 0x018702f8
max 0x018c8b48
i 0x00000000
3/
I can send you the BoundsChecker compliance report if needed. I have
build xemacs-mule under BoundChecker, quite nice to catch problems.
Unfortunately, I have not enough time to dwelve inside you development
code.
4/ I have run the automated tests: all tests passed (except c-tests,
2/4 only) up to Mule tests which failed there :
Testing d:\Source\Gnu\xemacs-ben\tests\automated\mule-tests.el...
Unexpected error (file-error "Opening output file" "No such file or
directory" "
c:\\popineau\\LOCALS~1\\Temp\\~~~~kiAsDw") while executing interpreted code.
Test suite execution aborted.
Unexpected error (file-error "Opening output file" "No such file or
directory" "
c:\\popineau\\LOCALS~1\\Temp\\~~~~kiAxKm") while executing byte-compiled code.
Test suite execution aborted.
mule-tests.el: 206 of 206 (100%) tests successful.
Test suite execution failed unexpectedly.
...
Testing d:\Source\Gnu\xemacs-ben\tests\automated\symbol-tests.el...
Unexpected error (void-variable pathname-coding-system) while executing interpre
ted code.
Test suite execution aborted.
Unexpected error (void-variable pathname-coding-system) while executing byte-com
piled code.
Test suite execution aborted.
symbol-tests.el: 246 of 248 (99%) tests successful.
Test suite execution failed unexpectedly.
...
Done
5/ Is it a side effect or something else : the XEmacs icon looks a bit
less appealing than it used to.
Fabrice