On Mon, Apr 28, 2008 at 12:19 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: > You do realize using strncmp means that a filename like .abc or ..whatever > will also get hidden?
False. He used strncmp(".", field[8], 2), which matches the first 2
bytes, i.e.,
'.' and '\0'.
But I agree with you: strcmp() would be better here.
Juan
