This code is from my a test. Sorry. I make revert.
On 16.09.2010 17:39, Stefan Sayer wrote:
Hi,
Самусенко Андрей wrote:
AnswerMachine.cpp: a_msg.open(msg_fn_tmp,AmAudioFile::Write,true)
create tmp file.
where did you find this code? in master and 1.2 I don't find it, the
msg_filename is with extension (and this code has been in production
for years without filling up tmp dir).
Stefan
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