mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Switch from ARG_MAX to getting value from sysconf, glibc no longer defines the latter. This was reported from Peter Alfredsen Matthew Wesley, among other people.
darcs-hash:20090201132329-ac50b-5b9d54731c2ea2da3868fd492e68628b7684bb76.gz
This commit is contained in:
parent
dad549afd1
commit
36c3bd4e8d
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
@ -583,7 +583,7 @@ static void launch_process( process_t *p )
|
|||
if( arg_max > 0 )
|
||||
{
|
||||
|
||||
sb_format_size( &sz2, ARG_MAX );
|
||||
sb_format_size( &sz2, arg_max );
|
||||
|
||||
debug( 0,
|
||||
L"The total size of the argument and environment lists (%ls) exceeds the operating system limit of %ls.",
|
||||
|
|
Loading…
Reference in a new issue