projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint: update copyright
[gnulib.git]
/
lib
/
sh-quote.c
diff --git
a/lib/sh-quote.c
b/lib/sh-quote.c
index
ae44271
..
a97be57
100644
(file)
--- a/
lib/sh-quote.c
+++ b/
lib/sh-quote.c
@@
-1,5
+1,5
@@
/* Shell quoting.
/* Shell quoting.
- Copyright (C) 2001-2004, 2006, 2009-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2001-2004, 2006, 2009-201
4
Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
@@
-69,11
+69,11
@@
shell_quote (const char *string)
/* Returns a freshly allocated string containing all argument strings, quoted,
separated through spaces. */
char *
/* Returns a freshly allocated string containing all argument strings, quoted,
separated through spaces. */
char *
-shell_quote_argv (char **argv)
+shell_quote_argv (char *
const
*argv)
{
if (*argv != NULL)
{
{
if (*argv != NULL)
{
- char **argp;
+ char *
const
*argp;
size_t length;
char *command;
char *p;
size_t length;
char *command;
char *p;