3e015d815b
basename(3) and dirname(3) modify their argument and may return pointers to statically allocated memory which may be overwritten by subsequent calls. g_path_get_basename and g_path_get_dirname have no such issues, and therefore more preferable. Signed-off-by: Julia Suvorova <jusual@mail.ru> Message-Id: <1519888086-4207-1-git-send-email-jusual@mail.ru> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
9p-iov-marshal.c | ||
9p-iov-marshal.h | ||
9p-marshal.c | ||
9p-marshal.h | ||
file-op-9p.h | ||
Makefile.objs | ||
qemu-fsdev-dummy.c | ||
qemu-fsdev-opts.c | ||
qemu-fsdev-throttle.c | ||
qemu-fsdev-throttle.h | ||
qemu-fsdev.c | ||
qemu-fsdev.h | ||
virtfs-proxy-helper.c | ||
virtfs-proxy-helper.texi |