[Bug 211394] [exp-run] POSIX conformance: make functions return void
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 31 08:05:44 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211394
--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:
Author: ed
Date: Sun Jul 31 08:05:15 UTC 2016
New revision: 303580
URL: https://svnweb.freebsd.org/changeset/base/303580
Log:
Fix up setgrent(3) to have a POSIX-compliant prototype.
Just like with freelocale(3), I haven't been able to find any piece of
code that actually makes use of this function's return value, both in
base and in ports. The reason for this is that FreeBSD seems to be the
only operating system to have such a prototype. This is why I'm deciding
to not use symbol versioning for this.
It does seem that the pw(8) utility depends on the function's typing and
already had a switch in place to toggle between the FreeBSD and POSIX
variant of this function. Clean this up by always expecting the POSIX
variant.
There is also a single port that has a couple of local declarations of
setgrent(3) that need to be patched up. This is in the process of being
fixed.
PR: 211394 (exp-run)
Changes:
head/include/grp.h
head/lib/libc/gen/getgrent.3
head/lib/libc/gen/getgrent.c
head/usr.sbin/pw/pw_vpw.c
head/usr.sbin/pw/pwupd.h
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list