﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
11610	Patch to check fcntl success in mythsystemunix.cpp - fixes coverity 1028691	Gary Buhrmaster <gary.buhrmaster@…>	Karl Egly	"
Static analysis (coverity) detected that the system call fcntl in mythsystemunix.cpp did not check its return value.  This patch adds in that check.

This patch also implements the more robust setting of the fd flags (get the current flags, or'ing in the NONBLOCK value, and then setting the flags).
This is the ""correct"" way to set flags per the docs (even though in this case it is probably overkill).

Fixes coverity 1028691

github patch: https://github.com/garybuhrmaster/mythtv/commit/26472f379970d6be81c77e8d2f311dccfd25ad47

github git-am patch: https://github.com/garybuhrmaster/mythtv/commit/26472f379970d6be81c77e8d2f311dccfd25ad47.patch"	Patch - Bug Fix	closed	minor	0.28	MythTV - MythSystem	Master Head	medium	fixed			0
