[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #38626] make fails on windows with antivirus software

From: anonymous
Subject: [bug #38626] make fails on windows with antivirus software
Date: Fri, 29 Mar 2013 15:09:04 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22


                 Summary: make fails on windows with antivirus software
                 Project: make
            Submitted by: None
            Submitted on: Fri 29 Mar 2013 03:09:03 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: MS Windows
           Fixed Release: None
           Triage Status: None



When make runs on windows using batch files to execute external programs, it
doesn't handle correctly situation when file creation fails because delete is
still pending.
This behaviour of CreateFile is mentioned here:
Make then fails with 'permission denied' (increasing user confusion)

This problem is quite rare, usual resolution is to disable antivirus software
or try again. It is masked a bit because make first tries temporary directory,
then ./, both must fail.

Attached is patch that waits before giving up.
On my system it does sometimes take nearly one second to create new file
(Process Monitor from Sysinternals and search for 'DELETE PENDING' result).


File Attachments:

Date: Fri 29 Mar 2013 03:09:03 PM UTC  Name: make.patch  Size: 812B   By: None



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]