Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #37479] [PATCH] Fix for mmap issue on HP-UX

9 views
Skip to first unread message

Nick Glencross

unread,
Oct 19, 2005, 6:49:39 AM10/19/05
to bugs-bi...@rt.perl.org
# New Ticket Created by Nick Glencross
# Please include the string: [perl #37479]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37479 >


Guys,

This patch fixes a problem caused by a difference in the behaviour of
mmap on HP-UX which was mentioned a few days back as affecting
eval_12.pir:

mmap does not seem to allow multiple calls with MAP_SHARED on the same
file, and will return ENOMEM after the first call. What this change
does is fallback to attempting a private mmap if the preferred shared
one fails.

Regards,

Nick

parrot-r9509-mmap_hpux-patch.txt

Leopold Toetsch

unread,
Oct 19, 2005, 5:39:14 PM10/19/05
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com

I think we should better protect against multiple loadings (mmapings)
of the same file. HP-UX seems to be good at detecting this ;-)

>
> Regards,
>
> Nick

leo

0 new messages