This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The Coverity audit is upset that the scream_olds variable is not
[perl5.git] / thread.h
index 20152f3..476f310 100644 (file)
--- a/thread.h
+++ b/thread.h
@@ -1,6 +1,6 @@
 /*    thread.h
  *
- *    Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005
+ *    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
  *    by Larry Wall and others
  *
  *    You may distribute under the terms of either the GNU General Public
     STMT_START {                                               \
        int _eC_;                                               \
        if ((_eC_ = pthread_key_create(&PL_thr_key, 0))) {      \
-            write(2, "panic: pthread_key_create failed\n", 33); \
+            write(2, STR_WITH_LEN("panic: pthread_key_create failed\n")); \
            exit(1);                                            \
        }                                                       \
     } STMT_END