diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-10-14 18:52:04 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-10-14 18:52:04 +0000 |
| commit | 27f612d03f28288a629cdf1ec130d433c45cb02c (patch) | |
| tree | 36f6c7fffb8f48f875a2d8e5dcfd94fa7216de8e | |
| parent | 9eefce67dca2e6e6ace195ef9c08466434bd50dc (diff) | |
Notes
| -rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 760f7777acc9..c12b35ca03dd 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -1,6 +1,6 @@ #ifndef lint static const char rcsid[] = - "$Id: file.c,v 1.32 1998/09/11 07:26:58 jkh Exp $"; + "$Id: file.c,v 1.33 1998/10/09 00:01:16 jkh Exp $"; #endif /* @@ -47,7 +47,7 @@ isdir(char *fname) { struct stat sb; - if (lstat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode)) + if (stat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode)) return TRUE; else return FALSE; |
