diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-05-02 17:46:37 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-05-02 17:46:37 +0200 |
commit | 35d7272b07fbbdc21c13b963e042aaf62481430a (patch) | |
tree | 0307a0b300a6d859e868330f55136989a6b83673 /TODO.md | |
parent | libq/cache: fix handling of (escaped) quotes in cache_read_file_ebuild (diff) | |
download | portage-utils-35d7272b07fbbdc21c13b963e042aaf62481430a.tar.gz portage-utils-35d7272b07fbbdc21c13b963e042aaf62481430a.tar.bz2 portage-utils-35d7272b07fbbdc21c13b963e042aaf62481430a.zip |
libq/cache: implement escape processing in cache_read_file_ebuild
- replace escapes (\\ -> \, \" -> ")
- replace line-continuation escape+nl by space
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -11,14 +11,14 @@ - multiline reads don't yet work for quse/qsearch - standardize/unify/clean up misc handling of colors + define rules: + BOLD CATEGORY/ BLUE PKG GREEN ::REPO NORM [ MAGENTA USE NORM ] - remove odd rmspace for each string in libq/set.c (allows a lot less malloc/frees) - make set.c to array (xarray) instead of C-array (list) -- equiv of `equery m` (metadata) - - env vars only get expanded once, so this fails:<br> `ACCEPT_LICENSE="foo"`<br> `ACCEPT_LICENSE="${ACCEPT_LICENSE} bar"`<br> @@ -30,8 +30,6 @@ - vdb repo/slot think about when it is freed (see cache\_pkg\_close) -- cache:cache\_read\_file\_ebuild deal with \\\\n sequences - - qcache -> rename to qkeyword - quse -K -> move to qkeyword |