mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
record.cpp: remove unnecessary executable flag from ts-file
Origin commit data
------------------
Branch: ni/coolstream
Commit: 07df9d28e5
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-10-14 (Wed, 14 Oct 2015)
Origin message was:
------------------
- record.cpp: remove unnecessary executable flag from ts-file
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -155,7 +155,7 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
|
|||||||
std::string tsfile = std::string(filename) + ".ts";
|
std::string tsfile = std::string(filename) + ".ts";
|
||||||
printf("%s: file %s vpid %x apid %x\n", __FUNCTION__, tsfile.c_str(), allpids.PIDs.vpid, apids[0]);
|
printf("%s: file %s vpid %x apid %x\n", __FUNCTION__, tsfile.c_str(), allpids.PIDs.vpid, apids[0]);
|
||||||
|
|
||||||
int fd = open(tsfile.c_str(), O_CREAT | O_TRUNC | O_SYNC | O_RDWR | O_LARGEFILE | O_CLOEXEC, S_IRWXO | S_IRWXG | S_IRWXU);
|
int fd = open(tsfile.c_str(), O_CREAT | O_TRUNC | O_SYNC | O_RDWR | O_LARGEFILE | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
||||||
if(fd < 0) {
|
if(fd < 0) {
|
||||||
perror(tsfile.c_str());
|
perror(tsfile.c_str());
|
||||||
hintBox.hide();
|
hintBox.hide();
|
||||||
|
Reference in New Issue
Block a user