[Bug 230059] net/owamp: Don't assume the two-argument version of timespecadd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 26 14:53:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230059

            Bug ID: 230059
           Summary: net/owamp: Don't assume the two-argument version of
                    timespecadd
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pi at FreeBSD.org
          Reporter: asomers at FreeBSD.org
          Assignee: pi at FreeBSD.org
             Flags: maintainer-feedback?(pi at FreeBSD.org)

Created attachment 195476
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195476&action=edit
Unconditionally define a private timespecadd

net/owamp assumes that if timespecadd is defined, it's identical to the
two-argument version found in the FreeBSD kernel.  However, the three argument
version found in NetBSD and OpenBSD is actually more common.  An upcoming
commit to head will replace FreeBSD's version with the NetBSD version.  So
net/owamp shouldn't assume that if FreeBSD defines timespecadd, it's defining
the 2-argument version.

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


More information about the freebsd-ports-bugs mailing list