Projects
Mega:24.03:SP1:Everything
sharutils
_service:tar_scm:sharutils-4.14.2-Pass-compilat...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:sharutils-4.14.2-Pass-compilation-with-Werror-format-security.patch of Package sharutils
From 851a240296ad2ec2a5f67e84d284d3bf7882745e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Mon, 15 Dec 2014 11:20:32 +0100 Subject: [PATCH] Pass compilation with -Werror=format-security MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit <https://bugzilla.redhat.com/show_bug.cgi?id=1037323> Signed-off-by: Petr Písař <ppisar@redhat.com> --- libopts/genshell.h | 2 +- src/shar-opts.h | 2 +- src/unshar-opts.h | 2 +- src/uudecode-opts.h | 2 +- src/uuencode-opts.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libopts/genshell.h b/libopts/genshell.h index 1c18735..0a69bc2 100644 --- a/libopts/genshell.h +++ b/libopts/genshell.h @@ -168,7 +168,7 @@ extern tOptions genshelloptOptions; # endif # ifndef ATTRIBUTE_FORMAT_ARG -# define ATTRIBUTE_FORMAT_ARG(_a) +# define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a))) # endif static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1); diff --git a/src/shar-opts.h b/src/shar-opts.h index 64f2f12..a32b69d 100644 --- a/src/shar-opts.h +++ b/src/shar-opts.h @@ -374,7 +374,7 @@ extern tOptions sharOptions; # endif # ifndef ATTRIBUTE_FORMAT_ARG -# define ATTRIBUTE_FORMAT_ARG(_a) +# define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a))) # endif static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1); diff --git a/src/unshar-opts.h b/src/unshar-opts.h index ae697af..19e8be7 100644 --- a/src/unshar-opts.h +++ b/src/unshar-opts.h @@ -211,7 +211,7 @@ extern tOptions unsharOptions; # endif # ifndef ATTRIBUTE_FORMAT_ARG -# define ATTRIBUTE_FORMAT_ARG(_a) +# define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a))) # endif static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1); diff --git a/src/uudecode-opts.h b/src/uudecode-opts.h index d457488..fd11a20 100644 --- a/src/uudecode-opts.h +++ b/src/uudecode-opts.h @@ -189,7 +189,7 @@ extern tOptions uudecodeOptions; # endif # ifndef ATTRIBUTE_FORMAT_ARG -# define ATTRIBUTE_FORMAT_ARG(_a) +# define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a))) # endif static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1); diff --git a/src/uuencode-opts.h b/src/uuencode-opts.h index 7c7ed78..41352ea 100644 --- a/src/uuencode-opts.h +++ b/src/uuencode-opts.h @@ -185,7 +185,7 @@ extern tOptions uuencodeOptions; # endif # ifndef ATTRIBUTE_FORMAT_ARG -# define ATTRIBUTE_FORMAT_ARG(_a) +# define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a))) # endif static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1); -- 1.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2