patchmake - Patches: patch #6041, Crash in $(shell) on native win32...


You are not allowed to post comments on this tracker with your current authentication level.

patch #6041: Crash in $(shell) on native win32 when using sh.exe as shell

Submitted by:  Stephen Warren <srwarren>
Submitted on:  Fri 22 Jun 2007 08:10:24 PM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Fixed Release:  None

Sun 18 Jul 2010 11:51:52 PM UTC, comment #1:

Can someone (who knows Windows) take a look at this patch and see if it's still appropriate/necessary for the current CVS version (or the latest prerelease if you don't have CVS access)?

Paul D. Smith <psmith>
Project Administrator
Fri 22 Jun 2007 08:10:24 PM UTC, original submission:

I'm using mingw32-make-3.80.0-3 built with MSVC (Visual C++ Express 2005) running on Win32. I have a custom sh.exe that I use with make (in order to provide a non-Cygwin, but unix-like shell, for make).

When I execute $(shell) functions, make crashes due to usage of a file handle after closing it. The attached patch makes everything work for me, although it's more of a hack-around than a real fix...

Stephen Warren <srwarren>


Attached Files
file #13138:  shell_crash.patch added by srwarren (899B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by srwarren (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-22 srwarren Attached File- => Added shell_crash.patch, #13138

    Back to the top

    Powered by Savane 3.4