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 restore: use our howmany() instead of reinventing the macro. 2016-04-30 20:05:23 +00:00
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 Use NULL instead of 0 for pointers. 2016-04-18 14:08:35 +00:00