Make old parameter passing mode default, not HighMem
printf() style debugging output to log file or PM-Viewer via queue
Brought to you by:
andreas-b
There are applications out there which do not use the .dll to send data to the queue but use an own (outdated) copy of (pm)printf.c source code. Currently such messages are visible in the viewer but with a trailing error message saying ERROR in highmem buffer.
This was seen with ndpdav plugin (own build but probably Yuris too). Other candidates are xwlan and xwp.
Proposed behavior should be - default to old style parameters as long as not explicitly enabled highmem for this PID. Maybe additional safety measures are needed for handling the string in old format when it actually carries the pointer to highmem only.