bryangrim / darkice

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

darkice 1.1 doesn't use add new date to cut files (fileAddDate = yes) #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use localDumpFile and fileAddDate = yes
2. Send USR1 to darkice

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

I would expect darkice to create a new file with a new filename i.e. a new date 
in the filename. Instead, darkice uses the old filename with the old date. 
Looking at the source, the 

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

darkice 1.1 on Debian wheezy.

Please provide any additional information below.

I was considering using the archiving feature using a filename provided in a 
file in /tmp. However, that way one would have to make assumptions about the 
start time of a file dump. Having darkice close the old file and start a new 
one with a new name would be a lot cleaner.

I would be willing to work on a patch.

Original issue reported on code.google.com by m...@sprachgewalt.de on 19 Aug 2012 at 6:56

GoogleCodeExporter commented 8 years ago
Proposed patch attached.

Original comment by m...@sprachgewalt.de on 24 Aug 2012 at 8:55

Attachments: