]> Savannah Git Hosting - gnulib.git/commit
maint.mk: Split long argument lists
authorRoman Bolshakov <r.bolshakov@yadro.com>
Thu, 13 Dec 2018 15:34:52 +0000 (18:34 +0300)
committerEric Blake <eblake@redhat.com>
Wed, 2 Jan 2019 20:06:45 +0000 (14:06 -0600)
commit64e5ddb08f39360494b8298c1d249c8813949749
tree0b51978bd655d471957cd68edc1500fc2518a8ef
parent4652c7bafa60332145f1e05a7de5f48e1bc56226
maint.mk: Split long argument lists

$(VC_LIST_EXCEPT) is usually expanded into arguments for a command.
When a project contains too many, some operating systems can't pass all
the arguments because they hit the limit of arguments. FreeBSD and macOS
are known to have the exec limit of 256k memory used by arguments.

More on the issue:
http://lists.gnu.org/archive/html/bug-gnulib/2015-08/msg00019.html
https://www.redhat.com/archives/libvir-list/2015-August/msg00758.html

xargs without flags can be used to limit number of arguments, coupled
with use of the shell's built-in echo which is not subject to the exec
limits.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20181213153453.38123-2-r.bolshakov@yadro.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
top/maint.mk