[net.unix-wizards] bug fix for cpio

smk (12/31/82)

	There is a bug in the system III cpio, which we are
using on our 4.1 system.  In converting from Version 6 based
systems, there is  check to see if directories should be
created.  The Filetype variable is declared as short
and is anded to the mode of the file.  If the 6 command line
flag is used, the expression is sign extended and does not
match S_IFDIR.  The fix is simply to make Filetype an integer
for VAX systems.  (I guess it could be unsigned, but I
didn't check it out since we were planning a major move and I
had to get this up right away.)  Otherwise, the files are
never seen as directories, and subdirectories are never created.
	--steve