summaryrefslogtreecommitdiffstats
path: root/sbin/restore/interactive.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix sbin/ build with a 64-bit ino_t.mdf2012-09-271-1/+3
| | | | Original code by: Gleb Kurtsou
* - Cast time_t, int64_t and some int32_t values to intmax_t and use "%jd"jh2010-01-291-3/+3
| | | | | | | | | | | | | in format strings. - Use (void) instead of (void *) when discarding strcat(3) return value. - Format string fixes to match variable types. - Change canon() len parameter and getcmd() size parameter type from int to size_t. - Style Makefile and increase WARNS to 2. PR: bin/140061 Submitted by: uqs Approved by: trasz (mentor)
* Restore necessary NUL termination of locname.imp2009-01-281-0/+1
| | | | | Submitted by: ian dowse MFC after: 2 days
* Use safer string handling.imp2008-04-031-6/+4
| | | | Reviewed by: security-team
* Interpret correctly the glob(3) return value.dds2005-07-211-1/+7
| | | | | | | Previously, interactive commands specifying a non-existent file or directory used to display an "out of memory error". MFC after: 2 weeks
* rscid -> __FBSDID. Mark parameter as __unused when necessary.charnier2005-05-291-3/+4
|
* Use the correct types for the functions rst_opendir(), glob_readdir() andstefanf2004-05-241-5/+5
| | | | | | | rst_closedir() which are called by glob(). Reviewed by: md5 Approved by: das (mentor)
* Remove advertising clause from University of California Regent's license,markm2004-04-091-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Localize 'ls' outputache2003-08-061-4/+5
| | | | Don't set 8bit in quote processing
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-251-0/+1
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-1/+1
|
* o remove __Pimp2002-03-201-37/+19
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* Remove 'register' keyword.obrien2002-03-201-11/+11
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* Stop restore from looping under certain error conditions. Thisiedowse2000-12-121-6/+5
| | | | | | | | | corrects cases where restore would spew an infinite stream of "Changing volumes on pipe input?" messages, or would loop waiting for a response to the "set owner/mode for '.'" question. PR: bin/14250 Reviewed by: dwmalone
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix two possible non-exploitable buffer overflows.imp1998-12-161-3/+5
| | | | Thanks to: A friend at Sun auditing dump/restore for Solaris.
* Prevent buffer overflow with extra long arguments.imp1998-09-171-4/+2
|
* Add rcsid. Remove unused #includes. Add missing prototypes and others -Wallcharnier1998-07-281-6/+8
| | | | cleanings. Spelling.
* Merge from Lite2peter1997-03-111-16/+35
| | | | | | | | - 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.
* Apply patch from pr2536, after testing locally.imp1997-01-251-5/+6
| | | | | | | | Fixes: PR2446 and PR2536 Submitted by: Flemming Jacobsen <fj@tfs.com> 2.2 Candidate.
* Yet another buffer overflow.guido1997-01-011-4/+10
| | | | | | 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+755
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud