3 ms·
Ah yes, let's introduce subtle bugs or code that calculates the difference between two time_t's where the result can be negative. If something is effectively a
by account42 2y ago
Ah yes, let's introduce subtle bugs or code that calculates the difference between two time_t's where the result can be negative.
If something is effectively always signed you can assume that things depend on it being signed even if the standard doesn't guarantee it. If you are building a Linux distribution you can't just handwave such code away as "technically it was already broken on this theoretical POSIX compliant platform that no one uses".