Follow-up Comment #4, bug #66512 (group groff):

Okay, it's broken, but not completely.  Output is not going to stderr but that
doesn't look like it has anything to do with file descriptor management.  As
you noted, moving `tok.next()` is involved.


$ printf '.sy test -r Valence5.jpg\n.tm
systat=\\n[systat]\n'|./build/test-groff -Ua
<beginning of page>
 .tm systat=256


An input line is getting formatted as output when it shouldn't be.  So I'm
probably just not getting the parser back to the correct state when finishing
up with `sy`.

Will have to double-check other unsafe requests I fiddled with around the same
time frame.

And add a test case to emit stuff to stderr and ensure it arrives there.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66512>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to