summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-15 09:19:29 +0200
committerJim Meyering <meyering@redhat.com>2008-10-15 15:34:58 +0200
commit514b7fbc0069bbd53087561020b1562ccbcd11ee (patch)
tree2e828748c2f5a4de5e79f6e79335b0cfe54f3f4d /doc
parent555c219d9eff5b0b15be7c479a8efc81f59b0ffb (diff)
downloadcoreutils-514b7fbc0069bbd53087561020b1562ccbcd11ee.tar.xz
expr: don't interpret argv[0] as an operand
* src/expr.c (main): Given a first argument like -22 (negative, with two or more digits), expr would decrement optind to 0 and then attempt to evaluate argv[0].
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions