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 - Important Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.2.1 Operating System:  MS Windows
Fixed Release:  4.3 Triage 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 Files:
   
   
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
  • -email is unavailable- added by eliz (Posted a comment)
  •  

    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.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-11 eliz Severity3 - Normal => 4 - Important
        StatusNone => Fixed
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3
        Triage StatusNone => Small Effort
    2017-01-11 None Attached File- => Added make-4.2.1-sub_proc.patch, #39431

    Back to the top


    Powered by Savane 3.7