Review of sizeof usage
From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Tue, 11 Aug 2015 15:50:51 +0100
Hi all,
The bug that lead to r1694533 prompted me to grep
I only found one other real problem and fixed it in
abc_t *v = apr_pcalloc(pool, sizeof(*v));
rather than
abc_t *v = apr_pcalloc(pool, sizeof(abc_t));
I found and fixed about 50 occurrences. If nobody
-- Stefan^2.
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.