if (do_truncate) {
(void)ftruncate(fileno(con_fd), 0L);
}
- console_msg_pending = FALSE;
- ua->user_notified_msg_pending = FALSE;
+ console_msg_pending = false;
+ ua->user_notified_msg_pending = false;
pthread_cleanup_pop(0);
Vw(con_lock);
}
int64_t debug_level = 0; /* debug level */
int64_t debug_level_tags = 0; /* debug tags */
int32_t debug_flags = 0; /* debug flags */
-int console_msg_pending = false;
+bool console_msg_pending = false;
utime_t daemon_start_time = 0; /* Daemon start time */
FILE *con_fd = NULL; /* Console file descriptor */
brwlock_t con_lock; /* Console lock structure */
con_fname, be.bstrerror());
}
if (lseek(fd, 0, SEEK_END) > 0) {
- console_msg_pending = 1;
+ console_msg_pending = true;
}
close(fd);
con_fd = bfopen(con_fname, "a+b");
extern DLL_IMP_EXP const char * working_directory;
extern DLL_IMP_EXP utime_t daemon_start_time;
-extern DLL_IMP_EXP int console_msg_pending;
+extern DLL_IMP_EXP bool console_msg_pending;
extern DLL_IMP_EXP FILE * con_fd; /* Console file descriptor */
extern DLL_IMP_EXP brwlock_t con_lock; /* Console lock structure */