; * lib-src/etags.c (escape_shell_arg_string): Minor doc fix.
This commit is contained in:
parent
43b7e7efbf
commit
40af27859e
1 changed files with 3 additions and 3 deletions
|
@ -7722,12 +7722,12 @@ etags_mktmp (void)
|
||||||
|
|
||||||
#if !MSDOS && !defined (DOS_NT)
|
#if !MSDOS && !defined (DOS_NT)
|
||||||
/*
|
/*
|
||||||
* Adds single quotes around a string, if found single quotes, escaped it.
|
* Add single quotes around a string, and escape any single quotes.
|
||||||
* Return a newly-allocated string.
|
* Return a newly-allocated string.
|
||||||
*
|
*
|
||||||
* For example:
|
* For example:
|
||||||
* escape_shell_arg_string("test.txt") => 'test.txt'
|
* escape_shell_arg_string ("test.txt") => "'test.txt'"
|
||||||
* escape_shell_arg_string("'test.txt") => ''\''test.txt'
|
* escape_shell_arg_string ("'test.txt") => "''\''test.txt'"
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
escape_shell_arg_string (char *str)
|
escape_shell_arg_string (char *str)
|
||||||
|
|
Loading…
Add table
Reference in a new issue