summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2015-04-18 18:59:07 +0300
committerTony Cook <tony@develop-help.com>2015-06-03 11:25:56 +1000
commit87d9837674dfb6ff391470e04bc610a6c11f58f2 (patch)
treefbae0596c1691471350e7f36e6952b8bc74d98f5 /perlio.h
parentc53481e75d6e6f7e5c3c838b3545b07a959c67cc (diff)
downloadperl-87d9837674dfb6ff391470e04bc610a6c11f58f2.tar.gz
Fix quote() function to escape backslashes but not minus signs
The delimiter character isn't special in character square brackets, and neither is the backslash. So '\-\' means just a range of backslash to backslash, and the minus sign isn't included at all. Substitution tested with GNU Solaris 9 sed programs. Originally noticed by Kristoffer Grundstr?m. Bug-Debian: https://bugs.debian.org/754057
Diffstat (limited to 'perlio.h')
0 files changed, 0 insertions, 0 deletions