diff src/callproc.c @ 167:85ec50267440 r20-3b10

Import from CVS: tag r20-3b10
author cvs
date Mon, 13 Aug 2007 09:45:46 +0200
parents 3bb7ccffb0c0
children 15872534500d
line wrap: on
line diff
--- a/src/callproc.c	Mon Aug 13 09:44:44 2007 +0200
+++ b/src/callproc.c	Mon Aug 13 09:45:46 2007 +0200
@@ -455,7 +455,7 @@
 #ifdef WINDOWSNT
     pid = child_setup (filefd, fd1, fd_error, new_argv, current_dir);
 #else  /* not WINDOWSNT */
-    pid = vfork ();
+    pid = fork ();
 
     if (pid == 0)
       {
@@ -496,7 +496,7 @@
     {
       if (fd[0] >= 0)
 	close (fd[0]);
-      report_file_error ("Doing vfork", Qnil);
+      report_file_error ("Doing fork", Qnil);
     }
 
   if (INTP (buffer))
@@ -627,7 +627,7 @@
 
    This function may change environ for the superior process.
    Therefore, the superior process must save and restore the value
-   of environ around the vfork and the call to this function.
+   of environ around the fork and the call to this function.
 
    ENV is the environment for the subprocess.