This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
configpm: handle multi-line key='value\n...'
authorDavid Mitchell <davem@iabyn.com>
Mon, 18 Apr 2011 18:29:52 +0000 (19:29 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 18 Apr 2011 18:29:52 +0000 (19:29 +0100)
commitebf3760c26025a6c498c5d5dd2c9d1a8a46be64b
tree5931c8a9a9f8133dbedffbcf5c0c18b47abf3a9b
parent3b0f6d32e15e74a4df6d5451b750a04a869d1d26
configpm: handle multi-line key='value\n...'

There is old code in configpm to handle mulit-line entries in config.sh
along the lines of

    plibpth='/lib/x86_64-redhat-linux/4.4.5/
    /lib/../lib64/
    /usr/lib/x86_64-redhat-linux/4.4.5/
    /usr/lib/../lib64/
    /lib/
    /usr/lib/'

which was broken, and produced
    Use of uninitialized value $1
warnings, and messed up the content of lib/Config_heavy.pl.

We probably normally don't have multi-line entries, which is why no-one
noticed it before, but 40f026236b9959b7ad3260fedc6c66cd30bb7abc
has started generating the entry above.
configpm