* util.h (convert_controls): Adjusted the comment to what the

function really does.
This commit is contained in:
Roland Illig 2004-09-26 18:36:54 +00:00
parent f54aef1cfc
commit c47cd9de68
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
2004-09-26 Roland Illig <roland.illig@gmx.de>
* pipethrough.c: #include <string.h> to compile on Solaris.
* util.h (convert_controls): Adjusted the comment to what the
function really does.
2004-09-26 Mike Gorchak <mike@malva.ua>

View File

@ -59,8 +59,10 @@ const char *skip_separators (const char *s);
const char *skip_numbers (const char *s);
char *strip_ctrl_codes (char *s);
/* in-place conversion. returns s. */
char *convert_controls (char *s);
/* Replaces "\\E" and "\\e" with "\033". Replaces "^" + [a-z] with
* ((char) 1 + (c - 'a')). The same goes for "^" + [A-Z].
* Returns a newly allocated string. */
char *convert_controls (const char *s);
/* overwrites passwd with '\0's and frees it. */
void wipe_password (char *passwd);