Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/lib/libgdb work around 2 kluges:
details: https://anonhg.NetBSD.org/src/rev/6ba8c8108f84
branches: trunk
changeset: 790323:6ba8c8108f84
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 03 18:07:32 2013 +0000
description:
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).
diffstat:
external/gpl3/gdb/lib/libgdb/common-agent.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 8f6e39faee18 -r 6ba8c8108f84 external/gpl3/gdb/lib/libgdb/common-agent.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gdb/lib/libgdb/common-agent.c Thu Oct 03 18:07:32 2013 +0000
@@ -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);
+}
Home |
Main Index |
Thread Index |
Old Index