Skip to content

Set default command length limit to 64k#653

Merged
ejona86 merged 3 commits into
google:masterfrom
karthikrg:master
Jan 8, 2023
Merged

Set default command length limit to 64k#653
ejona86 merged 3 commits into
google:masterfrom
karthikrg:master

Conversation

@karthikrg

Copy link
Copy Markdown
Contributor

Various operating systems impose command length limits that are far short of the current Integer.MAX_VALUE default. For example, on MacOS 12.6.2, getconf ARG_MAX returns 1048576.

Hence set a reasonable default command line length limit of 64k.

@rougsig

rougsig commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator

cc #633

@karthikrg

Copy link
Copy Markdown
Contributor Author

@rougsig do you know why my test is failing. It says internal error and I don't seem to have access to check more?

@rougsig

rougsig commented Jan 7, 2023

Copy link
Copy Markdown
Collaborator

One moment.

@rougsig

rougsig commented Jan 7, 2023

Copy link
Copy Markdown
Collaborator

No logs. Looks like github problem. Restarted it.

@karthikrg

Copy link
Copy Markdown
Contributor Author

@rougsig I fixed the test and the codenarc failure, can you please rerun the workflow?

@rougsig

rougsig commented Jan 7, 2023

Copy link
Copy Markdown
Collaborator

@karthikrg done

@karthikrg

Copy link
Copy Markdown
Contributor Author

@rougsig Thank you. All checks passed. If it looks ok, can you review please?

@rougsig
rougsig requested review from ejona86 and rougsig January 7, 2023 22:58
@ejona86
ejona86 merged commit 4052f42 into google:master Jan 8, 2023
@Kaiserchen

Copy link
Copy Markdown

Narrator: "the default was not reasonable"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants