summaryrefslogtreecommitdiff
path: root/sbin/restore/tape.c
AgeCommit message (Collapse)Author
2004-12-30Replace home-grown byte swapping routine with calls to swap* macrosTodd C. Miller
from endian.h. Header swapping is moved into its own function. Fixes problems reading non-native endian dump images on sparc64. Adapted from changes in NetBSD.
2004-07-17some ansi; khalek@linuxgamers.netTheo de Raadt
2004-04-13fix restore so that it can actually restore files larger than 4GB byHenning Brauer
changing the type of "size" to off_t in getfiles() plus little dependent type cleanup, from Daniel Lucq <daniel@lucq.org> ok tdeval@ millert@ otto@
2003-07-29spacesTheo de Raadt
2003-07-28rcsid should say openbsd. make 'em const while here.Ted Unangst
2003-06-19Strip the newline from the buffer when reading the tape name duringTodd C. Miller
tape change. Closes PR 3324; OK krw@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-06strcat->strlcat, ho@ okAnil Madhavapeddy
2003-03-13more strlcpy; most from Hans-Joerg.Hoexer@yerbouti.franken.de, a bit from meTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-01-09Don't skip if TS_BITS or TS_CLRI, closed PR 1576. Fix supplied byAngelos D. Keromytis
sysadmin@astro.su.se
2000-09-14wrong type to ioctl; naddy@mips.inka.deTheo de Raadt
2000-06-16use TP_BSIZE (== BUFSIZ so no problem)Theo de Raadt
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1998-02-17chflags(2) take a u_intTodd C. Miller
1998-02-10allow tape blocksize > disk blocksize to work; dwmalone@maths.tcd.ieTheo de Raadt
1997-08-24More err()/warn()/etc. argument fixes.Jason Downs
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-05vprintf -> Vprintf and dprintf -> Dprintf to avoid confusionTodd C. Miller
Use err/errx and warn/warnx where it makes sense. Some sprintf -> snprintf, strcpy -> strncpy, and strcat -> strncat. Honor $TMPDIR (based on changes from NetBSD) Use __progname not "restore" (we could be called as rrestore). Some -Wall happiness.
1997-04-16No need for "pathnames.h" now that _PATH_DEFTAPE is in <paths.h>Todd C. Miller
Fix rmt -> rst in man page and change ".Nm restore" -> ".Nm"
1997-01-27Support lchown(2).Jason Downs
1996-12-27epilepsy in csrg?Theo de Raadt
1996-12-11from netbsd; repair byte swapping of fieldsTheo de Raadt
1996-12-0464 bit patches, tih@nhh.noTheo de Raadt
1996-09-01lose setuidTheo de Raadt
1996-03-21From NetBSD: Merge of 960317Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt