develooper Front page | perl.perl5.porters | Postings from April 2000

Re: What's left to do? [LONG]

From:
Tom Hughes
Date:
April 15, 2000 07:57
Subject:
Re: What's left to do? [LONG]
Message ID:
a1a9acaf49.tom@compton.compton.nu
In message <slrn8e9guu.rsv.simon@othersideofthe.earth.li>
          simon@brecon.co.uk (Simon Cozens) wrote:

> Tom Hughes (lists.p5p):
> >>              And it shouldn't forget to turn on the execute bit.
> >It isn't supposed to. There is code in there to turn it on but it
> >obviously hasn't triggered in this case. I think perlcc must have
> >decided you were compiling a module rather than a script as it only
> >turns on the x bits for scripts.
>
> More likely due to this:
>
> chmod $generated_file, 0777 & ~umask if $backend eq "Bytecode";

Oops. The odd thing is I'm sure it worked when I put it in
but I must have fouled up the test somehow.

A fix is attached...

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu/
...How late it is for the time of day!



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About