[Bug-apl] edif update / ⎕IO is 0

2018-08-20 Thread Hans-Peter Sorge
Hello Chris, The session stays blocked - what ever I try fiddling around. During this fiddling I came across on other situation that makes the edif2 case even more interesting:  (EDIF2 is a work space having edif2 as function only) The first session (eg. after reboot) has a double free corrupti

Re: [Bug-apl] edif update / ⎕IO is 0

2018-08-20 Thread Chris Moller
Yeah, all of that makes sense--unless they're explicitly unlinked, named POSIX message queues remain in existence as long as any process continues to exist that opened them, and clearing a workspace doesn't terminate the APL process. I'll have to look into what notification, if any, native func

Re: [Bug-apl] edif update / ⎕IO is 0

2018-08-20 Thread Chris Moller
Yet another bugfix committed to https://github.com/ChrisMoller/edif.git Mostly, what it does is detect multiple ⎕fx invocations of libedif2.so and short-circuits them, leaving the inotify() process intact and the message queue opened only once.  It also detects )clear and closes/unlinks the qu

Re: [Bug-apl] edif update / ⎕IO is 0

2018-08-20 Thread Hans-Peter Sorge
Hello Chris, The session blocking was my fault. Sorry for having you mislead on this. I used 'libedif.so' ⎕fx 'edif2' instead of 'libedif2.so' ⎕fx 'edif2' -- However, the latest version still segfaults on 'libedif2.so' ⎕fx 'edif2' 'libedif2.so' ⎕fx 'edif2' )off and 'libedif.so' ⎕fx 'edif2'

Re: [Bug-apl] edif update / ⎕IO is 0

2018-08-20 Thread Chris Moller
Aha!  That both versions, edif and edif2, fail the same was a great clue!  Another patch just committed... On 20/08/18 13:03, Hans-Peter Sorge wrote: Hello Chris, The session blocking was my fault. Sorry for having you mislead on this. I used 'libedif.so' ⎕fx 'edif2' instead of 'libedif2

Re: [Bug-apl] edif update / ⎕IO is 0

2018-08-20 Thread Hans-Peter Sorge
YES - Thank You - I'll have a good night sleep now:-) Peter Am 20.08.2018 um 21:17 schrieb Chris Moller: > Aha!  That both versions, edif and edif2, fail the same was a great > clue!  Another patch just committed... > > > On 20/08/18 13:03, Hans-Peter Sorge wrote: >> >> Hello Chris, >> >> The s

[Bug-apl] #!apl

2018-08-20 Thread Hudson Flavio Meneses Lacerda
Hi. Some of my scripts use `#!/usr/bin/apl --script` (from Debian), but now I am using SVN, so I should use `#!/usr/local/bin/apl --script`. So, I need to change the scripts, that may be incompatible with different environments… I have tried: #!/usr/bin/env apl #!apl --script #!/usr/bin/apl --sc