[ocfs2-tools/f14/master] change "\0" to '\0' in the patch as character strings nad sequence of character strings are two diff
Toshio くらとみ
toshio at fedoraproject.org
Tue Aug 3 01:51:56 UTC 2010
commit 7f248b0d78e02035c8d568a10d8d7ffd3792e4b6
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Mon Aug 2 21:43:29 2010 -0400
change "\0" to '\0' in the patch as character strings nad sequence of
character strings are two different things.
ocfs2-tools-gcc45.patch | 2 +-
ocfs2-tools.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ocfs2-tools-gcc45.patch b/ocfs2-tools-gcc45.patch
index a875d78..7b0787c 100644
--- a/ocfs2-tools-gcc45.patch
+++ b/ocfs2-tools-gcc45.patch
@@ -14,7 +14,7 @@ diff -up ocfs2-tools-1.4.3/mount.ocfs2/mount.ocfs2.c.bak ocfs2-tools-1.4.3/mount
int hb_started = 0;
struct stat statbuf;
-+ stackstr[0] = "\0";
++ stackstr[0] = '\0';
+
initialize_ocfs_error_table();
initialize_o2dl_error_table();
diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec
index c54281e..7a57938 100644
--- a/ocfs2-tools.spec
+++ b/ocfs2-tools.spec
@@ -6,7 +6,7 @@
Summary: Tools for managing the Ocfs2 cluster file system
Name: ocfs2-tools
Version: 1.4.3
-Release: 7%{?alphatag:.%{alphatag}}%{?dist}
+Release: 8%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2
Group: System Environment/Base
# The source for this package was pulled from upstream's git repo and manually
@@ -217,6 +217,10 @@ fi
%{_prefix}/lib/ocf/resource.d/ocfs2
%changelog
+* Mon Aug 2 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.4.3-8
+- make the patch use a character string instead of a sequence of characters
+ string. gcc didn't complain but it seems like a better idea.
+
* Mon Aug 2 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.4.3-7
- Patch for gcc45 compilation failures
More information about the scm-commits
mailing list