diff options
| author | Martin Cracauer <cracauer@FreeBSD.org> | 1998-09-07 16:59:05 +0000 |
|---|---|---|
| committer | Martin Cracauer <cracauer@FreeBSD.org> | 1998-09-07 16:59:05 +0000 |
| commit | 23f8fb3d1e335647e09a73dee577e977533815a4 (patch) | |
| tree | aeccd81ebc291c54fcfae121c67684dc639a99ee /bin/test/test.c | |
| parent | 35923ba71d47b03b89da416c84ef150f936567d4 (diff) | |
Notes
Diffstat (limited to 'bin/test/test.c')
| -rw-r--r-- | bin/test/test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index 16f8042289b9..df365e8bdc9a 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -45,7 +45,7 @@ static char const copyright[] = static char sccsid[] = "@(#)test.c 8.3 (Berkeley) 4/2/94"; #endif static const char rcsid[] = - "$Id$"; + "$Id: test.c,v 1.19 1998/05/18 06:51:59 charnier Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -394,6 +394,9 @@ permission: if (fs->stat.st_uid == geteuid()) case ISFIFO: i = S_IFIFO; goto filetype; + case ISSOCK: + i = S_IFSOCK; + goto filetype; filetype: if ((fs->stat.st_mode & S_IFMT) == i && fs->rcode >= 0) true: sp->u.num = 1; else |
