summaryrefslogtreecommitdiff
path: root/benchmarks/dbench/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/dbench/patches/patch-aa')
-rw-r--r--benchmarks/dbench/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/benchmarks/dbench/patches/patch-aa b/benchmarks/dbench/patches/patch-aa
new file mode 100644
index 00000000000..502dbd713a1
--- /dev/null
+++ b/benchmarks/dbench/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/07/17 15:11:44 agc Exp $
+
+--- child.c 2003/07/17 14:48:57 1.1
++++ child.c 2003/07/17 14:51:22
+@@ -29,16 +29,18 @@
+
+ int line_count=0;
+
+-char *client_filename = "client.txt";
++char *client_filename = PREFIX "/share/dbench/" "client.txt";
+
+
+ static int sigsegv(int sig)
+ {
+ char line[200];
+ printf("segv at line %d\n", line_count);
++#ifdef __linux__
+ sprintf(line, "/usr/X11R6/bin/xterm -e gdb /proc/%d/exe %d",
+ getpid(), getpid());
+ system(line);
++#endif
+ exit(1);
+ }
+