Opened 8 years ago

Closed 3 years ago

#34 closed defect (fixed)

Canceled deletion deletes anyway but reports no file(s) deleted

Reported by: Lewis Rosenthal Owned by: Gregg Young
Priority: trivial Milestone: Version-3.10
Component: Commands Version: 3.08
Keywords: Cc:

Description

Pressing Ctrl-C during a del operation results in the current deletion completing, yet not being counted as a deleted file in the resulting report. In addition, the bytes freed count is incorrect (too low).

Example:

[j:\]del some-huge-file.dat
Deleting J:\some-huge-file.dat
^C
     0 files deleted      18,587,648 bytes freed

[j:\]del some-huge-file.dat /f
There are no more files. "J:\some-huge-file.dat"
     0 files deleted

[j:\]undelete /f some-huge-file.dat
Discarding J:\some-huge-file.dat.

J:\SOME-HUGE-FILE.DAT
Do you want to discard this file (Y/N)?
y

The file in question was 756,717,655 bytes in length. Allowing for space on disk, surely more than 18,587,648 bytes had to have been freed.

Change History (3)

comment:1 by Steven Levine, 6 years ago

Milestone: Version-3.09Version-3.10

Ticket retargeted after milestone closed

comment:2 by Gregg Young, 3 years ago

Owner: set to Gregg Young
Status: newaccepted

comment:3 by Gregg Young, 3 years ago

Resolution: fixed
Status: acceptedclosed

Rev 38300

Note: See TracTickets for help on using tickets.