Hi!

not sure I understand everything well.... do you mean that, as we are using a temporary file (third argument is = true), there is no point in destroying the file afterwards anyway? Never noticed that before, but you might well be right.

-Raphael.

On 16.09.10 13:39, Самусенко Андрей wrote:
AnswerMachine.cpp: a_msg.open(msg_fn_tmp,AmAudioFile::Write,true) create tmp file.

Real file name generated by tmpfile(). It is enough to pass "."+AnswerMachineFactory::RecFileExt in the 1st argument . Later unlink(msg_fn_tmp.c_str()) should "return" ENOENT, but i had not checked. If did not remove other file.

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to