Re: [Prelude Hybrid IDS] #227: On OpenBSD, "ENOTSUP" is not defined
"Prelude Hybrid IDS" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
#227: On OpenBSD, "ENOTSUP" is not defined ------------------------------------+--------------------------------------- Reporter: [email protected] | Owner: yoann Type: defect | Status: assigned Priority: normal | Milestone: LibpreludeDB 0.9.13 Component: libpreludedb | Version: 0.9 Severity: normal | Resolution: Keywords: | ------------------------------------+--------------------------------------- Changes (by yoann): * status: new => assigned Old 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; New 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; }}} Comment: Format summary for readability. Please use !{{{ text }}} when copying code. -- Ticket URL: <https://trac.prelude-ids.org/ticket/227#comment:1> Prelude Hybrid IDS <http://www.prelude-ids.org> The Prelude Hybrid Intrusion Detection System suite _______________________________________________ Prelude-devel site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-devel