Re: Latest version of perl?

[email protected] (Nicholas Clark) Sun, 24 Mar 2002 17:33:17 +0000
Newsgroups perl.riscos
Message-ID <[email protected]>
On Sun, Mar 24, 2002 at 03:13:17PM +0100, Vincent Lefevre wrote:
> perl froze my machine twice in the last week. I suppose the cause
> is the UnixLib bug. But this bug has recently been fixed. Is there
> a version of perl that has been compiled and linked with the fixed
> version of UnixLib?

I know I haven't compiled one. I'm pretty sure it's not a simple take the
perl sources and just recompile job.

This is because the RISC OS perl source code jumps around in the
internals of UnixLib, with perl having its own private variant of the
calling side of UnixLib's exec() code, but still using the standard
receiving size in UnixLib, to get all the perl command capture (`` and
opening pipes) to work reliably.

[Messy, but it has worked very well, as to the best of my knowledge,
`` on * commands, BASIC programs and compiled C programs all works]

The UnixLib process structure is UnixLib version specific, so more
recent UnixLibs will modified it, meaning that this modifications would have
to be incorporated into the RISC OS perl code.

I haven't been using a more recent version of UnixLib, actually haven't been
using RISC OS that much recently, so haven't wanted to start digging into
something that I fear could be very messy.

Currently I have quite a lot of other things to do (core 5.8 related)
and free time is limited by having a full time job, so I'm unlikely to
want to start digging into this in the near future.

Anyone else is welcome to have a look. RISC OS perl source is at
http://www.ccl4.org/~nick/P/

Nicholas Clark
-- 
Even better than the real thing:	http://nms-cgi.sourceforge.net/