File: arg_max_32bit_linux_bug.exp

package info (click to toggle)
findutils 4.6.0%2Bgit%2B20161106-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,556 kB
  • ctags: 8,718
  • sloc: ansic: 94,340; sh: 10,069; yacc: 1,254; exp: 850; makefile: 802; python: 66; sed: 16
file content (12 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#
# See message from Jim Meyering. <87hdaam57n.fsf_-_@rho.meyering.net>
#
# This is because Linux's execve implementation requires that the sum of
# the sizes of all argument string pointers not exceed 128K (the actual
# limit is ARG_MAX - sizeof (void*)).  The difference between 32- and
# 64-bit systems is because sizeof (void*) differs (4 vs. 8).
#
# Tue Nov 22 19:36:49 2005: Use 'true' rather than 'echo', otherwise the
# differences in the value of ARG_MAX on various platforms will cause the
# test to fail.
xargs_start p { true } 32767-ys.xi