On 5/24/21 4:23 AM, Alex Bennée wrote:
+        } else if (g_ascii_isdigit(*filename)) {
+            g_autofree char * myself = g_strdup_printf("%d/", getpid());
+            if (!g_str_has_prefix(filename, myself)) {
This seems roundabout.  Wouldn't it be better to qemu_strtoul and compare the 
integers?

r~

Reply via email to