mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* util.h (convert_controls): Adjusted the comment to what the
function really does.
This commit is contained in:
parent
f54aef1cfc
commit
c47cd9de68
@ -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>
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user