Subject: | Glib::MakeHelper::postamble_docs_full fails to escape / in copyright |
Date: | Mon, 4 May 2009 01:17:04 -0700 |
To: | bug-Glib [...] rt.cpan.org |
From: | Punyashloka Biswal <punya [...] cs.washington.edu> |
Distribution: Glib-1.221
Perl: 5.10.0
Platform: Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17
01:57:59 UTC 2009 i686 GNU/Linux
Between Glib-1.220 and Glib-1.221,
Glib::MakeHelper::postamble_docs_full switched from braces to forward
slashes to quote the copyright string in the command it generates for
inclusion in the Makefile. Unfortunately, it doesn't escape forward
slashes inside the copyright string, which has the unfortunate
consequence that the string literal terminates prematurely. Then perl
tries to interpret the remaining text after the forward slash, and
fails with an error.
I noticed this bug while dealing with the GNU-style copyright for
Clutter, which uses the expression "and/or." I imagine lots of similar
copyright messages exist in other distributions.
Punya