[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split off module fstatat from module openat
From: |
Bruno Haible |
Subject: |
Re: split off module fstatat from module openat |
Date: |
Wed, 9 Nov 2011 10:34:31 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Jim Meyering wrote:
> Did you find that by using some new tool to check
> for unnecessary dependencies, or "just" by inspection?
Just by inspection.
The first approximation was done by 'grep'ing for the function calls,
e.g. grep "fstat (". The second inspection was line by line.
This particular one I found because I was wondering why fstatat() would
have to deal with non-directory file descriptors.
Bruno
--
In memoriam The inmates of the Daugavpils Ghetto
<http://en.wikipedia.org/wiki/Daugavpils_Ghetto>