Explain this bug...

General APL language issues

Explain this bug...

Postby MBaas on Sat Dec 12, 2009 9:14 pm

Such a nice and innocent statement, how is it possible to get a FILE NAME ERROR here???

12.12.png
12.12.png (7.88 KiB) Viewed 15380 times
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: Explain this bug...

Postby Morten|Dyalog on Sat Dec 12, 2009 10:02 pm

I think it is the trailing blanks in the file names that causes the FILE NAME ERROR. This looks like a v12.1 bug, it works in v11.0(!).
User avatar
Morten|Dyalog
 
Posts: 406
Joined: Tue Sep 09, 2008 3:52 pm

Re: Explain this bug...

Postby MBaas on Sun Dec 13, 2009 8:06 am

Oh sure, that must explain it - i can take care of them blanks, thanks :)
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: Explain this bug...

Postby JohnS|Dyalog on Sun Dec 13, 2009 9:30 am

Yup, this is a bug in the 12.1 Unicode version. Now logged:
5518: Unicode versions do not ignore trailing blanks in native file names.
It will be fixed shortly, thanks.
JohnS|Dyalog
 

Re: Explain this bug...

Postby Morten|Dyalog on Fri Dec 18, 2009 10:06 am

This bug is now fixed and the patch is available to DSS subscribers.
User avatar
Morten|Dyalog
 
Posts: 406
Joined: Tue Sep 09, 2008 3:52 pm

Re: Explain this bug...

Postby MBaas on Fri Dec 18, 2009 10:13 am

Yeah, thanks - I've just seen it in the latest mail. So, should I eliminate my 'delete-trailing-blanks'-dfn from the statement or - for full correctness - leave it in? Ah, questions over questions... ;)
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: Explain this bug...

Postby JohnS|Dyalog on Fri Dec 18, 2009 2:22 pm

So long as everyone who will be using your application has installed the fix, then I would advise removing your delete-trailing-blanks code.
JohnS|Dyalog
 


Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest