Re: [PATCH linux-next v2] fix make headers_install when path is too long

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

 



Le 29/04/2013 14:34, Bruce Ashfield a écrit :
On 13-04-29 08:15 AM, Nicolas Dichtel wrote:
If headers_install is executed from a deep/long directory structure, the
shell's maximum argument length can be execeeded, which breaks the operation
with:

| make[2]: execvp: /bin/sh: Argument list too long
| make[2]: ***

Instead of passing each files name with the entire path, I give only the file
name without the source path and give this path as a new argument to
headers_install.pl.

Because there is three possible paths, I have tree input-files list, one per
path.

This version still works for my test case.

Tested-by: Bruce Ashfield <bruce.ashfield@xxxxxxxxxxxxx>


Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
---
Should I do something more for this patch? It seems not included.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux