On Thursday, 14 October 1999 at 12:50, Edmund GRIMLEY EVANS wrote:
> > > mutt_socket_write():a0004 FETCH 1:5 (FLAGS INTERNALDATE RFC822.SIZE 
>BODY.PEEK[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE 
>IN-REPLY-TO REPLY-TO)])
> > > mutt_socket_read_line_d():* 1 FETCH (FLAGS () INTERNALDATE "12-Oct-1999 11:18:49 
>+0530" RFC822.SIZE 2865 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
>"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "IN-REPLY-TO" "REPLY-TO")] {414}
> > > fetching message 1
> > > mutt_socket_read_line_d():)
> > > imap_parse_fetch(): bogus FLAGS entry: 
> > > imap_open_mailbox(): msgcount is 0
> > 
> > something's up here. Maybe the FLAGS () line is getting misparsed. It
> > shouldn't be since that's not an unusual response. I'll take a look -
> > er, not this weekend since I am travelling. a bit later. Thanks for the
> > report...
> 
> I looks a bit like SKIPWS is skipping all characters. Are you using
> isspace() at all? I don't think you should. The ctype stuff depends on
> the locale; it can easily be broken, and the definition of white space
> in the RFCs isn't supposed to depend on the user's locale ...

Indeed SKIPWS is using isspace()! Thanks for the pointer - I'm
completely ignorant about locale issues...

Raju, are you setting any locale information? Can you try using the C
locale and see if you can read your inbox?

Thanks,
Brendan
-- 
Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
"I hope I don't win                |          .-_|\ 
 The rules say to bring a friend   |         /     \
 I don't have any"                 | Perth ->*.--._/

Reply via email to