projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 5.13.0
[yaz-moved-to-github.git]
/
src
/
log.c
diff --git
a/src/log.c
b/src/log.c
index
e3c8dc8
..
8bc5ad0
100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-105,12
+105,12
@@
static unsigned int next_log_bit = YLOG_LAST_BIT<<1; /* first dynamic bit */
static YAZ_MUTEX log_mutex = 0;
static YAZ_MUTEX log_mutex = 0;
-static void yaz_log_lock(void)
+void yaz_log_lock(void)
{
yaz_mutex_enter(log_mutex);
}
{
yaz_mutex_enter(log_mutex);
}
-static void yaz_log_unlock(void)
+void yaz_log_unlock(void)
{
yaz_mutex_leave(log_mutex);
}
{
yaz_mutex_leave(log_mutex);
}
@@
-340,8
+340,6
@@
static void yaz_log_open_check(struct tm *tm, int force, const char *filemode)
{
yaz_log_close();
yaz_log_info.log_file = new_file;
{
yaz_log_close();
yaz_log_info.log_file = new_file;
- if (l_level & YLOG_FLUSH)
- setvbuf(yaz_log_info.log_file, 0, _IONBF, 0);
}
else
{
}
else
{