thanks!

>               while(got > 0 && strcmp(fi[0].name, ".") == 0 || 
> strcmp(fi[0].name, "..") == 0){

that looks like a bug to me. you ment to write the following instead?

 while(got > 0 && (strcmp(fi[0].name, ".") == 0 || strcmp(fi[0].name, "..") == 
0)){

--
cinap

Reply via email to