projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history]
/
bin
/
ls
/
print.c
diff --git
a/bin/ls/print.c
b/bin/ls/print.c
index
09ab426
..
0a793ff
100644
(file)
--- a/
bin/ls/print.c
+++ b/
bin/ls/print.c
@@
-36,6
+36,7
@@
#ifndef lint
static char sccsid[] = "@(#)print.c 5.24 (Berkeley) 10/19/90";
#ifndef lint
static char sccsid[] = "@(#)print.c 5.24 (Berkeley) 10/19/90";
+static char rcsid[] = "$Header: /a/cvs/386BSD/src/bin/ls/print.c,v 1.2 1993/06/29 02:59:33 nate Exp $";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
@@
-211,6
+212,9
@@
printtype(mode)
case S_IFSOCK:
(void)putchar('=');
return(1);
case S_IFSOCK:
(void)putchar('=');
return(1);
+ case S_IFIFO:
+ (void)putchar('|');
+ return(1);
}
if (mode & (S_IXUSR | S_IXGRP | S_IXOTH)) {
(void)putchar('*');
}
if (mode & (S_IXUSR | S_IXGRP | S_IXOTH)) {
(void)putchar('*');