bug-bash
[Top][All Lists]
Advanced

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

Re: ``read -N n -t timeout'' saves partial input only when EOF is seen?


From: Chet Ramey
Subject: Re: ``read -N n -t timeout'' saves partial input only when EOF is seen?
Date: Fri, 25 Nov 2016 12:40:58 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

On 11/25/16 9:57 AM, Dmitry Goncharov wrote:
> Auto variables have unspecified values after a call to longjmp.

This is true.  It's what the USE_VAR macro is intended to defeat, but let's
see what marking i volatile does.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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