projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37b509
)
Fix regression to System.Diagnostics.Process.PrivateMemorySize64 (). Fixes #1459
author
David Evans
<devans@mac.com>
Thu, 13 Oct 2011 06:00:34 +0000
(08:00 +0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 13 Oct 2011 06:00:43 +0000
(08:00 +0200)
mono/utils/mono-proclib.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-proclib.c
b/mono/utils/mono-proclib.c
index ebd5982ae1aeb6699c1d9ddf58df1018218edb06..b7062c33f1e4d6c6cd2ead32493fa27685ce1d90 100644
(file)
--- a/
mono/utils/mono-proclib.c
+++ b/
mono/utils/mono-proclib.c
@@
-428,7
+428,7
@@
get_pid_status_item (int pid, const char *item, MonoProcessError *error, int mul
s = get_pid_status_item_buf (pid, item, buf, sizeof (buf), error);
if (s)
- return
atoi (s
) * multiplier;
+ return
((gint64) atol (s)
) * multiplier;
return 0;
#endif
}