diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2004-10-29 09:06:05 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2004-10-29 09:06:05 +0000 |
commit | 3add449a170be706377b66bee46af25633bc945c (patch) | |
tree | 7415df14a37624ff0b24fd40bde079927a88c28a /sysutils/bacula-server/files/patch-src-console-console.c | |
parent | 975af646f278430e563b72219a2c3055b211eb1a (diff) |
Notes
Diffstat (limited to 'sysutils/bacula-server/files/patch-src-console-console.c')
-rw-r--r-- | sysutils/bacula-server/files/patch-src-console-console.c | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/sysutils/bacula-server/files/patch-src-console-console.c b/sysutils/bacula-server/files/patch-src-console-console.c deleted file mode 100644 index bbdf05da6702..000000000000 --- a/sysutils/bacula-server/files/patch-src-console-console.c +++ /dev/null @@ -1,63 +0,0 @@ -*** src/console/console.c.orig Sun Jun 20 13:43:02 2004 ---- src/console/console.c Sat Jul 3 10:48:13 2004 -*************** -*** 63,69 **** - - /* Forward referenced functions */ - static void terminate_console(int sig); -! int get_cmd(FILE *input, const char *prompt, BSOCK *sock, int sec); - static int do_outputcmd(FILE *input, BSOCK *UA_sock); - void senditf(const char *fmt, ...); - void sendit(const char *buf); ---- 63,69 ---- - - /* Forward referenced functions */ - static void terminate_console(int sig); -! int get_cmd(FILE *input, char *prompt, BSOCK *sock, int sec); - static int do_outputcmd(FILE *input, BSOCK *UA_sock); - void senditf(const char *fmt, ...); - void sendit(const char *buf); -*************** -*** 200,206 **** - - static void read_and_process_input(FILE *input, BSOCK *UA_sock) - { -! const char *prompt = "*"; - bool at_prompt = false; - int tty_input = isatty(fileno(input)); - int stat; ---- 200,206 ---- - - static void read_and_process_input(FILE *input, BSOCK *UA_sock) - { -! char *prompt = "*"; - bool at_prompt = false; - int tty_input = isatty(fileno(input)); - int stat; -*************** -*** 499,510 **** - #ifdef HAVE_READLINE - #define READLINE_LIBRARY 1 - #undef free - #include "readline.h" - #include "history.h" - -- - int -! get_cmd(FILE *input, const char *prompt, BSOCK *sock, int sec) - { - char *line; - ---- 499,510 ---- - #ifdef HAVE_READLINE - #define READLINE_LIBRARY 1 - #undef free -+ #include <stdio.h> - #include "readline.h" - #include "history.h" - - int -! get_cmd(FILE *input, char *prompt, BSOCK *sock, int sec) - { - char *line; - |