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)
commitd0a0930485508da9d3bd2ee2e37c3cc15896940e
treed52502b334408fc7e31084c614b1f073b2d4cec1
parent6b705097d4d9062369eb3d337dce4d892a5c8fee
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.
(This used to be commit a60fe9aba16eac4f195a2359d8b7672d8c8aa240)
source3/smbd/dir.c