summaryrefslogtreecommitdiffstats
path: root/sbin/restore/main.c
Commit message (Collapse)AuthorAgeFilesLines
* more file system > filesystemtrhodes2002-05-161-2/+2
|
* o remove __Pimp2002-03-201-8/+4
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* Documentation fixes:cjc2001-10-021-5/+5
| | | | | | | - The '-d' option was not documented on the manpage or in the usage message. - The '-N' option was not included in the usage.
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,obrien2001-03-081-1/+1
| | | | and remove leading `r'(aw) from it.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add rcsid. Remove unused #includes. Add missing prototypes and others -Wallcharnier1998-07-281-7/+7
| | | | cleanings. Spelling.
* Well, nobody objected, so here's my -u (unlink) flag to restore.jkh1998-05-091-7/+11
|
* Implement Kerberized rcmd for rdump/rrestore. This is lacking thewollman1997-04-291-6/+17
| | | | | | | options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.)
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-14/+19
| | | | | | | | - cleanups, - whiteout support - bug fixes (chflags missing on a few file types etc) The dump/restore folks would want to have a closer look at this, the change is pretty big.
* Yet another buffer overflow.guido1997-01-011-2/+2
| | | | | | 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh
* Various security related deltas from OpenBSDimp1997-01-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dirs.c: From OpenBSD 1.2, 1.3, 1.5, 1.8, 1.10, 1.11, 1.12 1.2: use unique temporary files; netbsd pr#2544; lukem@supp.cpr.itg.telecom.com.au 1.3: updated patch from lukem@supp.cpr.itg.telecom.com.au to also make -r and -R work again 1.5: mktemp open & fdopen 1.8: /tmp// -> /tmp/ 1.10: Fix strncpy usage and correct strncat length field, from Theo. Also change some occurrence of MAXPATHLEN with sizeof(foo). 1.11: does noone know how to use strncat correctly? 1.12: use mkstemp() From NetBSD: Use open rather than create so we can specify exclusive open mode. main.c: From OpenBSD 1.2, 1.5 1.2: From NetBSD: support $TAPE. 1.5 Set umask to be read only by owner until we set real file permissions. tape.c: From NetBSD: Use open rather than create so we can specify exclusive open mode.
* When running 'rrestore foo', you get a segmentation fault becausejkh1996-07-231-1/+3
| | | | | | | | the obsolete() function to convert dump-style args to getopt-style args doesn't check to see that 'f' really has an argument following the option string in argv[1]. Submitted-By: jmacd
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+345
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud