On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does
commit883413faf6e5797e703c7c81b481f621a51eba37
authorFrancois Gouget <fgouget@codeweavers.com>
Mon, 30 May 2005 11:33:42 +0000 (30 11:33 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 30 May 2005 11:33:42 +0000 (30 11:33 +0000)
tree73e16ff0c0cf02ab6badbe6ccdfa350f4f5fc7b7
parentb075f03acbe98b4a1c9de486377ed952cd01af21
On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does
not support VFAT_IOCTL_READDIR_BOTH but returns 0 (success) anyway. So
set d_reclen to 65535 (an impossible value) before the ioctl() and
check it afterwards to work around this bug.
dlls/ntdll/directory.c