Changes of Revision 2
[-] | Changed | csync2.spec |
x 1
2 Source3: paper.pdf 3 Source4: csync2.logrotate 4 Source5: csync2.cron 5 +Patch0: csync2-SQL-TRUE.patch 6 URL: http://oss.linbit.com/csync2 7 BuildRoot: %{_tmppath}/%{name}-%{version}-build 8 Summary: Cluster sync tool 9
10 11 %prep 12 %setup -n %{name} 13 +%patch0 14 15 tar -C $RPM_BUILD_DIR -xjf %{S:1} 16 %{?suse_update_config:%{suse_update_config}} 17 |
||
[+] | Added | csync2-SQL-TRUE.patch ^ |
@@ -0,0 +1,11 @@ +--- check.c.orig 2011-07-12 10:55:13.263703566 +0200 ++++ check.c 2011-07-12 10:55:58.906179893 +0200 +@@ -215,7 +215,7 @@ + + if ( recursive ) { + if ( !strcmp(file, "/") ) +- ASPRINTF(&where_rec, "OR TRUE"); ++ ASPRINTF(&where_rec, "OR 1=1"); + else + ASPRINTF(&where_rec, "UNION ALL SELECT filename from file where filename > '%s/' " + "and filename < '%s0'", |