Doesn't build with both perlio and threads enabled, see attached patch. Cheers, Segher Boessenkool East Site --- ../oo/perl-5.6.0/thread.h Sat Mar 11 17:42:45 2000 +++ thread.h Fri Apr 28 15:20:23 2000 @@ -251,7 +251,7 @@ # define ALLOC_THREAD_KEY \ STMT_START { \ if (pthread_key_create(&PL_thr_key, 0)) { \ - fprintf(stderr, "panic: pthread_key_create"); \ + PerlIO_printf(PerlIO_stderr(), "panic: pthread_key_create"); \ exit(1); \ } \ } STMT_ENDThread Next