delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/10/23:56:57

From: "Mark E." <snowball3 AT softhome DOT net>
To: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>, djgpp-workers AT delorie DOT com
Date: Mon, 10 Jun 2002 22:48:17 -0400
MIME-Version: 1.0
Subject: Re: Bash 2.05 4-April-2002 source release crash fix
Message-ID: <3D052CB1.1807.A4F12@localhost>
In-reply-to: <004b01c20f6d$531e9400$0102a8c0@acceleron>
X-mailer: Pegasus Mail for Windows (v4.01)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> at line 75. Once I initalised the init_cwd the crash went away because the
> check to see if the init_cwd was null then worked. The updated line is as
> follows:-
> 
> static char *init_cwd = NULL;

But shouldn't init_cwd already be initialized to NULL because it's static?

Mark

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019