freebsd-skq/sbin/restore
Pedro F. Giffuni 71a53e69d6 restore: promote some getfiles() parameters to size_t.
This is based on a change from OpenBSD:

"Fix restore so that it can actually restore files larger than 4GB by
changing the type of "size" to off_t in getfiles() plus little dependent
type cleanup, from Daniel Lucq."

It is an important for machines with 32 bit longs.
While here unsign the flags, also from OpenBSD.

Obtained from:	OpenBSD (through bitrig, I hate CVS)
MFC after:	2 weeks
2016-05-01 21:17:30 +00:00
..
dirs.c restore: promote some getfiles() parameters to size_t. 2016-05-01 21:17:30 +00:00
extern.h restore: promote some getfiles() parameters to size_t. 2016-05-01 21:17:30 +00:00
interactive.c
main.c restore: fix memory leak. 2016-04-30 22:51:09 +00:00
Makefile
Makefile.depend
restore.8
restore.c
restore.h
symtab.c restore: fix resource handle leak. 2016-05-01 02:39:39 +00:00
tape.c restore: promote some getfiles() parameters to size_t. 2016-05-01 21:17:30 +00:00
utilities.c