Return to fsmagic.c CVS log | Up to [local] / src / usr.bin / file |
version 1.5, 1999/12/06 00:32:29 | version 1.6, 2001/11/19 19:02:13 | ||
---|---|---|---|
|
|
||
case S_IFLNK: | case S_IFLNK: | ||
{ | { | ||
char buf[BUFSIZ+4]; | char buf[BUFSIZ+4]; | ||
register int nch; | int nch; | ||
struct stat tstatbuf; | struct stat tstatbuf; | ||
if ((nch = readlink(fn, buf, BUFSIZ-1)) <= 0) { | if ((nch = readlink(fn, buf, BUFSIZ-1)) <= 0) { |