bug-make
[Top][All Lists]
Advanced

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

Re: [bug #53201] Target runs incorrect command when shebang line exceeds


From: David Boyce
Subject: Re: [bug #53201] Target runs incorrect command when shebang line exceeds kernel limit
Date: Thu, 22 Feb 2018 05:16:55 -0800

On Thu, Feb 22, 2018 at 4:42 AM, <address@hidden> wrote:
Casey McGinty writes:
 > Follow-up Comment #2, bug #53201 (project make):
 >
 > See http://man7.org/linux/man-pages/man2/execve.2.html
 >
 > *A maximum line length of 127 characters is allowed for the first line in an
 > interpreter script.*

 I think this is referring to the '#!' line of a script, not internal
 kernel limits.  This limitation should not affect Gnu Make recipes.

Well, the #! limit is a kernel limit too. But your point that it shouldn't affect GNU make recipes (directly) is a good one since make invokes recipes via "/bin/sh -c recipe" without ever using a shebang. I have to admit I'm a little lost on where the shebang limit is coming in here but it does seem to be somehow.


reply via email to

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