Edge case in single quote escaping
lu-zero opened this issue · comments
Luca Barbato commented
Here the testcase
escape.pc
Name: Escape
Version: 4.2.0
Description: Escape utility library
Libs: -Llink\ path\ with\ spaces
Cflags: -DA=\"escaped\ string\'\ literal\"
Here the different handling:
pkg-config escape --cflags
-DA=\"escaped\ string\'\ literal\"
pkgconf escape --cflags
-DA=\"escaped\ string\\\'\ literal\"
Ariadne Conill commented
Fixed in pending 1.9.5 release, thanks!