Somewhere is src/common make sense. The proc_args.c. module seems to be the test fit.

Quoting "Mark A. Grondona" <[email protected]>:

On Mon, 21 Nov 2011 12:48:42 -0800, "Eckert, Phil" <[email protected]> wrote:
Moe,

Here is change we talked about for the scontrol update options.

The attached patch has two new subroutines that will do a
value check of 16/32 bit ascii conversions to integers
and return an error when the value is exceeded.

        parse_uint32 and parse_uint16

Wouldn't these be useful in src/common/xstring.c?


The patch also replaces strtoll and strtol calls where it seemed
appropriate.

Phil Eckert
LLNL

Attachment: scontrol.patch (application/octet-stream)




Reply via email to