tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: aligned_alloc c11 function



On Oct 25,  3:01pm, nros%NetBSD.org@localhost (Niclas Rosenvik) wrote:
-- Subject: Re: aligned_alloc c11 function

| On Sat, 24 Oct 2015 21:43:36 +0000 (UTC)
| christos%astron.com@localhost (Christos Zoulas) wrote:
| 

[thanks]

| > >+                       ATF_REQUIRE_EQ_MSG(p == NULL, false,
| > >+                           "aligned_alloc: %s", strerror(errno));
| > >+                       ATF_REQUIRE_EQ_MSG(((intptr_t)p) &
| > >(align[i]-1), 0,
| > 
| > Whitespace

align[i]-1 -> align[i] - 1

| Where?
| 
| The things commented on in the test case also applies to the already
| existing test case posix_memalign_basic.
| Do you want these fixed as well?

Sure, why not?

Thanks!

christos


Home | Main Index | Thread Index | Old Index