OSDN Git Service

libcom_err: Use thread local storage to fix reentrancy problems
authorTheodore Ts'o <tytso@mit.edu>
Sun, 10 Feb 2008 04:39:27 +0000 (23:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 10 Feb 2008 04:49:19 +0000 (23:49 -0500)
commit47526e3568f93a13caa347408496f1f1d48af74c
tree16e6c9d28793776d044498e969d33f2acb1ec9aa
parent5010f295cac73e19497bd834a27755fc80a2e4f2
libcom_err: Use thread local storage to fix reentrancy problems

Address the theoretical problem of two threads trying to format a
different unknown error code by using TLS.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/et/error_message.c