split DUMPLOG
DUMPLOG requests the DUMPLOG feature as it does now DUMPLOG_CORE requests the internal buffering only (used for CRASHREPORT) This allows CRASHREPORT to access recent messages without performing any file I/O.
This commit is contained in:
@@ -1787,7 +1787,7 @@ do_look(int mode, coord *click_cc)
|
||||
if (found) {
|
||||
/* use putmixed() because there may be an encoded glyph present */
|
||||
putmixed(WIN_MESSAGE, 0, out_str);
|
||||
#ifdef DUMPLOG
|
||||
#ifdef DUMPLOG_CORE
|
||||
{
|
||||
char dmpbuf[BUFSZ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user