bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] shell_start_time


From: Chet Ramey
Subject: Re: [BUG] shell_start_time
Date: Mon, 29 Sep 2025 13:25:00 -0400
User-agent: Mozilla Thunderbird

On 9/29/25 3:51 AM, Pourko via Bug reports for the GNU Bourne Again SHell wrote:
Related...

In: execute_cmd.c ln: 111

extern time_t shell_start_time;
#if defined (HAVE_GETTIMEOFDAY)
extern struct timeval shellstart;
#endif

But if there's no HAVE_GETTIMEOFDAY then what's in shell_start_time,
as shell.c calls gettimeofday() to put something in shell_start_time.

Seconds.

--
``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/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]