Mercurial > hg > octave-shane > gnulib-hg
diff lib/system-quote.h @ 16844:d6e95ab13906
system-quote: Refactor.
* lib/system-quote.h (system_quote_copy): Fix comment.
* lib/system-quote.c (windows_createprocess_quote, windows_cmd_quote):
New functions, extracted from system_quote_copy.
(system_quote_length, system_quote_copy): Use these functions.
Reported by Paul Eggert.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 10 May 2012 13:52:21 +0200 |
parents | afc7e3b9f04a |
children | ae444fc80840 |
line wrap: on
line diff
--- a/lib/system-quote.h +++ b/lib/system-quote.h @@ -58,7 +58,7 @@ const char *string); /* Copies the quoted string to p and returns the incremented p. - There must be room for shell_quote_length (string) + 1 bytes at p. */ + There must be room for system_quote_length (string) + 1 bytes at p. */ extern char * system_quote_copy (char *p, enum system_command_interpreter interpreter,