Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Parrot_get_runtime_prefix
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
William Coleda  
View profile  
 More options Feb 22 2005, 10:57 pm
Newsgroups: perl.perl6.internals
From: w...@coleda.com (William Coleda)
Date: Tue, 22 Feb 2005 22:57:38 -0500
Local: Tues, Feb 22 2005 10:57 pm
Subject: Parrot_get_runtime_prefix
in src/library.c (main branch), I find:

const char*
Parrot_get_runtime_prefix(Interp *interpreter, STRING **prefix_str)
{
    static STRING *s;
    static int init_done;
    static const char *prefix;
    int free_env;
    char *env;

    if (!*runtime_prefix)
        return NULL;
    if (!init_done) {
        /* stat()ing the top level directory doesn't work reliably as often

...

init_done is never initialized here. What's up?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Feb 23 2005, 3:25 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Wed, 23 Feb 2005 09:25:44 +0100
Local: Wed, Feb 23 2005 3:25 am
Subject: Re: Parrot_get_runtime_prefix

William Coleda <w...@coleda.com> wrote:
> in src/library.c (main branch), I find:
> const char*
> Parrot_get_runtime_prefix(Interp *interpreter, STRING **prefix_str)
> {
>     static STRING *s;
>     static int init_done;

      ^^^^^^

> init_done is never initialized here. What's up?

It ought to be zero initially.

leo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google