Added function escape_display_name() to double quote, if not already,
authorDavid Levine <levinedl@acm.org>
Fri, 23 Mar 2012 02:06:47 +0000 (21:06 -0500)
committerDavid Levine <levinedl@acm.org>
Fri, 23 Mar 2012 02:06:47 +0000 (21:06 -0500)
commitf423b06bf5ab4a966b17857f027a46e74447f438
tree6f9fe7705d7aab293f190ba24ea8252d924f50fa
parent393c9290adc27e6d85b780c2434f51f95ea6df5b
Added function escape_display_name() to double quote, if not already,
a fullname that contains any of the special characters listed in RFC
5322, and escape unescaped, embedded double quotes.

With this change, nmh should work with no special configuration on
Cygwin, even if the user's fullname is of the form server\name.
MACHINES
Makefile.am
h/prototypes.h
sbr/escape_display_name.c [new file with mode: 0644]
sbr/mts.c
test/format/test-myname
test/getfullname.c