]> git.donarmstrong.com Git - mothur.git/blobdiff - myseqdist.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / myseqdist.cpp
index 28538959a80d8b2a600c33a4c1ff0ed0a77fb75c..b43af1cfeb7b86dae7e17646f983f1cae1c51287 100644 (file)
@@ -159,7 +159,7 @@ int correctDist::createProcess(string distanceFileName){
                                process++;
                        }
                        else if(pid == 0){
-                               driver(start[process], end[process], distanceFileName + toString(getpid()) + ".temp");
+                               driver(start[process], end[process], distanceFileName + m->mothurGetpid(process) + ".temp");
                                exit(0);
                        }
                        else{