Date: Fri, 29 Jul 2016 17:19:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211394] [exp-run] POSIX conformance: make functions return void Message-ID: <bug-211394-13-g4R5ZOpV3G@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-211394-13@https.bugs.freebsd.org/bugzilla/> References: <bug-211394-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211394 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: ed Date: Fri Jul 29 17:18:48 UTC 2016 New revision: 303495 URL: https://svnweb.freebsd.org/changeset/base/303495 Log: Change the return type of freelocale(3) to void. Our version of this function currently returns an integer indicating failure or success, whereas POSIX specifies that this function has no return value. It returns void. Patch up the header, sources and man page to use the right type. While there, use the opportunity to simplify the body of this function. Theoretically speaking, this change breaks the ABI of this function. That said, I have yet to find any code that makes use of freelocale()'s return value. I couldn't find any of it in the base system, nor did an exp-run reveal any breakage caused by this change. PR: 211394 (exp-run) Changes: head/include/xlocale/_locale.h head/lib/libc/locale/freelocale.3 head/lib/libc/locale/xlocale.c --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211394-13-g4R5ZOpV3G>