| Summary: | dump(8) doesn't seem to correctly grok the -T option. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | sgreear <sgreear> |
| Component: | bin | Assignee: | dd <dd> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.3-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->analyzed Committed, thanks! Responsible Changed From-To: freebsd-bugs->dd My MFC reminder. State Changed From-To: analyzed->closed MFC'd |
Executing: dump -f - -T "Sat Jun 9 18:05:38 2001" /archive/temp Reports: Must specify disk or filesystem whereas Executing: dump -f - -T "Sat Jun 9 18:05:38 2001" . /archive/temp results in the desired activity. Note the "." after the date string. dump appears to do argc--; argv++; one too many times when the -T option is specified. Fix: case 'u': /* update /etc/dumpdates */--B5yNSN6EbeYmMX1bAHCWIuSuxPeuZOyp77BZnCpLh54FH2RW Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- oldmain.c Sat Jun 9 19:04:44 2001 +++ main.c Sat Jun 9 19:04:58 2001 @@ -191,8 +191,6 @@ } Tflag = 1; lastlevel = '?'; - argc--; - argv++; break;