[cs631apue] segfail when using getpwuid

Jin Sun jsun6 at stevens.edu
Sat Oct 4 21:35:29 EDT 2014


 length[OWNER]=max(length[OWNER],(int)strlen(

            (getpwuid(curr->fts_statp->st_gid))->pw_name));


anybody know why this line get a segfail?


No error on my mac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20141004/0413d625/attachment.html>


More information about the cs631apue mailing list