]> arthur.barton.de Git - netatalk.git/commit
Removing ressource fork AppleDouble fails, bug #542
authorRalph Boehme <sloowfranklin@gmail.com>
Wed, 8 Jan 2014 00:30:47 +0000 (01:30 +0100)
committerRalph Boehme <rb@sernet.de>
Tue, 21 Jan 2014 10:35:13 +0000 (11:35 +0100)
commite95598c6afa0b4a40961108da8179cf2b17e0fa2
treef994be322d27913501c31621db6afd0da1d19e22
parente47aca85cd9009e0b7e8f332c133daef4ca785ec
Removing ressource fork AppleDouble fails, bug #542

When the AFP client uses FPSetForkParms to set the ressource fork
length to 0, Netatalk will call unlink() in ad_rtruncate() in
libatalk/adouble/ad_write.c in order to to unlink the files
AppleDouble ressource fork.

The function ad_rtruncate() gets just the filename as path from the
caller, so obviously at this point the caller should have ensured that
it had called chdir() to the enclosing directory of the file.

Fixes bug #542.
NEWS
etc/afpd/fork.c