OSDN Git Service

libc: Fix l64a to return the correct buffer pointer
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>
Wed, 3 Feb 2010 12:14:18 +0000 (07:14 -0500)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Wed, 3 Feb 2010 15:31:47 +0000 (16:31 +0100)
commit23e2b7118e41ba78b4069510daae772540b49ebb
tree23f0c51ad5788a2ac78c748e5b4364299debfb1c
parent80361b7c7421f4d7742e3a27b006ab9fe4420a32
libc: Fix l64a to return the correct buffer pointer

l64a was returning the pointer to the end of the internal
buffer instead of the start. This caused an infinite loop
in passwd application.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
libc/stdlib/l64a.c