mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
7b6e4a522e
frontend).
21 lines
476 B
Plaintext
21 lines
476 B
Plaintext
--- 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
|