From 6b8891f5080427c9de1288ded2e87b5a99138892 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 9 Jun 2022 16:14:26 -0400 Subject: [PATCH] Make sure all of the utilities carry the new and improved version of the GPL declaration that disrespects Richard Stallman. --- citadel/utils/ctdlmigrate.c | 10 +++------- citadel/utils/sendcommand.c | 10 +++------- citadel/utils/setup.c | 15 +++++---------- 3 files changed, 11 insertions(+), 24 deletions(-) diff --git a/citadel/utils/ctdlmigrate.c b/citadel/utils/ctdlmigrate.c index 8c1f18a53..87ce92ffd 100644 --- a/citadel/utils/ctdlmigrate.c +++ b/citadel/utils/ctdlmigrate.c @@ -2,13 +2,9 @@ // // Copyright (c) 2009-2022 citadel.org // -// This program is open source software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License version 3. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or disclosure +// is subject to the terms of the GNU General Public License, version 3. +// The program is distributed without any warranty, expressed or implied. #include #include diff --git a/citadel/utils/sendcommand.c b/citadel/utils/sendcommand.c index 6971d60a4..e2a3a29c1 100644 --- a/citadel/utils/sendcommand.c +++ b/citadel/utils/sendcommand.c @@ -2,13 +2,9 @@ // // Copyright (c) 1987-2022 by the citadel.org team // -// This program is open source software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License version 3. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or disclosure +// is subject to the terms of the GNU General Public License, version 3. +// The program is distributed without any warranty, expressed or implied. #include #include diff --git a/citadel/utils/setup.c b/citadel/utils/setup.c index dbcd2a301..2099418bf 100644 --- a/citadel/utils/setup.c +++ b/citadel/utils/setup.c @@ -2,13 +2,9 @@ // // Copyright (c) 1987-2022 by the citadel.org team // -// This program is open source software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License version 3. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or disclosure +// is subject to the terms of the GNU General Public License, version 3. +// The program is distributed without any warranty, expressed or implied. #define SHOW_ME_VAPPEND_PRINTF #include @@ -236,7 +232,7 @@ int yesno(const char *question, int default_value) { char buf[SIZ]; do { - printf("%s\n%s [%s] --> ", question, _("Yes/No"), ( default_value ? _("Yes") : _("No") )); + printf("\033[31m\033[32m%s\n%s [\033[33m%s\033[32m]\033[0m --> ", question, _("Yes/No"), ( default_value ? _("Yes") : _("No") )); if (fgets(buf, sizeof buf, stdin)) { answer = tolower(buf[0]); if ((buf[0]==0) || (buf[0]==13) || (buf[0]==10)) { @@ -524,8 +520,7 @@ void set_bool_val(int msgpos, int *ip, char *DefValue) { } -void set_str_val(int msgpos, char *Target, char *DefValue) -{ +void set_str_val(int msgpos, char *Target, char *DefValue) { strprompt(setup_titles[msgpos], setup_text[msgpos], Target, -- 2.30.2