projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18916d0
)
Get rid of hardcoded string length.
author
Gisle Aas
<gisle@activestate.com>
Wed, 4 Jan 2006 14:10:34 +0000
(14:10 +0000)
committer
Gisle Aas
<gisle@activestate.com>
Wed, 4 Jan 2006 14:10:34 +0000
(14:10 +0000)
p4raw-id: //depot/perl@26647
thread.h
patch
|
blob
|
history
diff --git
a/thread.h
b/thread.h
index
20152f3
..
a4c10e7
100644
(file)
--- a/
thread.h
+++ b/
thread.h
@@
-335,7
+335,7
@@
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