[patch] applied: imap4dselect

0 views
Skip to first unread message

9cha...@cat-v.org

unread,
Jun 25, 2008, 2:13:11 AM6/25/08
to plan9c...@googlegroups.com
Created Jun 25 00:13 by none
Processed Jun 25 06:13 by geoff

reading the error string makes it unavailable for error message back
to user.

without fix
5 select bar
5 NO select can't open mailbox bar: p

after fix
2 select x
2 NO select can't open mailbox x: '/mail/box/quanstro/x' does not exist


--
/sys/src/cmd/ip/imap4d/mbox.c
mbox.c.orig:84,90 - /n/sources/patch/applied/imap4dselect/mbox.c:84,90
//ZZZ
char err[ERRMAX];

- errstr(err, sizeof err);
+ rerrstr(err, sizeof err);
if(strstr(err, "file does not exist") == nil)
fprint(2,
"imap4d at %lud: upas/fs open %s/%s as %s failed: '%s' %s",

Reply all
Reply to author
Forward
0 new messages