[Bug 259151] misc/team [patch included] fixing ancient code with K&R compatibility layer and bad pointers and non-varargs. Ugh.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Oct 2021 18:50:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259151

            Bug ID: 259151
           Summary: misc/team [patch included] fixing ancient code with
                    K&R compatibility layer and bad pointers and
                    non-varargs.  Ugh.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joerg@FreeBSD.org
          Reporter: dgilbert@eicat.ca
             Flags: maintainer-feedback?(joerg@FreeBSD.org)
          Assignee: joerg@FreeBSD.org

Created attachment 228676
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228676&action=edit
patch for team.c (assumes other patches already applied)

I started out to fix a problem that turned out to be not a problem.  On the way
I found all manner of really bad things (tm).  It was hard to fathom with the
pre-c89 compatibility layer, but then it was also really bad code that assumed
32 bits (ish) with some assumption that quads were long long and pointers mixed
in with ints.

Anyways... this cleans up most things, doesn't really change behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.