From 62f630d4b30c2bcea0c6c908496ed063cecd48a2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 6 Oct 2018 11:55:56 +0100 Subject: [PATCH] cygtermd: remove all uses of 'FIXME' as program name. There was a while when I hadn't decided what the name of the program was going to be, and apparently once I did I never got round to substituting it back in everywhere. --- contrib/cygtermd/main.c | 2 +- contrib/cygtermd/pty.h | 6 +++--- contrib/cygtermd/sel.h | 6 +++--- contrib/cygtermd/telnet.h | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/contrib/cygtermd/main.c b/contrib/cygtermd/main.c index e7ed5f0a..154c4315 100644 --- a/contrib/cygtermd/main.c +++ b/contrib/cygtermd/main.c @@ -36,7 +36,7 @@ void sigchld(int signum) void fatal(const char *fmt, ...) { va_list ap; - fprintf(stderr, "FIXME: "); + fprintf(stderr, "cygtermd: "); va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); diff --git a/contrib/cygtermd/pty.h b/contrib/cygtermd/pty.h index bee10e47..523331b3 100644 --- a/contrib/cygtermd/pty.h +++ b/contrib/cygtermd/pty.h @@ -2,8 +2,8 @@ * pty.h - FIXME */ -#ifndef FIXME_PTY_H -#define FIXME_PTY_H +#ifndef CYGTERMD_PTY_H +#define CYGTERMD_PTY_H #include "telnet.h" /* for struct shdata */ @@ -25,4 +25,4 @@ void pty_resize(int w, int h); int run_program_in_pty(const struct shell_data *shdata, char *directory, char **program_args); -#endif /* FIXME_PTY_H */ +#endif /* CYGTERMD_PTY_H */ diff --git a/contrib/cygtermd/sel.h b/contrib/cygtermd/sel.h index 98767e2f..42c615ff 100644 --- a/contrib/cygtermd/sel.h +++ b/contrib/cygtermd/sel.h @@ -4,8 +4,8 @@ * reads. */ -#ifndef FIXME_SEL_H -#define FIXME_SEL_H +#ifndef CYGTERMD_SEL_H +#define CYGTERMD_SEL_H typedef struct sel sel; typedef struct sel_wfd sel_wfd; @@ -158,4 +158,4 @@ void sel_wfd_setfd(sel_wfd *wfd, int fd); */ void sel_rfd_setfd(sel_rfd *rfd, int fd); -#endif /* FIXME_SEL_H */ +#endif /* CYGTERMD_SEL_H */ diff --git a/contrib/cygtermd/telnet.h b/contrib/cygtermd/telnet.h index 40a05dd9..2dc1582b 100644 --- a/contrib/cygtermd/telnet.h +++ b/contrib/cygtermd/telnet.h @@ -2,8 +2,8 @@ * Header declaring Telnet-handling functions. */ -#ifndef FIXME_TELNET_H -#define FIXME_TELNET_H +#ifndef CYGTERMD_TELNET_H +#define CYGTERMD_TELNET_H #include "sel.h" @@ -38,4 +38,4 @@ void telnet_from_net(Telnet *telnet, char *buf, int len); */ int telnet_shell_ok(Telnet *telnet, struct shell_data *shdata); -#endif /* FIXME_TELNET_H */ +#endif /* CYGTERMD_TELNET_H */