summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/kbd/kbd-1.12-find_map_fix.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/kbd/kbd-1.12-find_map_fix.patch
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/kbd/kbd-1.12-find_map_fix.patch')
-rw-r--r--abs/core-testing/kbd/kbd-1.12-find_map_fix.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/abs/core-testing/kbd/kbd-1.12-find_map_fix.patch b/abs/core-testing/kbd/kbd-1.12-find_map_fix.patch
deleted file mode 100644
index ca24703..0000000
--- a/abs/core-testing/kbd/kbd-1.12-find_map_fix.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Oh, but I fixed it already. Patch below.
-
-Andries
-
---- kbd-1.12.orig/src/findfile.c Fri Jan 16 20:45:31 2004
-+++ kbd-1.12/src/findfile.c Wed Jan 28 23:29:35 2004
-@@ -70,6 +70,7 @@
- FILE *fp = NULL;
- DIR *d;
- struct dirent *de;
-+ struct stat statbuf;
- char *ff, *fdir, *p, *q, **sp;
- struct decompressor *dc;
- int secondpass = 0;
-@@ -104,7 +105,6 @@
- okdir = (ff && strcmp(de->d_name, fdir) == 0);
-
- if ((secondpass && recdepth) || okdir) {
-- struct stat statbuf;
- char *a;
-
- a = xmalloc(strlen(dir) + strlen(de->d_name) + 2);
-@@ -137,6 +137,11 @@
-
- sprintf(pathname, "%s/%s", dir, de->d_name);
-
-+ /* Is this a regular file? */
-+ if (stat(pathname, &statbuf) != 0 ||
-+ !S_ISREG(statbuf.st_mode))
-+ continue;
-+
- /* Does tail consist of a known suffix and possibly
- a compression suffix? */
- for(sp = suf; *sp; sp++) {
-
-
-[pasted and cut from another window, so with whitespace damage]