summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorMikael Voss <mvs@nyantec.com>2025-04-18 13:41:53 +0200
committerMikael Voss <mvs@nyantec.com>2025-04-18 13:41:53 +0200
commit487a002c6387b95fc65aeb4a056ef208cba7a72b (patch)
tree28a22db063088d35129bd21f892ced36f62505f4 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent76614a7c50c810df8fdc99663dc30a854427952a (diff)
lib/strings: Zero‐pad hex digits in escapeC
lib.strings.escapeC produces single‐digit hexadecimal strings for character values ≤ 15, which results in an ambiguity. If the following character is a hex digit, it will be interpreted as being part of the escape sequence. systemd, which also relies on C‐style escape sequences, does not decode single‐digit sequences at all, even if unambiguous. Padding the hexadecimal string with "0" avoids this problem.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions