34 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier::Filter 0.16
FromSent OnAttachments
Julian MehnleJan 18, 2005 12:03 pm 
ScottJan 18, 2005 6:57 pm 
Frederik DannemareJan 18, 2005 7:54 pm 
Julian MehnleJan 19, 2005 4:00 am 
Alexander LazicJan 19, 2005 5:01 am 
Julian MehnleJan 19, 2005 7:50 am 
Alexander LazicJan 19, 2005 2:07 pm 
Jay LeeJan 19, 2005 2:23 pm 
Gordon MessmerJan 19, 2005 3:18 pm 
Sam VarshavchikJan 19, 2005 3:35 pm 
Julian MehnleJan 19, 2005 3:42 pm 
Gordon MessmerJan 19, 2005 3:56 pm 
Sam VarshavchikJan 19, 2005 4:07 pm 
Mitch (WebCob)Jan 19, 2005 4:42 pm 
Mitch (WebCob)Jan 19, 2005 4:46 pm 
Sam VarshavchikJan 19, 2005 5:13 pm 
Gordon MessmerJan 19, 2005 6:11 pm 
Sam VarshavchikJan 19, 2005 6:17 pm 
Gordon MessmerJan 19, 2005 10:38 pm 
Alexander LazicJan 20, 2005 2:29 am 
Alessandro VeselyJan 20, 2005 4:56 am 
Mark BucciarelliJan 21, 2005 1:02 pm 
Julian MehnleJan 21, 2005 3:03 pm 
Julian MehnleJan 24, 2005 8:15 am 
Gordon MessmerJan 26, 2005 10:51 am 
Gordon MessmerJan 26, 2005 12:53 pm.patch
Sam VarshavchikJan 26, 2005 4:22 pm 
Gordon MessmerJan 26, 2005 10:46 pm 
Alessandro VeselyJan 28, 2005 1:49 am 
Gordon MessmerJan 28, 2005 10:37 am 
Bill LongJan 29, 2005 3:42 pm 
Sam VarshavchikJan 29, 2005 4:51 pm 
Bill LongJan 29, 2005 5:29 pm 
Bill LongJan 30, 2005 1:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier::Filter 0.16Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:Jan 26, 2005 10:46:38 pm
List:net.sourceforge.lists.courier-users

Sam Varshavchik wrote:

I think that ctlfile should be opened for append mode.

...capital idea. Am I wrong to assume that all of the calls to open() in the openctl() function should have the same flags?

--- courier/submit2.C.orig Wed Jan 26 18:38:43 2005 +++ courier/submit2.C Wed Jan 26 18:42:17 2005 @@ -309,7 +309,7 @@ current_submit_file=this;

int nfd=open(filename, - O_WRONLY | O_TRUNC | O_CREAT | O_EXCL, + O_WRONLY | O_TRUNC | O_CREAT | O_EXCL | O_APPEND, PERMISSION);

if (nfd >= 0) @@ -349,7 +349,7 @@ if (w == -1 && errno == ECHILD) break;

int nfd=open(filename, - O_WRONLY | O_TRUNC | O_CREAT, + O_WRONLY | O_TRUNC | O_CREAT | O_EXCL | O_APPEND, PERMISSION);

if (nfd >= 0) @@ -362,7 +362,7 @@ filename=namefile("C", num_control_files_created);

int nfd=open(filename, - O_WRONLY | O_TRUNC | O_CREAT, + O_WRONLY | O_TRUNC | O_CREAT | O_EXCL | O_APPEND, PERMISSION);

if (nfd >= 0)