Module Name: src Committed By: christos Date: Thu Oct 3 18:07:32 UTC 2013
Added Files: src/external/gpl3/gdb/lib/libgdb: common-agent.c Log Message: work around 2 kluges: 1. having the same named file in two different directories (agent.c) 2. trying to override fnmatch twice (easier than making configure mechanism to not overwrite). To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/gpl3/gdb/lib/libgdb/common-agent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Added files: Index: src/external/gpl3/gdb/lib/libgdb/common-agent.c diff -u /dev/null src/external/gpl3/gdb/lib/libgdb/common-agent.c:1.1 --- /dev/null Thu Oct 3 14:07:32 2013 +++ src/external/gpl3/gdb/lib/libgdb/common-agent.c Thu Oct 3 14:07:32 2013 @@ -0,0 +1,11 @@ +#include "common/agent.c" + +/* XXX + * Gdb wants to use its internal fnmatch that does wide characters overriding + * the one from libiberty. This is madness, let's use ours! + */ +int +gnu_fnmatch(const char *pattern, const char *string, int flags) +{ + return fnmatch(pattern, string, flags); +}