]> mj.ucw.cz Git - libucw.git/commit
It seems that signal safety of time-related functions is even more subtle
authorMartin Mares <mj@ucw.cz>
Fri, 20 Jan 2006 19:47:21 +0000 (19:47 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 20 Jan 2006 19:47:21 +0000 (19:47 +0000)
commit6ff61377466b0dcc92aacddb62236773bd6c7d1d
tree64a32a70ce00e136acc0b98caea6b1d143fc2a20
parentce64a28cb066300d964d86f2db9842e1708f9e70
It seems that signal safety of time-related functions is even more subtle
than I thought -- strftime() and localtime_r() can deadlock each other,
probably due to access to time zone information. Replaced strftime() by
a mere sprintf.
lib/log.c