From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s78Nhla1006107 for ; Fri, 8 Aug 2014 19:43:47 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s78Nhlne027326; Fri, 8 Aug 2014 19:43:47 -0400 (EDT) Date: Fri, 8 Aug 2014 19:43:47 -0400 (EDT) Message-Id: <201408082343.s78Nhlne027326@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Delete the __attribute__((__bounded__(...))) annotation. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Delete the __attribute__((__bounded__(...))) annotation. That's an OpenBSD-specific gcc-4.2.1 security extension. It's certainly a bad idea to use such stuff in a compatibility header, as other operating systems just won't understand it. Modified Files: -------------- mdocml: compat_ohash.h Revision Data ------------- Index: compat_ohash.h =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/compat_ohash.h,v retrieving revision 1.4 retrieving revision 1.5 diff -Lcompat_ohash.h -Lcompat_ohash.h -u -p -r1.4 -r1.5 --- compat_ohash.h +++ compat_ohash.h @@ -56,8 +56,7 @@ void ohash_delete(struct ohash *); unsigned int ohash_lookup_interval(struct ohash *, const char *, const char *, uint32_t); unsigned int ohash_lookup_memory(struct ohash *, const char *, - size_t, uint32_t) - __attribute__ ((__bounded__(__string__,2,3))); + size_t, uint32_t); void *ohash_find(struct ohash *, unsigned int); void *ohash_remove(struct ohash *, unsigned int); void *ohash_insert(struct ohash *, unsigned int, void *); -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv