in reply to Permission & size are not visible
See the second paragraph of readdir:
If you're planning to filetest the return values out of a readdir, you'd better prepend the directory in question. Otherwise, because we didn't chdir there, it would have been testing the wrong file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Permission & size are not visible
by gaurav (Sexton) on Jun 19, 2013 at 09:03 UTC | |
by Corion (Patriarch) on Jun 19, 2013 at 09:05 UTC | |
by gaurav (Sexton) on Jun 19, 2013 at 09:33 UTC | |
by smls (Friar) on Jun 19, 2013 at 09:39 UTC | |
by gaurav (Sexton) on Jun 19, 2013 at 10:09 UTC |