pkgsrc/games/xbill/patches/patch-ab
2005-06-14 17:23:24 +00:00

17 lines
454 B
Text

$NetBSD: patch-ab,v 1.3 2005/06/14 17:23:24 minskim Exp $
--- Scorelist.cc.orig 1997-01-23 10:22:50.000000000 -0600
+++ Scorelist.cc
@@ -1,9 +1,9 @@
#include "objects.h"
FILE *Scorelist::open_file(char *mode) {
- char file[255];
- sprintf (file, "%sscores", XBILL_HOME);
- return fopen (file, mode);
+/* char file[255];
+ sprintf (file, "%sscores", XBILL_HOME);*/
+ return fopen (VARBASE "/games/xbill.scores", mode);
}
void Scorelist::read() {