aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-21 01:25:02 -0500
committerRob Landley <rob@landley.net>2020-05-21 01:25:02 -0500
commit310eefe2956725ab1ae913a2eccf3f885e321c7f (patch)
treed6859b57cc8218ee2ade7b22531a6cd5e8ae078b /lib/portability.c
parentcedf9d9525f9d0203a56358f2ff45384f2519f4d (diff)
downloadtoybox-310eefe2956725ab1ae913a2eccf3f885e321c7f.tar.gz
David Legault reported that unescape2() doesn't handle \0 right
because scanf("0%o") needs a 0 _and_ one or more digits. So add it to the end of the \n translation list (where it returns the null terminator).
Diffstat (limited to 'lib/portability.c')
0 files changed, 0 insertions, 0 deletions