diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-01-11 12:19:32 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-01-11 12:19:32 +0000 |
commit | c80aefd22240277083bf3eb1fcdbc9c06fab6472 (patch) | |
tree | e287c9828b5b3582f2a2607413136f3fb712e235 /lib/error.h | |
parent | e4d51acf7d77e2c8d9a5924deefd4e53657397ea (diff) | |
download | lm-sensors-git-c80aefd22240277083bf3eb1fcdbc9c06fab6472.tar.gz |
Detect excessive recursion depth during expression evaluation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5582 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/error.h')
-rw-r--r-- | lib/error.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/error.h b/lib/error.h index 8ab30d1e..74a71732 100644 --- a/lib/error.h +++ b/lib/error.h @@ -1,7 +1,7 @@ /* error.h - Part of libsensors, a Linux library for reading sensor data. Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> - Copyright (C) 2007 Jean Delvare <khali@linux-fr.org> + Copyright (C) 2007, 2008 Jean Delvare <khali@linux-fr.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ #define SENSORS_ERR_PARSE 8 /* General parse error */ #define SENSORS_ERR_ACCESS_W 9 /* Can't write */ #define SENSORS_ERR_IO 10 /* I/O error */ +#define SENSORS_ERR_RECURSION 11 /* Evaluation recurses too deep */ #ifdef __cplusplus extern "C" { |