Hi, the following patch will improve the usability of zic in environments with multiple processors (or make running several processes). We are in this situation in GNU libc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff -u gnu/glibc/time/zic.c:1.1.1.4 gnu/glibc/time/zic.c:1.2 --- gnu/glibc/time/zic.c:1.1.1.4 Wed Jan 22 06:58:14 1997 +++ gnu/glibc/time/zic.c Sun Feb 2 12:02:29 1997 @@ -2126,8 +2126,11 @@ if (!itsdir(name)) { /* ** It doesn't seem to exist, so we try to create it. + ** Double check the return. Someone may be one + ** step ahead of us. */ - if (mkdir(name, 0755) != 0) { + if (mkdir(name, 0755) != 0 && !itsdir(name)) + { const char *e = strerror(errno); (void) fprintf(stderr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks, -- Uli ---------------. drepper@cygnus.com ,-. Rubensstrasse 5 Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------