Module Name: krb5 Committed By: raeburn Date: Thu May 6 02:28:25 UTC 2004 Modified Files: krb5/src/util/et/ChangeLog krb5/src/util/et/error_message.c krb5/src/util/et/t_com_err.c Added Files: Removed Files: Log Message Start using our first bit of per-thread storage. * error_message.c (buffer): Static variable deleted. (com_err_initialize): Register cleanup support for com_err thread-specific data key. (error_message): Use a per-thread dynamically-allocated buffer instead of static storage, for the case where an unknown error code is given. If any errors occur allocating or tracking the buffer, return a fixed message. * t_com_err.c: Include stdlib.h. If TEST_THREADS is defined, include pthread.h. (run): Renamed from main, changed signature. (main): New function. Just call run, or if TEST_THREADS is defined, create a thread to call it. To generate a diff of this commit: cvs diff -r5.138 -r5.139 krb5/src/util/et/ChangeLog cvs diff -r5.41 -r5.42 krb5/src/util/et/error_message.c cvs diff -r5.3 -r5.4 krb5/src/util/et/t_com_err.c