ajrockefeller / openfpc

Automatically exported from code.google.com/p/openfpc
0 stars 0 forks source link

unlink Doesnt seem to remove tempfiles after creating a zip #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make a request with the --zip option
2. Look in the 'savedir' location specified in the config

What is the expected output? What do you see instead?

The .pcap and .txt files should be removed by the unlink command in the $prep 
subroutine in openfpc-queued but they are not

What version of the product are you using? On what operating system?

0.4.267 Ubuntu Server 10.04 32Bit

Please provide any additional information below.

Fills up disk with temporary files. I fixed this previously by running a cron. 
If I look at the code and tell the unlink to report its output and it says its 
sucessfull? strange...

Original issue reported on code.google.com by matt.new...@gmail.com on 16 May 2011 at 12:02

GoogleCodeExporter commented 8 years ago
Fixed in revision 328.

SAVEDIR wasn't included in the unlink path.

-L

Original comment by leon.j.w...@gmail.com on 1 Jul 2011 at 8:34