mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-17 05:40:54 +00:00
util: handle \s escape as defined in the XDG spec properly in cunescape()
This commit is contained in:
@@ -1182,6 +1182,11 @@ char *cunescape_length(const char *s, size_t length) {
|
||||
*(t++) = '\'';
|
||||
break;
|
||||
|
||||
case 's':
|
||||
/* This is an extension of the XDG syntax files */
|
||||
*(t++) = ' ';
|
||||
break;
|
||||
|
||||
case 'x': {
|
||||
/* hexadecimal encoding */
|
||||
int a, b;
|
||||
|
||||
Reference in New Issue
Block a user