summaryrefslogtreecommitdiff
path: root/sbin/restore
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-01-21Rearrange variables in dump / restore to handle -fno-common.mortimer
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-04-27Restore mode on symlinksPhilip Guenther
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2016-12-26Put some variable declarations under appropriate #if/#endif protectionKenneth R Westerback
2016-07-28after getenv, check for empty string too. ok millertTed Unangst
2016-06-07per trending style, add continue to emtpy loop bodies.Ted Unangst
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-11-21add missing NAME entries; ok schwarzeJason McIntyre
2015-11-07Use linkat() instead of link() so that hardlinks of symlinks workPhilip Guenther
2015-08-25Switch from utimes() to utimensat() to $estore full nanosecond granularityPhilip Guenther
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-09-07Reuse xtrfile() to avoid duplication.Philip Guenther
2014-09-03Mark msg() and panic() as printf-like and fix the format error it turns upPhilip Guenther
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
2013-12-30Do not leak symtab fd (if at fd limit might even prevent correct operation)Theo de Raadt
2013-11-15Include unistd.h as it is the standard location for getopt().Todd C. Miller
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
2013-04-25big int_t/time_t fixes; ok deraadt@ krw@Otto Moerbeek
2013-04-24pretty print bigger off_tTheo de Raadt
2013-03-31typo fix from rodent@netbsd;Jason McIntyre
2013-03-05add a few words to the -r description to avoid ambiguity;Jason McIntyre
2013-01-17remove a uesless Pp;Jason McIntyre
2012-07-14replace (somewhat) magic numbers with constantsAlexander Hall
2011-12-23some spelling fixes, found using freebsd's "igor" document verifier;Jason McIntyre
2011-06-27remove some useless casts. ok krwTed Unangst
2010-07-20opration -> operationMiod Vallat
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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-25check fgets return valueCharles 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
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-13g/c unused varsTodd C. Miller
2007-05-01for the restore -r example:Jason McIntyre
2007-02-25reword some text to avoid a hideous Xr;Jason McIntyre
2007-02-25one application does not need five synopses;Jason McIntyre
2007-02-25move the text describing 4.3 syntax compatibility to HISTORY, ratherJason McIntyre
2007-02-22igor sobrado spotted that although we have mlinks for rdump andJason McIntyre