Leopold Toetsch wrote:
Nick Glencross (via RT) wrote:
+ if ($^O ne 'MSWin32') {
I'd much more prefer one of:
a) if $^O eq 'hpux'
b) fix the "copy" to preserve perms
Anyway, as hpux is still broken in several other places, I'll drop a
note in PLATFORMS and not apply the patch now.
While this change was put in specifically for HP-UX, from what I've seen
most Unices do actually have execute permissions on dynamic libraries,
which are currently lost in the copy. It just so happens that HP-UX is
really unhappy about it. That's why I've said chmod for non-Windows.
[Have a look in runtime/parrot/dynext, and you'll see that Linux has
libnci_test.so with execute, but the others don't]
I don't think that File::Copy is intended to preserve execute flags,
it's aim for for cross-platform compatibility.
Anyhow, as you say, let's leave this for the time being until I've made
better progress on HP-UX next week.
Nick