|
| From: | Chet Ramey |
| Subject: | Re: [PATCH] Fix time_command() for systems with neither HAVE_GETTIMEOFDAY nor HAVE_TIMES |
| Date: | Wed, 12 Nov 2025 10:16:58 -0500 |
| User-agent: | Mozilla Thunderbird |
On 11/11/25 4:15 PM, andrew@andrewoates.com wrote:
From: Andrew Oates <andrew@andrewoates.com> The usage of selfb, before, etc in this block do not match the conditions where they are declared above. Therefore, on a system (for example) that has none of HAVE_GETRUSAGE, HAVE_GETTIMEOFDAY, nor HAVE_TIMES defined, this will fail to compile. Likewise, a system with HAVE_GETRUSAGE but neither of the other two will also fail.
Can you give me an example of such a system?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
| [Prev in Thread] | Current Thread | [Next in Thread] |