diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-07-27 13:06:19 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-07-27 13:06:19 +0000 |
commit | b4d32e705511725bec21d2a4d1470aa4178ce078 (patch) | |
tree | 4fcf36cd5cfbcd2b3446431d5e95100d6818e405 /main/ocfs2-tools/gcc45-ftbfs.patch | |
parent | 476ca02e7ec0979612f1b9b95be9d2e43bd419c3 (diff) | |
download | aports-b4d32e705511725bec21d2a4d1470aa4178ce078.tar.bz2 aports-b4d32e705511725bec21d2a4d1470aa4178ce078.tar.xz |
testing/ocfs2-tools: moved to main
Diffstat (limited to 'main/ocfs2-tools/gcc45-ftbfs.patch')
-rw-r--r-- | main/ocfs2-tools/gcc45-ftbfs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/ocfs2-tools/gcc45-ftbfs.patch b/main/ocfs2-tools/gcc45-ftbfs.patch new file mode 100644 index 0000000000..0db24f49e2 --- /dev/null +++ b/main/ocfs2-tools/gcc45-ftbfs.patch @@ -0,0 +1,21 @@ +diff -urN ocfs2-tools-1.4.3.orig//mount.ocfs2/mount.ocfs2.c ocfs2-tools-1.4.3/mount.ocfs2/mount.ocfs2.c +--- ocfs2-tools-1.4.3.orig//mount.ocfs2/mount.ocfs2.c 2009-04-14 00:10:40.000000000 +0200 ++++ ocfs2-tools-1.4.3/mount.ocfs2/mount.ocfs2.c 2010-03-24 07:23:45.000000000 +0100 +@@ -261,7 +261,7 @@ + char *extra = NULL; + int dev_ro = 0; + char *hbstr = NULL; +- char stackstr[strlen(OCFS2_CLUSTER_STACK_ARG) + OCFS2_STACK_LABEL_LEN + 1] = ""; ++ char stackstr[strlen(OCFS2_CLUSTER_STACK_ARG) + OCFS2_STACK_LABEL_LEN + 1]; + ocfs2_filesys *fs = NULL; + struct o2cb_cluster_desc cluster; + struct o2cb_region_desc desc; +@@ -269,6 +269,8 @@ + int hb_started = 0; + struct stat statbuf; + ++ stackstr[0] = '\0'; ++ + initialize_ocfs_error_table(); + initialize_o2dl_error_table(); + initialize_o2cb_error_table(); |