MFC r261901:

Preserve one character space for a trailing '\0'.
MFC r267196:

Add support for inspecting process flags set in p_flag2.