diff options
author | Ron Yorston <rmy@pobox.com> | 2023-04-27 07:31:23 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-04-27 07:31:23 +0100 |
commit | d0deef23fa6b228aea60b5599b5ba291ed0ad304 (patch) | |
tree | a722955c91cf1eff44d229d1a750188c8a875827 /arch | |
parent | cbbb73da90bac5029cbd58f4a8f148312768bc0f (diff) | |
download | busybox-w32-d0deef23fa6b228aea60b5599b5ba291ed0ad304.tar.gz busybox-w32-d0deef23fa6b228aea60b5599b5ba291ed0ad304.tar.bz2 busybox-w32-d0deef23fa6b228aea60b5599b5ba291ed0ad304.zip |
win32: code shrink quote_args()
Replace parts of quote_args() with code from avih's GitHub
PR #317.
This overestimates the size of the buffer to avoid having to
calculate the exact size.
Retain the code to determine whether the argument needs to be
quoted. Quoting arguments unconditionally wastes space on the
command line and causes the test "xargs argument line too long"
to fail.
Saves 144-176 bytes.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions