diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-06 12:52:06 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-06 12:52:06 +0000 |
commit | 7b6e4a522eb973552050f7e840bebf7fea7af9b5 (patch) | |
tree | 5c051f71d2f6fdd6630601f50230987df28daa36 /sysutils/gnomefind/files/patch-ac | |
parent | Add sox to the RUN_DEPENDS (required by Sound Recorder). (diff) |
Initial import of gnomefind - a Gnome'fied version of GNU find utility (not a
frontend).
Diffstat (limited to 'sysutils/gnomefind/files/patch-ac')
-rw-r--r-- | sysutils/gnomefind/files/patch-ac | 20 |
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 |