On 1/7/22 7:21 PM, Ángel wrote:

When you mentioned the environment in the previous mail I thought in
the environment block (which you reset with env -i). As for the
environment in general, yes, apparently there are more things that
cause it to be even more random.

The buffer is an auto variable (function local) created on the stack. It
seems to me that the value of the variable adjacent to it on the stack
(`adjacent' is compiler and system dependent) can determine whether or not
that next byte following the buffer affects the mbrtowc() result.

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

Reply via email to