|
From: | Paul Eggert |
Subject: | Re: Some more <config.h> reminders |
Date: | Thu, 13 Apr 2023 15:48:05 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 4/13/23 15:18, Bruno Haible wrote:
* The bitrot will happen, but is harmless since it's only in comments. * I wish to avoid to break applications without good need. I
Both fair points.Still, how far does this go? For example, lib/parse-duration.h currently doesn't have the <config.h> reminder, even though it uses time_t and therefore is vulnerable to a bug if a program includes it without including config.h (and defining _TIME_BITS) first. Do we need to make another pass through the .h files and comments to deal with time_t, struct timespec, _TIME_BITS, etc.? And similarly for off_t?
[Prev in Thread] | Current Thread | [Next in Thread] |