Re: [ovs-dev] [PATCH] acinclude: Fix false positive search for prandom_u32

2019-10-08 Thread Ben Pfaff
On Tue, Oct 08, 2019 at 09:21:15AM -0700, Greg Rose wrote: > Searching random.h for prandom_u32 will also match when prandom_u32_max > is present and cause a false positive HAVE_PRANDOM_U32. Fix this up > by looking for the parenthesis following prandom_u32 so it won't > match on prandom_u32_max.

Re: [ovs-dev] [PATCH] acinclude: Fix false positive search for prandom_u32

2019-10-08 Thread Yifeng Sun
LGTM, thanks Greg for the fix. Reviewed-by: Yifeng Sun On Tue, Oct 8, 2019 at 9:21 AM Greg Rose wrote: > > Searching random.h for prandom_u32 will also match when prandom_u32_max > is present and cause a false positive HAVE_PRANDOM_U32. Fix this up > by looking for the parenthesis following pr

[ovs-dev] [PATCH] acinclude: Fix false positive search for prandom_u32

2019-10-08 Thread Greg Rose
Searching random.h for prandom_u32 will also match when prandom_u32_max is present and cause a false positive HAVE_PRANDOM_U32. Fix this up by looking for the parenthesis following prandom_u32 so it won't match on prandom_u32_max. Passes Travis: https://travis-ci.org/gvrose8192/ovs-experimental/b