diff options
author | Bruno Haible <bruno@clisp.org> | 2012-05-10 13:52:21 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-05-10 13:52:21 +0200 |
commit | 150ce1bef700d6a3e56861c3a316da64be93d880 (patch) | |
tree | bcef81ebac38ffe0306c3b4a1d5eabac46f367fd /lib/system-quote.h | |
parent | aa3de1af836fb58f4d28214154afc804e85e49f9 (diff) | |
download | gnulib-150ce1bef700d6a3e56861c3a316da64be93d880.tar.gz |
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.
Diffstat (limited to 'lib/system-quote.h')
-rw-r--r-- | lib/system-quote.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system-quote.h b/lib/system-quote.h index c2c50c5a26..d5f29780b7 100644 --- a/lib/system-quote.h +++ b/lib/system-quote.h @@ -58,7 +58,7 @@ extern size_t 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, |