* in some proc cmdlines, a choice was offered twix space or null. */
static char *strim (int sp, char *str)
{
- static const char ws[] = "\b\e\f\n\r\t\v";
+ static const char ws[] = "\b\e\f\n\r\t\v\0133"; // \0133 is an escape
char *p;
if (sp)
if (badchar > 3) return -8; // too much junk
if (!c_show) return -9; // nothing was shown
+#if 0
// Due to Rik blindly accepting damem's broken patches, procps-2.0.10
// has 3 ("three"!!!) instances of "#C", "LC", or "CPU". Fix that here.
// Some people are maintainers, and others are human patchbots.
tmp = strchr(fields, '.'); // find back saved spot
*tmp = letter;
}
+#endif
// rest of file is optional, but better look right if it exists
if (!*cp) return 12;