[ANNOUNCE] vdradmin-0.97-am3.3
Commit Message
Hi list.
The attached patch fixes the TV grab function of vdradmin-0.97-am3.2+ in
case that VDR doesn't run on a root account.
Cheers,
Udo
@@ -4049,7 +4049,8 @@
#############################################################################
sub grab_picture {
my $size = $q->param("size");
- my $file = new File::Temp("vdr-XXXXX", UNLINK => 1, SUFFIX => ".jpg");
+ my $file = new File::Temp(TEMPLATE => "vdr-XXXXX", DIR => File::Spec->tmpdir(), UNLINK => 1, SUFFIX => ".jpg");
+ chmod 0666,$file;
my $maxwidth = 768;
my $maxheight = 576;
my($width, $height);