aboutsummaryrefslogtreecommitdiffstats
path: root/tools/genext2fs/patches/100-c99_scanf.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-04-20 13:58:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-04-20 13:58:22 +0000
commit1e5d6ff1f7ecbf4cdfdc0cff7646584f9a8034fb (patch)
tree2208764dace849b1e11f1b9640d9f4b2e439dc98 /tools/genext2fs/patches/100-c99_scanf.patch
parent17edbdb9a6dccc28f0d2c4a34672ccf3d677bf85 (diff)
downloadmaster-187ad058-1e5d6ff1f7ecbf4cdfdc0cff7646584f9a8034fb.tar.gz
master-187ad058-1e5d6ff1f7ecbf4cdfdc0cff7646584f9a8034fb.tar.bz2
master-187ad058-1e5d6ff1f7ecbf4cdfdc0cff7646584f9a8034fb.zip
tools: drop unused genext2fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45518 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/genext2fs/patches/100-c99_scanf.patch')
-rw-r--r--tools/genext2fs/patches/100-c99_scanf.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/genext2fs/patches/100-c99_scanf.patch b/tools/genext2fs/patches/100-c99_scanf.patch
deleted file mode 100644
index e7aa17cc6f..0000000000
--- a/tools/genext2fs/patches/100-c99_scanf.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit 3b8ca0ce9a0b58287a780747c90c449bdebfe464
-Author: Xavier Bestel <bestouff@users.sourceforge.net>
-Date: Mon Jan 14 08:52:44 2008 +0000
-
- removed use of %as is scanf (GNU conflicts with C99) by Giacomo Catenazzi <cate@debian.org>
-
-diff --git a/genext2fs.c b/genext2fs.c
-index 070b270..f0d797d 100644
---- a/genext2fs.c
-+++ b/genext2fs.c
-@@ -286,7 +286,9 @@ typedef unsigned int uint32;
- // older solaris. Note that this is still not very portable, in that
- // the return value cannot be trusted.
-
--#if SCANF_CAN_MALLOC
-+#if 0 // SCANF_CAN_MALLOC
-+// C99 define "a" for floating point, so you can have runtime surprise
-+// according the library versions
- # define SCANF_PREFIX "a"
- # define SCANF_STRING(s) (&s)
- #else