Date: Tue, 11 Sep 2001 10:42:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Vince D McCarthy cc: djgpp AT delorie DOT com Subject: Re: Help with directories In-Reply-To: <20010910.230100.8798.1.vmccar@juno.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 10 Sep 2001, Vince D McCarthy wrote: > I believe I found a problem with the INFO-Glob. At the end of the > Example where it has the command. globfree(&glob_results); caused a > program crashed. Changed to > globfree(&glob_results.gl_pathv); With this the program works ok. I don't see anything wrong with the example in the Info docs, and neither with the code of globfree. In particular, passing just &glob_results.gl_pathv to globfree is simply wrong (you can clearly see that if you look at the source code of globfree). Did you use the example from there in some larger program? If so, it's possible that your program has a bug which causes the crash. If you used just the example as a stand-alone program (with some trivial main function), please post here the exact source of the program you actually compiled. In any case, please post the crash message printed when the program crashes, complete with registers' dump and the traceback, after running SYMIFY on it.