change "\0" to '\0' in the patch as character strings nad sequence of

character strings are two different things.
This commit is contained in:
Toshio Kuratomi 2010-08-02 21:43:29 -04:00
parent 4fa3b4da2c
commit 7f248b0d78
2 changed files with 6 additions and 2 deletions

View File

@ -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; int hb_started = 0;
struct stat statbuf; struct stat statbuf;
+ stackstr[0] = "\0"; + stackstr[0] = '\0';
+ +
initialize_ocfs_error_table(); initialize_ocfs_error_table();
initialize_o2dl_error_table(); initialize_o2dl_error_table();

View File

@ -6,7 +6,7 @@
Summary: Tools for managing the Ocfs2 cluster file system Summary: Tools for managing the Ocfs2 cluster file system
Name: ocfs2-tools Name: ocfs2-tools
Version: 1.4.3 Version: 1.4.3
Release: 7%{?alphatag:.%{alphatag}}%{?dist} Release: 8%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Base Group: System Environment/Base
# The source for this package was pulled from upstream's git repo and manually # 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 %{_prefix}/lib/ocf/resource.d/ocfs2
%changelog %changelog
* Mon Aug 2 2010 Toshio Kuratomi <toshio@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@fedoraproject.org> - 1.4.3-7 * Mon Aug 2 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.3-7
- Patch for gcc45 compilation failures - Patch for gcc45 compilation failures