Hi Tanguy,

On Sat, Feb 04, 2012 at 10:58:43AM +0100, Tanguy LE CARROUR wrote:
> I'll try to see what's wrong, but any advice is welcome.

The problem is due to lstat() always returning a null size on Linux for
/proc/*/exe, so the approach described in readlink(2) cannot be applied.
You will need a reallocation loop similar to what you did for get_line().

-- 
Jeremie Koenig <j...@jk.fr.eu.org>
http://jk.fr.eu.org



-- 
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