Actions
Bug #11403
closedpools: NULL pointer errors
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build errors with NULL pointer:
../jpool.c: In function 'Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer': ../jpool.c:913:12: error: return makes integer from pointer without a cast [-Werror=int-conversion] return (NULL); ^ poolcfg.y: In function 'get_cpu': poolcfg.y:1497:20: error: comparison between pointer and integer [-Werror] for (c = name; *c != NULL; c++) { ^~ cc1: all warnings being treated as errors
Updated by Electric Monk almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 03dfa5ba2e49b36a25b9f1d8658f224d030a0dd0
commit 03dfa5ba2e49b36a25b9f1d8658f224d030a0dd0 Author: Toomas Soome <tsoome@me.com> Date: 2019-07-26T05:21:15.000Z 11403 pools: NULL pointer errors Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Actions