public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/detox/files: detox-1.2.0-format-security.patch
@ 2015-06-23  7:11 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2015-06-23  7:11 UTC (permalink / raw
  To: gentoo-commits

jlec        15/06/23 07:11:07

  Added:                detox-1.2.0-format-security.patch
  Log:
  Make build format-security save, bug #521084; bump to EAPI=5; drop base.eclass usage
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

Revision  Changes    Path
1.1                  app-misc/detox/files/detox-1.2.0-format-security.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/detox/files/detox-1.2.0-format-security.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/detox/files/detox-1.2.0-format-security.patch?rev=1.1&content-type=text/plain

Index: detox-1.2.0-format-security.patch
===================================================================
 parse_options_getopt.c | 8 ++++----
 parse_options_popt.c   | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/parse_options_getopt.c b/parse_options_getopt.c
index 1f80966..ea2b266 100644
--- a/parse_options_getopt.c
+++ b/parse_options_getopt.c
@@ -98,9 +98,9 @@ struct detox_options *parse_options_getopt(int argc, char **argv)
 #endif
 		switch (optcode) {
 			case 'h':
-				printf(usage_message);
+				printf("%s", usage_message);
 				printf("\n");
-				printf(help_message);
+				printf("%s", help_message);
 				exit(EXIT_SUCCESS);
 
 			case 'f':
@@ -138,7 +138,7 @@ struct detox_options *parse_options_getopt(int argc, char **argv)
 				exit(EXIT_SUCCESS);
 
 			case '?':
-				printf(usage_message);
+				printf("%s", usage_message);
 				exit(EXIT_SUCCESS);
 
 			case 0:
@@ -195,7 +195,7 @@ struct detox_options *parse_options_getopt(int argc, char **argv)
 	}
 	else {
 #ifndef INLINE_MODE
-		printf(usage_message);
+		printf("%s", usage_message);
 		exit(EXIT_FAILURE);
 #endif
 	}
diff --git a/parse_options_popt.c b/parse_options_popt.c
index 60dad7a..370c3cc 100644
--- a/parse_options_popt.c
+++ b/parse_options_popt.c
@@ -94,9 +94,9 @@ struct detox_options *parse_options_popt(int argc, const char **argv)
 	while ((c = poptGetNextOpt(optCon)) >= 0) {
 		switch (c) {
 			case 'h':
-				printf(usage_message);
+				printf("%s", usage_message);
 				printf("\n");
-				printf(help_message);
+				printf("%s", help_message);
 				exit(EXIT_SUCCESS);
 
 			case 'f':
@@ -142,7 +142,7 @@ struct detox_options *parse_options_popt(int argc, const char **argv)
 				break;
 
 			case '?':
-				printf(usage_message);
+				printf("%s", usage_message);
 				exit(EXIT_SUCCESS);
 
 		}
@@ -177,7 +177,7 @@ struct detox_options *parse_options_popt(int argc, const char **argv)
 
 #ifndef INLINE_MODE
 	if (i == 0) {
-		fprintf(stderr, usage_message);
+		fprintf(stderr, "%s", usage_message);
 		exit(EXIT_FAILURE);
 	}
 #endif





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-23  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-23  7:11 [gentoo-commits] gentoo-x86 commit in app-misc/detox/files: detox-1.2.0-format-security.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox