]> birchwood-abbey.net Git - mit-scheme.git/commitdiff
microcode/macosx-starter: Use fork, not vfork.
authorTaylor R Campbell <campbell+mit-scheme@mumble.net>
Tue, 28 Dec 2021 12:16:28 +0000 (12:16 +0000)
committerTaylor R Campbell <campbell+mit-scheme@mumble.net>
Tue, 28 Dec 2021 12:16:28 +0000 (12:16 +0000)
I don't think this utility is remotely performance-sensitive, but if
it is we could switch to posix_spawn instead.

src/microcode/macosx-starter.c

index e6739644ff937a01b92b33af1d90bd1d99f2a88f..dcffad0e3af3952bc65971d793911b9cbf2d74e0 100644 (file)
@@ -55,7 +55,7 @@ main (int argc, const char ** argv)
     return (3);
 
   bp = ((char *) buffer);
-  pid = (vfork ());
+  pid = (fork ());
   if (pid == 0)
     {
       execl (bp, bp, "--macosx-application", "--edit", ((char *) 0));