On Mon, Mar 28, 2011 at 01:17:34AM +0200, Aurelien Jarno wrote:
> The missing function is lchmod(), not lchown(), but I guess I can have
> a look at how lchown() is implemented to understand how to fix this
> issue.

That's what I get for reading email in a hurry instead of when
I'm sleep-deprived.  The answer is almost the same though: just
copy the entirety of chmod() in libfakeroot.c instead, and
s/chmod/lchmod/ in the function declaration and the next_ call,
sandwich it within #ifdef HAVE_LCHMOD, add the test to
configure.ac, and the same #ifdef'd prototype to wrapfunc.inp,
then borrow the STAT/LSTAT logic from the lchown stuff.
Something close to that, anyway.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to