summaryrefslogtreecommitdiffstats
path: root/target/ext2/genext2fs-1.4-remove_ugly_warnings.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-20 16:42:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-20 16:42:51 +0000
commit0e59ed02089d4c337c1ab2edcc62672ca51425f9 (patch)
treea297eaf2d83373554303859f4e1cb7e4ed24c72c /target/ext2/genext2fs-1.4-remove_ugly_warnings.patch
parente3ea4c5cda6fe6f48c362e02aadcf32a5e92ee9d (diff)
downloadbuildroot-novena-0e59ed02089d4c337c1ab2edcc62672ca51425f9.tar.gz
buildroot-novena-0e59ed02089d4c337c1ab2edcc62672ca51425f9.zip
- bump version. Closes #1225
Diffstat (limited to 'target/ext2/genext2fs-1.4-remove_ugly_warnings.patch')
-rw-r--r--target/ext2/genext2fs-1.4-remove_ugly_warnings.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/ext2/genext2fs-1.4-remove_ugly_warnings.patch b/target/ext2/genext2fs-1.4-remove_ugly_warnings.patch
new file mode 100644
index 000000000..ef23dfbe8
--- /dev/null
+++ b/target/ext2/genext2fs-1.4-remove_ugly_warnings.patch
@@ -0,0 +1,21 @@
+diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-remove_ugly_warnings/genext2fs.c
+--- genext2fs-1.4/genext2fs.c 2007-02-09 10:54:56.000000000 +0100
++++ genext2fs-1.4-remove_ugly_warnings/genext2fs.c 2007-02-09 10:54:30.000000000 +0100
+@@ -1606,7 +1606,7 @@
+ static void
+ add2fs_from_dir(filesystem *fs, uint32 this_nod, int squash_uids, int squash_perms, uint32 fs_timestamp, struct stats *stats)
+ {
+- uint32 nod;
++ uint32 nod = 0;
+ uint32 uid, gid, mode, ctime, mtime;
+ const char *name;
+ FILE *fh;
+@@ -2056,7 +2056,7 @@
+ static filesystem *
+ load_fs(FILE * fh, int swapit)
+ {
+- size_t fssize;
++ size_t fssize = 0;
+ filesystem *fs;
+ if((fseek(fh, 0, SEEK_END) < 0) || ((ssize_t)(fssize = ftell(fh)) == -1))
+ perror_msg_and_die("input filesystem image");