(quotearg_buffer_restyled):
authorJim Meyering <jim@meyering.net>
Tue, 22 Jan 2002 08:02:22 +0000 (08:02 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 22 Jan 2002 08:02:22 +0000 (08:02 +0000)
commit3f5118627d44aeb2b0398265811d7d48acdd82d1
tree775e0119ba315e14aef1aa54571a15e48fdd5ce6
parent9690d2eda4d5054dce5b14fdc9db602e8292493e
(quotearg_buffer_restyled):
Fix bug with quoting buffers containing NUL when backslashing escapes.
This bug was exposed by the other changes in this patch.
(quotearg_n_options): New arg ARGSIZE.
All callers changed.
(quoting_options_from_style): New function.
(quotearg_n_style): Use it.
(quotearg_n_style_mem): New function.
lib/quotearg.c