<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 11/12/2011 01:28 PM, Anton Vorobev wrote:
<blockquote
cite="mid:CABieRoFgF3A8uqu5KUbj5RFWAz7teHBKT_4dwVWfm6-769jsqA@mail.gmail.com"
type="cite">Hi.<br>
<br>
I've got a problem with memsup inside an OpenVZ virtual container
on Debian Linux. <br>
The point is that /proc/meminfo inside container does not include
sections for buffers and/or caches (depends on version), and
memsup does not have a control for NULL pointer before sscanf().<br>
<br>
<br>
So, I propose the following patch which fixes the problem: <br>
<br>
<br>
git fetch git://<a moz-do-not-send="true"
href="http://github.com/vorobev/otp.git" target="_blank">github.com/vorobev/otp.git</a>
maint-memsup<br>
<br>
diff view and path:<br>
<a moz-do-not-send="true"
href="https://github.com/vorobev/otp/compare/maint-memsup"
target="_blank">https://github.com/vorobev/otp/compare/maint-memsup</a><br>
<a moz-do-not-send="true"
href="https://github.com/vorobev/otp/compare/maint-memsup.patch"
target="_blank">https://github.com/vorobev/otp/compare/maint-memsup.patch</a><br>
<br>
Regards,<br>
Anton<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-patches mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-patches">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
</blockquote>
Thank you for the contribution, your branch is included in 'pu'<br>
<br>
I rewrote your commits msg. If you want to do it in another way, I
can refetch the branch after you have changed it to your liking.<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
/Henrik Nord Erlang/OTP</pre>
</body>
</html>