bug-make
[Top][All Lists]
Advanced

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

[bug #30748] Segmentation violation for SHELL with "strange" character


From: Petr Machata
Subject: [bug #30748] Segmentation violation for SHELL with "strange" character
Date: Thu, 12 Aug 2010 12:31:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.7) Gecko/20100723 Fedora/3.6.7-1.fc13 Firefox/3.6.7

Follow-up Comment #1, bug #30748 (project make):

It seems appending the shell flag "-c" was dropped between the releases:

$ strace -f make -f ../y.mk # or really snip thereof
[pid 16358] execve("/bin/sh", ["/bin/sh", "-c", "python^ -c print\ 7"], [/*
48 vars */]) = 0
$ strace -f ./make -f ../y.mk # again, a snip thereof
[pid 16372] execve("/bin/sh", ["/bin/sh", "python^ -c print\ 7"], [/* 48 vars
*/]) = 0

I'm attaching a patch that fixes this by setting shellflags to default value
"-c" if not set.  That renders my earlier patch unnecessary.

(file #21203)
    _______________________________________________________

Additional Item Attachment:

File name: make-3.82-weird-shell.patch    Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30748>

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




reply via email to

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