X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..4bf2f9df237a4ff9cf449abaae0e444d74981dfa:/sbr/makedir.c diff --git a/sbr/makedir.c b/sbr/makedir.c index 523feb68..2a8cbfc5 100644 --- a/sbr/makedir.c +++ b/sbr/makedir.c @@ -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 #include #include - -extern int errno; int makedir (char *dir) @@ -89,7 +85,7 @@ makedir (char *dir) nested directories like the above code can. -- Dan Harkless */ - switch (pid = vfork()) { + switch (pid = fork()) { case -1: advise ("fork", "unable to"); return 0;