1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>

* tar.c (read_header): Mark regular files with S_IFREG.
This commit is contained in:
Miguel de Icaza 1998-04-30 00:51:11 +00:00
parent 0e4354f96e
commit e3dfc9d95a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* tar.c (read_header): Mark regular files with S_IFREG.
Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
* extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to

View File

@ -689,7 +689,8 @@ static int read_header (struct tarfs_archive *archive, int tard)
inode->mode |= S_IFBLK;
} else if (header->header.linkflag == LF_FIFO) {
inode->mode |= S_IFIFO;
}
} else
inode->mode |= S_IFREG;
inode->rdev = 0;
if (!strcmp (header->header.magic, TMAGIC)) {