develooper Front page | perl.perl6.internals | Postings from October 2005

Re: [perl #37303] [PATCH] Relaxing parrot dependency on parrot_config

Thread Previous | Thread Next
From:
Joshua Hoblitt
Date:
October 17, 2005 03:32
Subject:
Re: [perl #37303] [PATCH] Relaxing parrot dependency on parrot_config
Message ID:
20051017103243.GF6835@ifa.hawaii.edu
On Sun, Oct 16, 2005 at 11:56:16PM +0100, Nick Glencross wrote:
> Here's an updated version of a patch to change how parrot picks up its 
> built-in configuration values. They are currently picked up by the 
> parrot library through globals linked against the executable.
> 
> This patch changes the API so that the parrot environment starts without 
> a config (which makes linking pdb, disassemble et al. cleaner) and then 
> the executable can call Parrot_set_config_string to register the 
> environment.

I'm guessing that this change in src/embed.c wasn't intended to be included in the patch:

-            mmap(0, program_size, PROT_READ, MAP_SHARED, fd, (off_t)0);
+            mmap(0, program_size, PROT_READ, MAP_PRIVATE, fd, (off_t)0);

???

-J

--

Thread Previous | Thread Next


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