freebsd-dev/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 Explicitly add more files to the 'runtime' package. 2016-02-09 20:19:31 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
restore.8 mdoc: move two sentences from synopsis to description (where they really 2012-05-23 15:06:13 +00:00
restore.c Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
restore.h Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
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