svn commit: r2004 - in trunk/yasm: modules/dbgfmts/dwarf2
peter at tortall.net
peter at tortall.net
Tue Oct 16 00:40:22 PDT 2007
Author: peter
Date: Tue Oct 16 00:40:21 2007
New Revision: 2004
Modified:
trunk/yasm/libyasm/file.c
trunk/yasm/libyasm/file.h
trunk/yasm/modules/dbgfmts/dwarf2/dwarf2-info.c
Changeset:
http://www.tortall.net/projects/yasm/changeset/2004
Log:
Fix #118: Don't use getcwd(NULL, 0), as it's platform-specific behavior.
Instead write our own yasm__getcwd() which retries getcwd() with
increasing buffer sizes until the path fits (as the initial size is 1024,
in basically all cases it'll succeed on the first try).
Reported by: bird-yasm at anduin.net
More information about the yasm-cvs
mailing list