mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the FATALERRNO macro to check for a non-zero errno value
This commit is contained in:
parent
3f0678244f
commit
4b8ff61901
@ -1233,6 +1233,7 @@ Marco Schl
|
|||||||
for improving resetting CAM connections
|
for improving resetting CAM connections
|
||||||
for fixing handling EPG data for time shifted events
|
for fixing handling EPG data for time shifted events
|
||||||
for fixing detecting short channel names for "Kabel Deutschland"
|
for fixing detecting short channel names for "Kabel Deutschland"
|
||||||
|
for reporting that the FATALERRNO macro needs to check for a non-zero errno value
|
||||||
|
|
||||||
Jürgen Schmitz <j.schmitz@web.de>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
2
HISTORY
2
HISTORY
@ -3862,3 +3862,5 @@ Video Disk Recorder Revision History
|
|||||||
location (reported by Jon Burgess).
|
location (reported by Jon Burgess).
|
||||||
- Fixed a crash in cConfig::Load() when compiling on the PPC (thanks to Sascha
|
- Fixed a crash in cConfig::Load() when compiling on the PPC (thanks to Sascha
|
||||||
Volkenandt).
|
Volkenandt).
|
||||||
|
- Fixed the FATALERRNO macro to check for a non-zero errno value (reported by Marco
|
||||||
|
Schlüßler).
|
||||||
|
4
tools.h
4
tools.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: tools.h 1.78 2005/09/25 12:54:58 kls Exp $
|
* $Id: tools.h 1.79 2005/10/01 12:43:31 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __TOOLS_H
|
#ifndef __TOOLS_H
|
||||||
@ -45,7 +45,7 @@ extern int SysLogLevel;
|
|||||||
#define DELETENULL(p) (delete (p), p = NULL)
|
#define DELETENULL(p) (delete (p), p = NULL)
|
||||||
|
|
||||||
#define CHECK(s) { if ((s) < 0) LOG_ERROR; } // used for 'ioctl()' calls
|
#define CHECK(s) { if ((s) < 0) LOG_ERROR; } // used for 'ioctl()' calls
|
||||||
#define FATALERRNO (errno != EAGAIN && errno != EINTR)
|
#define FATALERRNO (errno && errno != EAGAIN && errno != EINTR)
|
||||||
|
|
||||||
#ifndef __STL_CONFIG_H // in case some plugin needs to use the STL
|
#ifndef __STL_CONFIG_H // in case some plugin needs to use the STL
|
||||||
template<class T> inline T min(T a, T b) { return a <= b ? a : b; }
|
template<class T> inline T min(T a, T b) { return a <= b ? a : b; }
|
||||||
|
Loading…
Reference in New Issue
Block a user