#ifndef lint
static char *moduleid =
- "@(#)$Header: /home/glen/git/file/cvs/file/src/file.c,v 1.12 1987/11/06 21:03:16 ian Exp $";
+ "@(#)$Header: /home/glen/git/file/cvs/file/src/file.c,v 1.13 1987/11/12 12:57:50 ian Exp $";
#endif /* lint */
extern char *ckfmsg;
int debug = 0, /* huh? */
*/
if ((nbytes = read(fd, buf, HOWMANY)) == -1)
warning("read failed");
+ if (nbytes == 0) {
+ ckfputs("empty", stdout);
+ } else
/*
* try tests in /etc/magic (or surrogate magic file)
*/