[BACK]Return to vis.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/vis.c between version 1.64 and 1.65

version 1.64, 2014/09/26 05:01:44 version 1.65, 2014/09/26 13:48:00
Line 216  do_mbyte(wchar_t *dst, wint_t c, int fla
Line 216  do_mbyte(wchar_t *dst, wint_t c, int fla
                                 *dst++ = L'0';                                  *dst++ = L'0';
                         }                          }
                         return dst;                          return dst;
                   /* We cannot encode these characters in VIS_CSTYLE
                    * because they special meaning */
                   case L'n':
                   case L'r':
                   case L'b':
                   case L'a':
                   case L'v':
                   case L't':
                   case L'f':
                   case L's':
                   case L'0':
                   case L'M':
                   case L'^':
                           break;
                 default:                  default:
                         if (iswgraph(c)) {                          if (iswgraph(c) && !iswoctal(c)) {
                                 *dst++ = L'\\';                                  *dst++ = L'\\';
                                 *dst++ = c;                                  *dst++ = c;
                                 return dst;                                  return dst;

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

CVSweb <webmaster@jp.NetBSD.org>