]> arthur.barton.de Git - netatalk.git/commit
Fix pathname bug for FCE modified event
authorFrank Lahm <franklahm@googlemail.com>
Fri, 9 Nov 2012 11:48:53 +0000 (12:48 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Thu, 22 Nov 2012 15:19:52 +0000 (16:19 +0100)
commite57b112e3e20af20dea7c621244fc358e4cc1401
treec97321d9b4467f68bdb77d40442a46324de1b0d3
parent7c87a58e70aab8eb2789f49eb4cd7c28f7df5bbc
Fix pathname bug for FCE modified event

It's not guaranteed that cwd is the forks parent directory, thus
we can't use the fullpathname(forkname) wrapper.
Instead we use the DID stored in the ofork structure to dirlookup
the directory and use it's fullpath together with the fork's name.
etc/afpd/fork.c
etc/afpd/ofork.c