More bugs in exw.exe

new topic     » topic index » view thread      » older message » newer message

1/ Trying to open C:\VE OPEN\visualeuphoria.exw by double clicking it in Windows
explorer (or its free replacement) causes interpreter to barf:
Can't open C:\VE.exu

This is a bug, since the behaviour is not documented and the above is a valid
Windows path.

Probable solution: cause long_open() to call a variant of MakeCString() that
will check for spaces in the passed file name and surround it with double quotes
if needed. I didn't check if e_path_open() also needs adjustment; it won't if it
calls long_open().

2/ Additionally, I inferred, looking at the code for same_name(), that fileü.e
and fileÜ.e would be considered different even though they differ only in case.
The last character of the names is a small u with umlaut and capital U with
umlaut, respectively. The solution here is to call the system supplied
capitalisation routine instead of the current method, which only works for chars
in the 1..127 range. Also, there could be interesting stuff happening when
changing an underscore to }}}
<eucode>xor_bits('_',#20)</eucode>
{{{
 in a file name.
The capitalisation routine will be invoked differently under DOS and Windows, of
course.

I'll commit the fixes as soon as I can, probably next week.

CChris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu