"util/error-report.c" did not exist on "cf5a65aaaf3e9382e50df550ba049a1c8691a5dd"
-
Marc-André Lureau authored
The glib function was introduced in 2.64. It's a safer version of getpwnam, and also simpler to use than getpwnam_r. Currently, it's only use by the next patch in qemu-ga, which doesn't (well well...) need the thread safety guarantees. Since the fallback version is still unsafe, I would rather keep the _qemu postfix, to make sure it's not being misused by mistake. When/if necessary, we can implement a safer fallback and drop the _qemu suffix. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by:
Michal Privoznik <mprivozn@redhat.com>
*fix checkpatch warnings about newlines before/after block comments
Signed-off-by:
Michael Roth <michael.roth@amd.com>Marc-André Lureau authoredThe glib function was introduced in 2.64. It's a safer version of getpwnam, and also simpler to use than getpwnam_r. Currently, it's only use by the next patch in qemu-ga, which doesn't (well well...) need the thread safety guarantees. Since the fallback version is still unsafe, I would rather keep the _qemu postfix, to make sure it's not being misused by mistake. When/if necessary, we can implement a safer fallback and drop the _qemu suffix. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by:
Michal Privoznik <mprivozn@redhat.com>
*fix checkpatch warnings about newlines before/after block comments
Signed-off-by:
Michael Roth <michael.roth@amd.com>
Loading