From: Chris Hanson Date: Sat, 3 Nov 2007 02:57:34 +0000 (+0000) Subject: Work around bug in Gmail IMAP server. X-Git-Tag: 20090517-FFI~414 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=54aced17cd5f7fb9e3bcfa9038212e4439c6c296;p=mit-scheme.git Work around bug in Gmail IMAP server. --- diff --git a/v7/src/imail/imap-response.scm b/v7/src/imail/imap-response.scm index 19157b213..5af921aaf 100644 --- a/v7/src/imail/imap-response.scm +++ b/v7/src/imail/imap-response.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: imap-response.scm,v 1.51 2007/09/09 18:48:46 riastradh Exp $ +$Id: imap-response.scm,v 1.52 2007/11/03 02:57:34 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -81,7 +81,10 @@ USA. (define (read-flags-response port) (discard-known-char #\space port) - (read-list port read-flag)) + ;; Work around bug in Gmail IMAP server: FLAGS response improperly + ;; contains the \* flag. + ;;(read-list port read-flag) + (delq! '|\\*| (read-list port read-pflag))) (define (read-list-response port) (discard-known-char #\space port)