summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-default-format-security.diff
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-11-19 12:19:20 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-11-19 12:19:20 +0000
commit3c99556ff6a7ed87016048b1c9a2d14fbdc9ad97 (patch)
tree0136bbeaac3975a16c82b2ebc5fdd61b5badb3c7 /debian/patches/gcc-default-format-security.diff
parent5cac4add3ae83732994e667a8aaa324ae3d1d68d (diff)
downloadgcc-48-3c99556ff6a7ed87016048b1c9a2d14fbdc9ad97.tar.gz
- Fix gcc-default-format-security.diff patch
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.8@6256 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/patches/gcc-default-format-security.diff')
-rw-r--r--debian/patches/gcc-default-format-security.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/gcc-default-format-security.diff b/debian/patches/gcc-default-format-security.diff
index 6ccf097..54106eb 100644
--- a/debian/patches/gcc-default-format-security.diff
+++ b/debian/patches/gcc-default-format-security.diff
@@ -15,7 +15,7 @@ Index: b/src/gcc/c-family/c.opt
Wformat-security
-C ObjC C++ ObjC++ Var(warn_format_security) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0)
-+C ObjC C++ ObjC++ Var(warn_format_security) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0) Init(1)
++C ObjC C++ ObjC++ Var(warn_format_security) Init(1) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0)
Warn about possible security problems with format functions
Wformat-y2k