rpms/isync/devel isync-1.0.3-search.patch, NONE, 1.1 isync.spec, 1.4, 1.5
Lubomir Kundrak (lkundrak)
fedora-extras-commits at redhat.com
Mon Dec 17 17:29:57 UTC 2007
Author: lkundrak
Update of /cvs/pkgs/rpms/isync/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24625/devel
Modified Files:
isync.spec
Added Files:
isync-1.0.3-search.patch
Log Message:
Understand empty SEARCH responses from gmail
isync-1.0.3-search.patch:
--- NEW FILE isync-1.0.3-search.patch ---
Fix for gmail empty SEARCH responses (#425838 and #420721)
This one comes from the Debian bug report #413336:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413336
diff -r -u isync-1.0.3.orig/src/drv_imap.c isync-1.0.3/src/drv_imap.c
--- isync-1.0.3.orig/src/drv_imap.c 2006-11-01 10:15:09.000000000 +0300
+++ isync-1.0.3/src/drv_imap.c 2007-03-04 06:39:07.000000000 +0300
@@ -865,7 +865,9 @@
int uid;
arg = next_arg( &cmd );
- if (!arg || !(uid = atoi( arg ))) {
+ if (!arg)
+ return;
+ if (!(uid = atoi( arg ))) {
fprintf( stderr, "IMAP error: malformed SEARCH response\n" );
return;
}
Index: isync.spec
===================================================================
RCS file: /cvs/pkgs/rpms/isync/devel/isync.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- isync.spec 17 Dec 2007 17:25:10 -0000 1.4
+++ isync.spec 17 Dec 2007 17:29:17 -0000 1.5
@@ -1,6 +1,6 @@
Name: isync
Version: 1.0.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Tool to synchronize IMAP4 and Maildir mailboxes
Group: Applications/Internet
@@ -9,6 +9,7 @@
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: isync-1.0.3-open.patch
Patch1: isync-1.0.3-args.patch
+Patch2: isync-1.0.3-search.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: db4-devel openssl-devel
@@ -24,6 +25,7 @@
%setup -q
%patch0 -p1 -b .open
%patch1 -p1 -b .args
+%patch2 -p1 -b .search
%build
@@ -55,6 +57,9 @@
%changelog
+* Mon Dec 17 2007 Lubomir Kundrak <lkundrak at redhat.com> 1.0.3-6
+- gmail returns SEARCH with no argument (#420721)
+
* Sun Dec 16 2007 Lubomir Kundrak <lkundrak at redhat.com> 1.0.3-5
- mbsync was ignoring option letters from last argument (#425838)
More information about the fedora-extras-commits
mailing list