1b0d07ffc934973e6d31a1d8596429bd94c96f19 galt Sat Jun 18 09:56:36 2016 -0700 fix typo in comment diff --git src/parasol/para/para.c src/parasol/para/para.c index d04772b..8639a4b 100644 --- src/parasol/para/para.c +++ src/parasol/para/para.c @@ -654,31 +654,31 @@ /* Wrapper to avoid corruption file by two para process being run in the same * directory. */ { char hostName[128]; char tmpName[PATH_LEN]; long time = clock1000(); /* generate a unique name for tmp file */ if (gethostname(hostName, sizeof(hostName)) < 0) errnoAbort("can't get host name"); safef(tmpName, sizeof(tmpName), "%s.%d.%s.tmp", fileName, getpid(), hostName); writeBatch(db, tmpName); -/* now rename (which is attomic) */ +/* now rename (which is atomic) */ if (rename(tmpName, fileName) < 0) errnoAbort("can't rename %s to %s", tmpName, fileName); writeBookMark(); verbose(2, "atomicWriteBatch time: %.2f seconds\n", (clock1000() - time) / 1000.0); } struct jobDb *readBatch(char *batch) /* Read a batch file. */ { struct jobDb *db; struct job *job; struct lineFile *lf = lineFileOpen(batch, TRUE); char *line; long time = clock1000();