getpwnam_error.c
changeset 59 a7ba10b68915
parent 33 5e0a954f7c0b
child 77 49e0babccb23
equal deleted inserted replaced
58:9609c54a54d3 59:a7ba10b68915
    33 ==7531==      possibly lost: 0 bytes in 0 blocks.
    33 ==7531==      possibly lost: 0 bytes in 0 blocks.
    34 ==7531==    still reachable: 0 bytes in 0 blocks.
    34 ==7531==    still reachable: 0 bytes in 0 blocks.
    35 ==7531==         suppressed: 0 bytes in 0 blocks.
    35 ==7531==         suppressed: 0 bytes in 0 blocks.
    36 */
    36 */
    37 
    37 
       
    38 /*
       
    39  * LD_PRELOAD=/lib/libnss_compat.so.2 valgrind --leak-check=full \
       
    40  * ./getpwnam_error
       
    41  * fixes it - Many thanks to telexicon for reporting this...
       
    42  *
       
    43  */
       
    44 
    38 int main (int argc, char **argv)
    45 int main (int argc, char **argv)
    39 {
    46 {
    40     struct passwd *pwd;
    47     struct passwd *pwd;
    41     char *user;
    48     char *user;
    42 
    49