From: didier <dga...@ma...> - 2008-12-23 09:42:24
|
Hi, Le samedi 20 décembre 2008 à 07:01 +0100, didier a écrit : > > Netatalk's result code is more right than Mac OS X. > > However, netatalk should behave as well as Mac OS X. > > I wrote a one-line patch. > > (netatalk-2.1dev-resolveid_dir.patch) > Thanks, I'll try to do more tests because in the test suite we > specifically test for both values, meaning that at least some Apple > server versions (pre OSX?) were returning kFPObjectTypeErr and it's the > kind of stuff where returning the wrong value can badly confuse a client > in weird places. > > After these tests I think I will put something like: > if (afp_version < 3) return kFPObjectTypeErr else kFPIDNotFound. > Commit in both branches, thanks Didier |