develooper Front page | perl.perl5.porters | Postings from April 2000

[ID 20000428.002] PATCH: 5.6.0, threads and perlio

Thread Next
From:
Segher Boessenkool
Date:
April 28, 2000 06:31
Subject:
[ID 20000428.002] PATCH: 5.6.0, threads and perlio
Message ID:
200004281330.PAA31931@bereboot.swimmar.nl
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_END


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About