[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fformat fails to detect premature end of string
From: |
Richard M. Stallman |
Subject: |
Re: Fformat fails to detect premature end of string |
Date: |
Wed, 21 Sep 2005 20:09:18 -0400 |
Surely, this is not a generic solution to finding the end of a string
(if string contains other NUL's), but for the specific case it is ok,
since %<NUL> is not a valid format specifier, and Fformat signals an
error for an invalid format string.
I think my change makes the code cleaner
because it requires less work to prove to onself it is correct.
(It is also faster, though that probably is insignificant.)