summaryrefslogtreecommitdiff
path: root/community/fortune-mod/01_all_fortune_all-fix.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/fortune-mod/01_all_fortune_all-fix.patch
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/fortune-mod/01_all_fortune_all-fix.patch')
-rw-r--r--community/fortune-mod/01_all_fortune_all-fix.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/community/fortune-mod/01_all_fortune_all-fix.patch b/community/fortune-mod/01_all_fortune_all-fix.patch
deleted file mode 100644
index b4175ac81..000000000
--- a/community/fortune-mod/01_all_fortune_all-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- fortune/fortune.c.old 2006-03-11 15:33:14.000000000 +0100
-+++ fortune/fortune.c 2006-03-11 15:43:16.000000000 +0100
-@@ -974,7 +974,7 @@
- if (!ret)
- ret=add_file(percent, fullpathname, NULL, &File_list,
- &File_tail, NULL);
-- if ( (!ret && fullpathname != locpathname) || strcmp(sp, "all") == 0 )
-+ if (!ret && strncmp(fullpathname, locpathname, sizeof(fullpathname)))
- ret=add_file(percent, locpathname, NULL, &File_list,
- &File_tail, NULL);
-
-@@ -985,7 +985,8 @@
- }
- if (!ret)
- return FALSE;
--
-+ if (strncmp(fullpathname, locpathname, sizeof(fullpathname)) && strcmp(sp, "all") == 0)
-+ add_file(percent, locpathname, NULL, &File_list, &File_tail, NULL);
- }
- else
- if (!add_file(percent, fullpathname, NULL, &File_list,