Commit Graph

4 Commits

Author SHA1 Message Date
simonb
61bb060b34 Include <string.h> for memcpy() prototype. 2001-03-12 03:20:10 +00:00
cgd
b42009b570 actually, don't define SHQUOTE_USE_MULTIBYTE 2001-03-10 22:37:54 +00:00
christos
fc701562b4 make these lint properly.
1. don't use MB_CUR_MAX, but MB_LEN_MAX because MB_CUR_MAX is a variable.
2. return a size_t type.
3. added const cond on do while macros.
4. remove unused variables and code,
2001-03-10 20:54:53 +00:00
cgd
360514740c Add shquote() and shquotev(). From the manual page:
The shquote() and shquotev() functions copy strings and transform the
     copies by adding shell escape and quoting characters.  They are used to
     encapsulate arguments to be included in command strings passed to the
     system() and popen() functions, so that the arguments will have the cor-
     rect values after being evaluated by the shell.
2001-03-10 01:51:49 +00:00