Summary: | telepathy-idle-0.1.4: strnlen not portable enough | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Thomas Klausner <tk> |
Component: | idle | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | misc, rishi.is |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | NetBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Workaround |
Description
Thomas Klausner
2009-08-16 12:07:16 UTC
This is 2011. Is the workaround needed anymore? Yes. NetBSD-5.1, the latest release, doesn't have strnlen. If you don't like applying the patch, just close the bug report and we'll keep the patch in pkgsrc; that fixes the issue for most NetBSD users. There might be other operating systems that don't support it though (e.g. Solaris added it after Solaris 9, not sure if it's in 10). #ifndef doesn't work on functions — you're actually redefining strnlen on all platforms. :) I've committed a slightly modified version: <http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=dbc99e7>. It will be released in 0.1.9. Thanks for the report! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.