[RFAv2 2/2] Add a selftest that checks documentation invariants.

Tom Tromey tom@tromey.com
Wed Aug 7 02:06:00 GMT 2019


Philippe> I have kept the code above, as strchr returns NULL if no \n
Philippe> is found, but it is normal to have a doc with just the
Philippe> first line (not terminated by a LF).
Philippe> In this case, we must still check that we have a . before
Philippe> the terminating null byte.

Thanks, that makes sense.

Tom



More information about the Gdb-patches mailing list