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

2017-01-11 Thread anonymous
URL:
  

 Summary: make hangs when it tries to execute script of less
than 2 bytes in size
 Project: make
Submitted by: None
Submitted on: Wed 11 Jan 2017 10:37:59 AM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: 4.2.1
Operating System: MS Windows
   Fixed Release: None
   Triage Status: None

___

Details:

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.



___

File Attachments:


---
Date: Wed 11 Jan 2017 10:37:59 AM UTC  Name: make-4.2.1-sub_proc.patch  Size:
904B   By: None
proposed patch


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


[bug #49661] syntax anomaly with order-only prereqs and pattern rules

2017-01-11 Thread Paul D. Smith
Update of bug #49661 (project make):

  Status:None => Not A Bug  
 Open/Closed:Open => Closed 

___

Follow-up Comment #3:

I'm going to close this.  Feel free to add comments if there is more to say.

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


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

2017-01-11 Thread Eli Zaretskii
Update of bug #50021 (project make):

Severity:  3 - Normal => 4 - Important  
  Status:None => Fixed  
 Open/Closed:Open => Closed 
   Fixed Release:None => SCM
   Triage Status:None => Small Effort   

___

Follow-up Comment #1:

Thanks, fixed.


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make