netatalk 1.3.3 patches
Beginning around MacOS 7.5.3 and continuing through 7.6.1, files copied
from MacOS to afpd may be corrupted. Typically, if several files are
copied at once, the 8th, 16th, 24, etc, file-fork will have the wrong
length. This patch works around the problem by re-using Open Fork
Refnums only after 65534 files have been opened in a session. MacOS 8
does seem to have this problem, but apparently has others.
Somewhere around Linux 1.3.60, dirent.h changed such that d_namlen was
no longer part of the dirent structure. I'm told that the information
in the structure was never what I'd expect, but I doubt if afpd would
have worked if it weren't. In any case, this patch changes reference
to d_namlen to strlen( d_name ).
Send comments about this page to
netatalk@umich.edu
Go back to netatalk patches.
Go back to netatalk home page.