Hi, Caskey. On Sat, 1 Mar 2003, Caskey L. Dickson wrote: >I'm working on cleaning up the file handling code in bincimapd-copy.cc and as >part of that I had to rename the messagedepot::open() method to ...::fopen(). > I felt this more accurately reflected the fact that it returned a FILE* >instead of a file descriptor. I put in ::open() as one that does return a >file descriptor but that is unused at the moment. >Since this patch covers so much of the tree, I'm releasing it as a separate >single-purpose patch rather than roll it together with the other changes I'm >working on. Being a little lengthy due to all the fact I renamed a rather core >function, I've put it up instead of pasting it here. >http://www.technocage.com/~caskey/bincimap/open2fopen-1.0.24.patch
Thanks. I agree to your changes, so I've incorporated this patch. >I'll be producing a couple more patches as I work on removing some constants >from the bincimapd-copy.cc method. Most of this though is motivated by an >effort to eliminate a minor bug in that method and help clean up the IO code >in general. Copy will currently fail for any message over 2GB in size (not >that it will happen anytime soon). >Elsewhere, in io/io.h in IO::MODE_PLAIN it will fail on EOF when the character >0xfe is read (8859-1 defines it as 'LATIN SMALL LETTER THORN'). I'm doing some changes in the structure of the IO class/implementation, but if you post the patch I'm sure we can work it in. >My POSIX C skills suck less than my ANSI C++ so my coding efforts are >revolving around the parts of the code that use C to get their job done. >Hope this helps. Thanks for the contribution. :) I'm currently working on moving all of the Maildir code out of the main program files and into the Maildir class. Some improvements to the procedures of iterating over the message sets. The goal is to get everything so modular that contributors can stick to writing only a new MessageDepot child to support new backends. :-) Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

