r6417: Strange old IRIX systems return -1 for telldir() when
authorJeremy Allison <jra@samba.org>
Thu, 21 Apr 2005 07:57:52 +0000 (07:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:41 +0000 (10:56 -0500)
commita60fe9aba16eac4f195a2359d8b7672d8c8aa240
tree22601c30daed4e1fed9f91b22f7050fa7eb45ede
parentb568e5188c3bc514d747b4c1c4e612e924fc6a4f
r6417: Strange old IRIX systems return -1 for telldir() when
end of directory reached. Don't check for that and bail
when reading directory entries as it's a valid value.
Excellent work from Cale Fairchild <cale@brocku.ca>
tracked this down.
Jeremy.
source/smbd/dir.c