]> git.ipfire.org Git - thirdparty/mlmmj.git/commit
Fix backslash escaping mechanism.
authorBen Schmidt <none@none>
Tue, 28 Feb 2012 13:03:46 +0000 (00:03 +1100)
committerBen Schmidt <none@none>
Tue, 28 Feb 2012 13:03:46 +0000 (00:03 +1100)
commitedcc9f473ad435b62d34abc315d0320ce45fb570
treed73b45fc458521a4abe14e6f973940448cf1565d
parentb679d874ea48aa4364d2b6ed9f3866f5595cb8df
Fix backslash escaping mechanism.
Ensuring:
- double backslash can't effectively recurse and form part of another escape
  sequence (because backslash is treated both in unistr.c and prepstdreply.c)
- other non-unicode escapes aren't ignored (because they are turned into
  question marks in unistr.c)
- first lines of included files don't 'escape' escaping because they are
  retrieved in begin_new_*() rather than get_processed_text_line().
- files intended to be included transparently aren't escaped, and upcoming
  lines aren't doubly escaped
ChangeLog
include/unistr.h
src/prepstdreply.c
src/unistr.c