]> diplodocus.org Git - nmh/blobdiff - sbr/makedir.c
More test-mhmail probing.
[nmh] / sbr / makedir.c
index 523feb68ce10ce7c4e763da48c743163f28aac4b..2a8cbfc50cb68fb2486473cdff25f06561e9f3d4 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * makedir.c -- make a directory
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -17,8 +15,6 @@
 #include <errno.h>
 #include <sys/param.h>
 #include <sys/file.h>
-
-extern int errno;
        
 int
 makedir (char *dir)
@@ -89,7 +85,7 @@ makedir (char *dir)
           nested directories like the above code can.
 
           -- Dan Harkless <dan-nmh@dilvish.speed.net> */
-       switch (pid = vfork()) {
+       switch (pid = fork()) {
            case -1: 
                advise ("fork", "unable to");
                return 0;