diff options
author | 2008-02-10 21:18:08 +0000 | |
---|---|---|
committer | 2008-02-10 21:18:08 +0000 | |
commit | 75273971558a2c6f16359d36d1daf3124b604fba (patch) | |
tree | 26a4593f885f0a0ab4e45676f224e9256c434241 /media-video/vdr/files/vdr-1.2.6_CAN-2005-0071.patch | |
parent | x86 stable, bug #209000 (diff) | |
download | historical-75273971558a2c6f16359d36d1daf3124b604fba.tar.gz historical-75273971558a2c6f16359d36d1daf3124b604fba.tar.bz2 historical-75273971558a2c6f16359d36d1daf3124b604fba.zip |
vdr-1.4.7-r10 stabel on x86; cleanup old versions
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-video/vdr/files/vdr-1.2.6_CAN-2005-0071.patch')
-rw-r--r-- | media-video/vdr/files/vdr-1.2.6_CAN-2005-0071.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/media-video/vdr/files/vdr-1.2.6_CAN-2005-0071.patch b/media-video/vdr/files/vdr-1.2.6_CAN-2005-0071.patch deleted file mode 100644 index d9d573383e63..000000000000 --- a/media-video/vdr/files/vdr-1.2.6_CAN-2005-0071.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- vdr-1.2.6/dvbdevice.c.orig 2005-01-24 14:33:57.478927267 +0100 -+++ vdr-1.2.6/dvbdevice.c 2005-01-24 14:37:04.732811047 +0100 -@@ -505,8 +505,10 @@ - Quality = 255; //XXX is this 'best'??? - - isyslog("grabbing to %s (%s %d %d %d)", FileName, Jpeg ? "JPEG" : "PNM", Quality, vm.width, vm.height); -- FILE *f = fopen(FileName, "wb"); -- if (f) { -+ int fd = open(FileName, O_CREAT | O_EXCL | O_TRUNC | O_RDWR, 0600); -+ if (fd > -1) { -+ FILE *f = fdopen(fd, "wb"); -+ if (f) { - if (Jpeg) { - // write JPEG file: - struct jpeg_compress_struct cinfo; -@@ -540,7 +542,8 @@ - } - } - fclose(f); -- } -+ } -+ } - else { - LOG_ERROR_STR(FileName); - result |= 1; |