Jürgen Schmitz
Tue, 14 May 2002 07:32:25 -0700
---Reply to mail from Jürgen Schmitz about XCmail: 2.0.1devel-2 > > Another idea I just got: > > gzip is started by fork(), what if the forked process is still running and > the next mail is written - both processes (the new forked and the old one) > write into the file. So maybe big mail causes gzip to take more time to > finish and the main program (xcmail) starts with appending the next mail. > > Hm, this sounds good (or better: not good). > Ok, depending on this idea I've added a waitpid() call to wait until gzip has finished. It's already on CVS. Maybe it works, maybe not.... Jürgen