Statistics
| Branch: | Revision:

root / path.c @ 75b9f690

History | View | Annotate | Download (4.7 kB)

# Date Author Comment
2296f194 02/09/2011 10:33 am Mike Frysinger

user: speed up init_paths a bit

The current init_paths code will attempt to opendir() every single file it
finds. This can obviously generated a huge number of syscalls with even a
moderately small sysroot that will fail. Since the readdir() call provides...

34ba360f 12/25/2009 08:19 pm Kirill A. Shutemov

path.c fix warning with _FORTIFY_SOURCE

CC    libuser/path.o
cc1: warnings being treated as errors
/usr/src/RPM/BUILD/qemu-0.11.92/path.c: In function 'new_entry':
/usr/src/RPM/BUILD/qemu-0.11.92/path.c:49: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result...
37022086 08/15/2009 10:51 am Blue Swirl

user: compile path.c only once

Also merge bsd-user/path.c and linux-user/path.c.

Signed-off-by: Blue Swirl <>