Bug #227
On OpenBSD, "ENOTSUP" is not defined
Start date:
Due date:
% Done:
0%
Resolution:
fixed
Description
On [[OpenBSD]], "ENOTSUP" is not defined so we are running with the diff below:
$OpenBSD: patch-src_preludedb-plugin-sql_c,v 1.1 2007/04/15 11:38:10 aanriot Exp $ --- src/preludedb-plugin-sql.c.orig Sat Apr 7 18:27:54 2007 +++ src/preludedb-plugin-sql.c Sat Apr 7 18:28:12 2007 @@ -29,7 +29,7 @@ #include "preludedb-plugin-sql.h" -#define PRELUDEDB_ENOTSUP(x) preludedb_error_verbose(prelude_error_code_from_errno(ENOTSUP), "Database backend does not support '%s' operation", x) +#define PRELUDEDB_ENOTSUP(x) preludedb_error_verbose(prelude_error_code_from_errno(EOPNOTSUPP), "Database backend does not support '%s' operation", x) struct preludedb_plugin_sql { PRELUDE_PLUGIN_GENERIC;
History
#2 Updated by Yoann VANDOORSELAERE almost 17 years ago
- Status changed from Assigned to Closed
- Resolution set to fixed
(In r9516) Fix compilation on system without ENOTSUP (fix #227):
Include modified patch from Alexandre Anriot <aanriot@atlantilde.com>.
#3 Updated by over 16 years ago
- Status changed from Closed to Feedback
- Resolution deleted (
fixed)
it seems that 'modified' patch got it all wrong:
this is the check:
- define ENOTSUP ENOTSUPP
#endif
ENOTSUPP is not defined on [[OpenBSD]]
EOPNOTSUPP is though, as per original posting.
#4 Updated by Yoann VANDOORSELAERE over 16 years ago
- Status changed from Feedback to Closed
- Resolution set to fixed
(In r10023) Fix [[OpenBSD]] compilation issue, thanks Alexandre Anriot <aanriot@atlantilde.com>
for pointing out this (fix #227).
#5 Updated by Yoann VANDOORSELAERE almost 15 years ago
- Project changed from PRELUDE SIEM to LibpreludeDB
- Category deleted (
2) - Target version deleted (
0.9.13)