[Crash-utility] 'wr' command doesn't handle big 64-bit values

Dave Anderson anderson at redhat.com
Tue Jul 11 13:01:44 UTC 2006


Castor Fu wrote:

> This is a very small change... It looks like the 'wr' command cannot
> take a 64-bit argument since it doesn't use stoll:
>

Got it -- thanks.  Queued for next release.

Dave


>
> :simpsons; rcsdiff -c memory.c
> ===================================================================
> RCS file: RCS/memory.c,v
> retrieving revision 1.1
> diff -c -r1.1 memory.c
> *** memory.c    2006/07/11 01:31:37     1.1
> --- memory.c    2006/07/11 01:32:39
> ***************
> *** 1280,1286 ****
>                 addr_entered = TRUE;
>
>                   if (args[++optind]) {
> !                         value = stol(args[optind], FAULT_ON_ERROR, NULL);
>                         value_entered = TRUE;
>
>                         switch (size)
> --- 1280,1286 ----
>                 addr_entered = TRUE;
>
>                   if (args[++optind]) {
> !                         value = stoll(args[optind], FAULT_ON_ERROR, NULL);
>                         value_entered = TRUE;
>
>                         switch (size)
>
>       -----------------------------------------------------------------------------------------------------------
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20060711/6acdeb44/attachment.htm>


More information about the Crash-utility mailing list