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

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

 



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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux