Update ls_impl.c