Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
alpine
alpine-gcc44.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File alpine-gcc44.diff of Package alpine
--- ./imap/src/osdep/unix/dummy.c 2009/06/02 09:53:30 1.1 +++ ./imap/src/osdep/unix/dummy.c 2009/06/02 10:04:31 @@ -723,6 +723,17 @@ return NIL; } +static MAILSTREAM *dummy_rewrite_code(MAILSTREAM *ts) +{ + if (ts) + return ts; + + ts = default_proto (NIL); + if (!(*ts->dtb->create)(ts,"INBOX")) + return NIL; + + return ts; +} /* Dummy append message string * Accepts: mail stream @@ -742,8 +753,7 @@ /* append to INBOX? */ if (!compare_cstring (mailbox,"INBOX")) { /* yes, if no empty proto try creating */ - if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) - ts = NIL; + ts = dummy_rewrite_code(ts); } else if (dummy_file (tmp,mailbox) && ((fd = open (tmp,O_RDONLY,NIL)) < 0)) { if ((e = errno) == ENOENT) /* failed, was it no such file? */ --- pith/send.c 2009/06/02 10:04:13 1.11 +++ pith/send.c 2009/06/02 10:04:31 @@ -1569,6 +1569,7 @@ pf->textbuf = cpystr(value); } } + return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor