- if (softmagic(buf) == 1)
- /*NULLBODY*/;
- else if (ascmagic(buf) == 1)
- /*
- * try known keywords, check for ascii-ness too.
- */
- /*NULLBODY*/;
- else {
- /*
- * abandon hope, all ye who remain here
- */
- ckfputs("data", stdout);
- }
- if (strcmp("-", inname) != 0) {
- /*
- * Restore access, modification times if we read it.
- */
- utbuf.actime = statbuf.st_atime;
- utbuf.modtime = statbuf.st_mtime;
- (void) utime(inname, &utbuf);
- /* we don't care if we lack perms */
- (void) close(fd);
- }
+ utbuf.actime = sb.st_atime;
+ utbuf.modtime = sb.st_mtime;
+ (void) utime(inname, &utbuf); /* don't care if loses */
+ (void) close(fd);