Bug #200

network file delete under Win10 sometimes fails

Added by J. Templ 5 months ago. Updated 5 months ago.

Status:ClosedStart date:06/30/2019
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7.2
Forum topic:https://forum.blackboxframework.org/posting.php?mode=post&f=40

Description

Under Windows 10 it has been observed that deleting a file on a network share sometimes
does not work. This is possibly related to using a virus scanner. However, repeating the
delete attempt does work and this leads to the proposed change appended below.

Reported by Rainer Neubauer, 2019-06-03

Associated revisions

Revision e68a4a2d
Added by J. Templ 5 months ago

bug fix for: network file delete under Win10 sometimes fails. Refs: #200.
as proposed by Rainer Neubauer.

Signed-off-by: Josef Templ <>

Revision 5644c2a7
Added by J. Templ 5 months ago

bug fix for: network file delete under Win10 sometimes fails. Refs: #200.
applied to Files64 too

Signed-off-by: Josef Templ <>

History

#1 Updated by J. Templ 5 months ago

In HostFiles.Delete change the following line
UNTIL (res # fileExistsErr) & (res # alreadyExistsErr) & (res # paramErr) & (res # sharingErr) OR (n = 0);
to
UNTIL (res # fileExistsErr) & (res # alreadyExistsErr) & (res # paramErr) & (res # sharingErr) & (res # accessDeniedErr) OR (n = 0);

#2 Updated by J. Templ 5 months ago

  • Forum topic set to https://forum.blackboxframework.org/posting.php?mode=post&f=40

#3 Updated by R. Campbell 5 months ago

  • Status changed from New to Closed

Also available in: Atom PDF