The bug was caused by the 10.6 client trying to set the creation
date on a symlink in the package. This caused our setmetadata
routine to require a valid adouble handle for the symlink which is
not possible as symlink may not allow creating an EA, depending
on the filesystem. At least ZFS on Solaris doesnt.
The fix is to check whether the adouble handle creation failed
on a symlink and ignore the error.
Fixes bug #469.
* FIX: "basedir regex" was never able to treat symlink.
If /home -> /usr/home, set "basedir regex = /usr/home".
* FIX: Memory leak
+* FIX: Copying packages to a Netatalk share could fail, bug #469
Changes in 3.0.1
================
uint16_t bitmap = f_bitmap;
uint32_t cdate,bdate;
u_char finder_buf[32];
- int symlinked = 0;
+ int symlinked = S_ISLNK(path->st.st_mode);
#ifdef DEBUG
LOG(log_debug9, logtype_afpd, "begin setfilparams:");