summaryrefslogtreecommitdiffstats
path: root/sbin/restore
AgeCommit message (Expand)AuthorFilesLines
2021-01-21Rearrange variables in dump / restore to handle -fno-common.mortimer2-3/+5
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt4-21/+21
2018-04-27Restore mode on symlinksguenther1-1/+3
2017-01-21Nuke whitespace foolish enough to expose itself during the greatkrw4-41/+41
2016-12-26Put some variable declarations under appropriate #if/#endif protectionkrw1-1/+3
2016-07-28after getenv, check for empty string too. ok millerttedu1-3/+3
2016-06-07per trending style, add continue to emtpy loop bodies.tedu1-3/+3
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2015-12-10Remove NULL-checks before free(). ok tb@mmcc1-3/+2
2015-11-21add missing NAME entries; ok schwarzejmc1-3/+4
2015-11-07Use linkat() instead of link() so that hardlinks of symlinks workguenther1-2/+4
2015-08-25Switch from utimes() to utimensat() to $estore full nanosecond granularityguenther2-21/+21
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orderaadt3-6/+3
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt6-31/+35
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert1-2/+2
2014-09-07Reuse xtrfile() to avoid duplication.guenther3-16/+9
2014-09-03Mark msg() and panic() as printf-like and fix the format error it turns upguenther2-5/+7
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,guenther2-5/+3
2014-07-20Make sure the correct errno is reported by warn* or err* and notguenther1-3/+8
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).schwarze1-3/+3
2013-12-30Do not leak symtab fd (if at fd limit might even prevent correct operation)deraadt1-1/+2
2013-11-15Include unistd.h as it is the standard location for getopt().millert1-1/+2
2013-08-14no longer any need to quote macro lines with >9 args;jmc1-3/+3
2013-04-25big int_t/time_t fixes; ok deraadt@ krw@otto2-9/+10
2013-04-24pretty print bigger off_tderaadt5-40/+51
2013-03-31typo fix from rodent@netbsd;jmc1-3/+3
2013-03-05add a few words to the -r description to avoid ambiguity;jmc1-3/+3
2013-01-17remove a uesless Pp;jmc1-3/+2
2012-07-14replace (somewhat) magic numbers with constantshalex1-3/+3
2011-12-23some spelling fixes, found using freebsd's "igor" document verifier;jmc1-4/+4
2011-06-27remove some useless casts. ok krwtedu4-25/+24
2010-07-20opration -> operationmiod1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt7-69/+7
2008-09-03Start with a max size tape buffer rather than one 1/2 the max (i.e.krw1-3/+4
2007-09-25remove unneeded feofchl1-4/+3
2007-09-25check fgets return valuechl1-9/+9
2007-09-13use strcspn to properly overwrite '\n' in fgets returned bufferchl1-8/+9
2007-09-07check fgets return valuechl1-10/+8
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt3-9/+9
2007-06-03Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes.millert3-165/+247
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-13g/c unused varsmillert1-4/+4
2007-05-01for the restore -r example:jmc1-4/+4
2007-02-25reword some text to avoid a hideous Xr;jmc1-2/+2
2007-02-25one application does not need five synopses;jmc2-36/+6
2007-02-25move the text describing 4.3 syntax compatibility to HISTORY, ratherjmc1-6/+6
2007-02-22igor sobrado spotted that although we have mlinks for rdump andjmc1-6/+14
2006-11-03correctify example;jmc1-2/+2
2006-10-18do not name FILE * variables "fd" since it is confusingderaadt1-11/+11
2006-03-20NetBSD Coverity CID 2305: Fix memory leak.dhill1-2/+4