summaryrefslogtreecommitdiff
path: root/sysutils/gnomefind/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnomefind/files/patch-ac')
-rw-r--r--sysutils/gnomefind/files/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/gnomefind/files/patch-ac b/sysutils/gnomefind/files/patch-ac
new file mode 100644
index 000000000000..21bbb371e142
--- /dev/null
+++ b/sysutils/gnomefind/files/patch-ac
@@ -0,0 +1,20 @@
+--- src/fstype.c 2000/05/26 09:54:55 1.1
++++ src/fstype.c 2000/05/26 10:08:03
+@@ -318,7 +318,7 @@
+ char *p;
+
+ if (S_ISLNK (statp->st_mode))
+- p = dirname (relpath);
++ readlink(relpath, (p = malloc(MAXPATHLEN)), MAXPATHLEN);
+ else
+ p = relpath;
+
+@@ -332,7 +332,7 @@
+ else
+ {
+ #ifdef MFSNAMELEN /* NetBSD. */
+- type = xstrdup (fss.f_fstypename);
++ type = strdup (fss.f_fstypename);
+ #else
+ type = fstype_to_string (fss.f_type);
+ #endif