CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/03/01 07:31:34
Modified files: usr.bin/less : funcs.h line.c Log message: Start UTF-8 cleanup of store_char(), in particular getting rid of a call to the flawed function step_char(-1), using the standard function mbtowc(3) instead. Merge in in_ansi_esc_seq(), simplifying the code, and make the related functions is_ansi_end() and is_ascii_char() static because they are used in line.c only. OK nicm@, and no opposition when shown on tech@