1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
freebsd/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
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