[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Experiences with compiling Debian



In article <[🔎] m0whNSn-000CNNC@rulcmc.leidenuniv.nl>,
joost witteveen <joost@rulcmc.leidenuniv.nl> wrote:
>
>[2] Well, I've olverloaded lstat all right, but it doesn't seem to
>    get called don't know why yet. Why would chown() work and lstat() 
>    not?

stat() and lstat() are small inline routines, that call _xstat() resp.
_fxstat() with a version-parameter. This allows for upgrading the stat struct
while maintaining backwards binary compatibility.

So you need to overload _xstat() and _fxstat() instead.

Mike.
-- 
| Miquel van Smoorenburg |  "I need more space" "Well, why not move to Texas" |
| miquels@cistron.nl     |  "No, on my account, stupid." "Stupid? Uh-oh.."    |
|     PGP fingerprint: FE 66 52 4F CD 59 A5 36  7F 39 8B 20 F1 D6 74 02       |


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: