title: Change in glibc not working
body: <p>I have downloaded <em>glibc</em> so that I can modify its code and then use it. So just for the sake of playing with it, I changed the <em>printf</em> function in the directory <em>stdio-common</em> of <em>glibc</em>, so that it prints "Can you see me?". </p>
  
  <pre><code>int
  __printf (const char *format, ...)
  {
    va_list arg;
    int done;
  
    va_start (arg, format);
    done = vfprintf (stdout, "Can you see me?", arg);
    va_end (arg);
  
    return done;
  }
  </code></pre>
  
  <p>After making that change I compiled the <em>glibc</em> and then used the LD_PRELOAD with the <em>libc.so</em> in this <em>glibc</em> directory to run a sample program using <em>printf</em>. However, I still see <em>printf</em> printing normally, that is, the change made by me is not reflected. What mistake am I doing here?</p>