Jim Meyering
5d25419188
Parse integers more carefully, cont'd.
...
* qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
Avoid overflow for very large --timeout=N values.
* src/nodeinfo.c: In linuxNodeInfoMemPopulate and
linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
Unlike in qemud.c, here we allow trailing "isspace", and in
the case of "cpuinfo cpu MHz", also allow a "." terminator,
since we ignore the decimal and any following digits.
* src/internal.h: Define xstrtol_ui, too.
Author: Jim Meyering <meyering@redhat.com>
2007-11-14 10:53:05 +00:00
..
2007-02-23 17:15:42 +00:00
2007-09-20 18:40:36 +00:00
2007-06-29 13:23:13 +00:00
2007-10-19 15:09:31 +00:00
2007-07-09 11:24:52 +00:00
2007-10-19 10:01:01 +00:00
2007-03-09 20:47:12 +00:00
2007-01-28 19:47:36 +00:00
2007-01-28 19:47:36 +00:00
2007-10-15 21:38:56 +00:00
2007-09-19 01:27:32 +00:00
2007-09-19 01:27:32 +00:00
2007-08-07 13:02:35 +00:00
2007-07-06 15:02:09 +00:00
2006-11-15 20:11:56 +00:00
2007-11-14 10:53:05 +00:00
2007-06-29 13:23:13 +00:00
2007-06-27 00:12:29 +00:00
2007-09-30 13:22:16 +00:00
2007-10-27 01:23:28 +00:00
2007-10-19 15:09:31 +00:00
2007-11-14 10:53:05 +00:00
2007-07-25 23:16:30 +00:00
2007-09-03 16:30:00 +00:00
2007-09-03 16:30:00 +00:00
2007-09-30 13:09:07 +00:00
2007-09-03 15:37:07 +00:00
2007-10-31 09:39:13 +00:00
2007-10-31 09:39:13 +00:00
2007-11-07 12:29:37 +00:00
2007-10-27 01:18:38 +00:00
2007-10-27 01:21:09 +00:00
2007-06-29 13:23:13 +00:00
2007-10-12 19:54:15 +00:00
2007-11-07 12:29:37 +00:00
2007-06-26 23:48:46 +00:00
2007-09-29 18:31:05 +00:00
2007-09-29 18:31:05 +00:00
2007-10-15 14:32:35 +00:00
2007-04-04 14:19:49 +00:00
2007-11-07 12:29:37 +00:00
2007-08-14 01:33:38 +00:00
2007-08-09 20:19:12 +00:00
2007-08-09 20:19:12 +00:00
2007-11-12 14:00:32 +00:00
2007-07-13 08:26:57 +00:00
2007-11-12 14:00:32 +00:00
2007-09-28 14:28:12 +00:00
2007-10-31 09:39:13 +00:00
2007-10-31 09:39:13 +00:00
2007-11-12 14:00:32 +00:00
2007-10-31 09:39:13 +00:00
2007-11-01 13:33:58 +00:00
2007-07-06 15:11:22 +00:00
2007-11-06 11:49:01 +00:00
2007-10-31 09:39:13 +00:00
2007-02-14 15:40:53 +00:00
2007-06-26 22:33:22 +00:00
2007-11-12 14:00:32 +00:00
2007-11-06 11:49:01 +00:00