pkgsrc/games/nagi/patches/patch-ap

13 lines
336 B
Text

$NetBSD: patch-ap,v 1.1 2007/02/23 14:01:20 drochner Exp $
--- sys/agi_file.c.orig 2007-02-23 14:15:26.000000000 +0100
+++ sys/agi_file.c
@@ -129,7 +129,7 @@ FILE *fopen_nocase(u8 *name)
FILE *ret;
dir = opendir(".");
- string_lower(name);
+ string_lower(strdupa(name));
while((fileent = readdir(dir))) {
char *testname;