File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11/*****************************************************************************\
2- * $Id: server-logfile.c,v 1.11.2.6 2003/10/04 02:00:22 dun Exp $
2+ * $Id: server-logfile.c,v 1.11.2.7 2003/10/07 23:11:09 dun Exp $
33 *****************************************************************************
44 * Copyright (C) 2001-2002 The Regents of the University of California.
55 * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
@@ -164,7 +164,11 @@ int open_logfile_obj(obj_t *logfile, int gotTrunc)
164164 write_obj_data (logfile , msg , strlen (msg ), 0 );
165165 free (now );
166166 free (msg );
167-
167+ /*
168+ * Since the above console log message is not marked "informational",
169+ * the test in write_obj_data() to re-init the line state will not
170+ * be triggered. Thusly, we re-initialize the line state here.
171+ */
168172 logfile -> aux .logfile .lineState = CONMAN_LOG_LINE_INIT ;
169173
170174 DPRINTF ((10 , "Opened %s%slogfile \"%s\" for console [%s].\n" ,
You can’t perform that action at this time.
0 commit comments