FreeBSD Bugzilla – Attachment 195476 Details for
Bug 230059
net/owamp: Don't assume the two-argument version of timespecadd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Unconditionally define a private timespecadd
owamp_timespecadd.diff (text/plain), 2.09 KB, created by
Alan Somers
on 2018-07-26 14:53:18 UTC
(
hide
)
Description:
Unconditionally define a private timespecadd
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2018-07-26 14:53:18 UTC
Size:
2.09 KB
patch
obsolete
>Index: net/owamp/files/patch-owamp_owamp.h >=================================================================== >--- net/owamp/files/patch-owamp_owamp.h (nonexistent) >+++ net/owamp/files/patch-owamp_owamp.h (working copy) >@@ -0,0 +1,49 @@ >+--- owamp/owamp.h.orig 2012-03-27 02:23:05 UTC >++++ owamp/owamp.h >+@@ -1635,14 +1635,13 @@ OWPTestDiskspace( >+ #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) >+ #endif >+ >+-#ifndef timespeccmp >++#undef timespeccmp >+ #define timespeccmp(tvp, uvp, cmp) \ >+ (((tvp)->tv_sec == (uvp)->tv_sec) ? \ >+ ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \ >+ ((tvp)->tv_sec cmp (uvp)->tv_sec)) >+-#endif >+ >+-#ifndef timespecadd >++#undef timespecadd >+ #define timespecadd(vvp, uvp) \ >+ do { \ >+ (vvp)->tv_sec += (uvp)->tv_sec; \ >+@@ -1652,9 +1651,8 @@ OWPTestDiskspace( >+ (vvp)->tv_nsec -= 1000000000; \ >+ } \ >+ } while (0) >+-#endif >+ >+-#ifndef timespecsub >++#undef timespecsub >+ #define timespecsub(vvp, uvp) \ >+ do { \ >+ (vvp)->tv_sec -= (uvp)->tv_sec; \ >+@@ -1664,9 +1662,8 @@ OWPTestDiskspace( >+ (vvp)->tv_nsec += 1000000000; \ >+ } \ >+ } while (0) >+-#endif >+ >+-#ifndef timespecdiff >++#undef timespecdiff >+ #define timespecdiff(vvp,uvp) \ >+ do { \ >+ struct timespec ts1_,ts2_; \ >+@@ -1680,7 +1677,6 @@ OWPTestDiskspace( >+ timespecsub(&ts1_,&ts2_); \ >+ *vvp = ts1_; \ >+ } while(0) >+-#endif >+ >+ extern OWPNum64 >+ OWPGetRTTBound( > >Property changes on: net/owamp/files/patch-owamp_owamp.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230059
: 195476