[Bug-apl] Transpose crashes when faced with empty array

2014-01-27 Thread Elias Mårtenson
Very easy to reproduce this one: ⍉⍬ This gives the following error: == Assertion failed: !shape.is_empty() in Function: ArrayIteratorBase in file: ArrayIterator.cc:31 Call stack:

[Bug-apl] Mismatched free( )/delete/delete [ ], invalid read of 4 bytes, & uninitialized values

2014-01-27 Thread Frederick H. Pitts
Gentle people, valgrind runs with options --leak-check=full --show-leak-kinds=all --track-origins=yes --read-var-info=yes against Gnu APL, svn rev. 107, reveals the following: 1) 'new' invocation on line Value.cc:103 needs to be paired with a 'delete []' invocation on line Value.c

Re: [Bug-apl] ⎕TZ and ⎕TS

2014-01-27 Thread Kacper Gutowski
On 2014-01-27 17:26:56, Juergen Sauermann wrote: > should be fixed in SVN 108. It appears to work now, but it will give incorrect results in summer in zones where daylight saving time is used. Maybe something along the lines of difftime(mktime(localtime(…)), mktime(gmtime(…))) would work on all t

Re: [Bug-apl] [patch] float scanning broken for certain numeric locales & suggestions

2014-01-27 Thread Elias Mårtenson
Hello Jürgen, I agree with you and I'm certainly one of those people who find these files to be very useful. I believe your message was probably intended for Robin? Regards, Elias On 27 January 2014 19:55, Juergen Sauermann wrote: > Hi Elias, > > actually what you see in the SVN repository is

Re: [Bug-apl] [patch] float scanning broken for certain numeric locales & suggestions

2014-01-27 Thread Juergen Sauermann
Hi Elias, actually what you see in the SVN repository is what "make dist" thinks should be distributed. It is exactly the files in the apl-1.X.tar.gz (and possibly some stale ones if I forgot to remove them). The thing with auto-generated files is that there are two steps: autoreconf and ./c

Re: [Bug-apl] [patch] float scanning broken for certain numeric locales & suggestions

2014-01-27 Thread Elias Mårtenson
On 27 January 2014 04:34, Robin Haberkorn wrote: > * You should not commit generated files (autotools) into the SVN > repository. Everyone who has to regenerate the autotools files for > one reason or another is left with dozens of locally changed files > and will face merge conflic