summaryrefslogtreecommitdiff
path: root/usr.sbin/wsfontload
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-04-03 18:23:37 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-04-03 18:23:37 +0000
commit3bb8d1fe39dbfb4455daeb6363e9190c38bad716 (patch)
tree896c51983238dd6de7108213444d2fe68edac80f /usr.sbin/wsfontload
parent1e092f81d830dd56464f1a203bfb697c8be90565 (diff)
Simplify read_string() to just read the characters between the '"'s.
Push the un-vising up to parse_string(). This allows both the actual string and the un-vised version to be available as desired. Use memcpy() instead of strdup() to copy un-vised string since it may legitimately contain NUL.
Diffstat (limited to 'usr.sbin/wsfontload')
0 files changed, 0 insertions, 0 deletions