bugmake - Bugs: bug #50021, make hangs when it tries to...

 
 

bug #50021: make hangs when it tries to execute script of less than 2 bytes in size

Submitted by:  None
Submitted on:  Wed 11 Jan 2017 10:37:59 AM UTC  
 
Severity: 4 - ImportantItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 4.2.1Operating System: MS Windows
Fixed Release: SCMTriage Status: Small Effort

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 11 Jan 2017 06:46:13 PM UTC, comment #1:

Thanks, fixed.

Eli Zaretskii <eliz>
Project Member
Wed 11 Jan 2017 10:37:59 AM UTC, original submission:

Steps to reproduce:

1) unpack archive: tar -xf make-4.2.1.tar.gz
2) run dos prompt: cmd.exe
3) setup compiler: "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
4) go to sources: cd make-4.2.1
5) do compile: build_w32.bat --without-guile
6) create script: echo|set /p="1" > script.cmd
7) create makefile: echo all:;script.cmd > bug.mk
8) execute makefile: WinRel\gnumake.exe -f bug.mk

make hangs with output:

script.cmd
gnumake: *** Error -1
. Stop.
gnumake: *** Waiting for unfinished jobs....

Best Regards,
Michael M. Builov.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #39431:  make-4.2.1-sub_proc.patch added by None (904B - application/octet-stream - proposed patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by eliz (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jan 2017 06:46:13 PM UTCelizSeverity3 - Normal=>4 - Important
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>SCM
      Triage StatusNone=>Small Effort
    Wed 11 Jan 2017 10:37:59 AM UTCNoneAttached File-=>Added make-4.2.1-sub_proc.patch, #39431

    Back to the top


    Powered by Savane 3.1-cleanup1