Subversion Repositories Kolibri OS

Rev

Rev 1870 | Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1870 Rev 4292
Line 133... Line 133...
133
    va_end(ap);
133
    va_end(ap);
134
 
134
 
Line 135... Line 135...
135
    if( len )
135
    if( len )
136
    {
136
    {
137
        SysMsgBoardStr(txtbuf);
137
        if( dbgfile.path)
138
 
138
        {
139
/*  do not write into log file if interrupts disabled */
139
/*  do not write into log file if interrupts disabled */
Line 140... Line 140...
140
 
140
 
141
        if ( (get_eflags() & (1 << 9)) && dbgfile.path)
141
            if ( get_eflags() & (1 << 9) )
142
        {
142
            {
143
            write_file(dbgfile.path,txtbuf,dbgfile.offset,len,&writes);
143
                write_file(dbgfile.path,txtbuf,dbgfile.offset,len,&writes);
144
            dbgfile.offset+=writes;
144
                dbgfile.offset+=writes;
-
 
145
            };
-
 
146
        }
145
        };
147
        else SysMsgBoardStr(txtbuf);
146
    };
148
    };
147
    return len;
149
    return len;
Line 148... Line 150...
148
}
150
}