Women in Technology

Hear us Roar



Article:
  When Linux Runs Out of Memory
Subject:   Source needs some changes to compile
Date:   2006-11-30 18:26:14
From:   cdonges
if ! (myblock) break;


should be


if (! myblock) break;


and


print("Currently allocating %d MB\n", ++count);


should be


print f("Currently allocating %d MB\n", ++count);

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • Source needs some changes to compile
    2006-12-01 10:06:18  chromatic | O'Reilly AuthorO'Reilly Blogger [View]

    Thanks; I updated the article.
  • Source needs some changes to compile
    2006-12-01 03:50:13  mulyadi_santosa [View]

    Hi...

    Thank you for the clarification. However, IIRC, both !(myblock) or (!myblock) should yield same result. I am away from dedicated Linux box right now, but I'll confirm it ASAP.

    regards,

    Mulyadi