[PATCH] enforce fflush before fdatasync for stdio users

2013-04-19 Thread Eric Wong
fdatasync only flushes data to disk the kernel knows about, so we must tell the kernel about the data via fflush before we fdatasync. Using an Fflushsync wrapper function should make it easier to avoid this mistake in the future when we use stdio but need fdatasync. --- IMHO, this makes the code

Re: recursive mbsync - missing dot for folder

2013-04-19 Thread Oswald Buddenhagen
On Thu, Apr 18, 2013 at 12:57:15PM +0200, Patrick PICHON wrote: > On the master (Imap server) the folder name is ~/Maildir/.myfolder > on the slave the folder created is : ~/Maildir/myfolder > I would like to have the folder created : ~/Maildir/.myfolder > how does INBOX play into that? is there a