summaryrefslogtreecommitdiff
path: root/emulators/zsnes/files/patch-linux-zfilew.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/zsnes/files/patch-linux-zfilew.c')
-rw-r--r--emulators/zsnes/files/patch-linux-zfilew.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/emulators/zsnes/files/patch-linux-zfilew.c b/emulators/zsnes/files/patch-linux-zfilew.c
deleted file mode 100644
index f4ad601d7248..000000000000
--- a/emulators/zsnes/files/patch-linux-zfilew.c
+++ /dev/null
@@ -1,21 +0,0 @@
-$FreeBSD$
-
---- linux/zfilew.c Fri Jan 14 06:11:19 2005
-+++ linux/zfilew.c.new Thu Jun 2 19:29:43 2005
-@@ -474,11 +474,12 @@
-
- if ((homedir = (char *)getenv("HOME")) == 0)
- {
-- homedir = (char *)malloc(ZCFG_DIR_LEN);
-- getcwd(homedir, ZCFG_DIR_LEN);
-+ getcwd(zcfgdir, ZCFG_DIR_LEN);
-+ }
-+ else
-+ {
-+ strcpy(zcfgdir, homedir);
- }
-- strcpy(zcfgdir, homedir);
-- free(homedir);
- strcat(zcfgdir, ZCFG_DIR);
- tmp = opendir(zcfgdir);
- if (tmp == NULL)