1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-11 00:49:02 +00:00
Files
nmap/ncat/test/test-addrset.sh
dmiller 46eb0fed75 Be more compatible with SysV sh
Although $((arithmetic expansion)) is POSIX-specified, some systems have
non-POSIX System V shell, which can't handle it. This patch replaces
$((something)) with $(expr something) to fix compatibility. This
actually slows things down considerably, since a subshell must be
launched for each increment operation, but the tests aren't that
critical. Bug report: http://seclists.org/nmap-dev/2013/q4/198
2013-12-03 19:11:12 +00:00

6.9 KiB
Executable File