summaryrefslogtreecommitdiff
path: root/sbin/restore/tape.c
AgeCommit message (Expand)Author
2008-09-03Start with a max size tape buffer rather than one 1/2 the max (i.e.Kenneth R Westerback
2007-09-25remove unneeded feofCharles Longeau
2007-09-13use strcspn to properly overwrite '\n' in fgets returned bufferCharles Longeau
2007-09-07check fgets return valueCharles Longeau
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-03Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.Todd C. Miller
2005-06-14Kill whiteout support. OK deraadt@ and beck@Todd C. Miller
2004-12-30Replace home-grown byte swapping routine with calls to swap* macrosTodd C. Miller
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
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
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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
2001-11-05kill more registers;Mike Pechkin
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
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
1997-04-16No need for "pathnames.h" now that _PATH_DEFTAPE is in <paths.h>Todd C. Miller
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