The globfree function definition in the Libc unit
has a missing 'cdecl' modifier.
Any attempt to use the function as defined in Libc results in stack
corruption, causing program crashes.
The following declaration is working fine for me:
Procedure globfree(__pglob: PGlobData);cdecl;external libcmodulename name
'globfree';
Nobody/Anonymous
None
None
Public
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use