/[global]/global/libutil/char.c
ViewVC logotype

Diff of /global/libutil/char.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by shigio, Sat Apr 2 01:27:52 2005 UTC revision 1.6 by shigio, Tue Apr 5 12:58:26 2005 UTC
# Line 84  char *s; Line 84  char *s;
84  {  {
85          STATIC_STRBUF(sb);          STATIC_STRBUF(sb);
86    
87          strbuf_init(sb);          strbuf_clear(sb);
88          for (; *s; s++) {          for (; *s; s++) {
89                  strbuf_putc(sb, '\\');                  strbuf_putc(sb, '\\');
90                  strbuf_putc(sb, *s);                  strbuf_putc(sb, *s);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26