[m-rev.] for review: access strerror() via the I/O state

Peter Wang novalazy at gmail.com
Mon Nov 18 10:52:01 AEDT 2019


On Sun, 17 Nov 2019 14:03:46 +1100 (AEDT), Julien Fischer <jfischer at opturion.com> wrote:
> 
> For review by anyone.
> 
> -------------------------
> 
> Access strerror() via the I/O state.
> 
> The result returned by strerror() may be locale dependent.  Treating it as a
> constant function as the standard library currently does is incorrect.  Fix
> this by requiring all access to strerror() (or its Windows equivalent)  to be
> made via the I/O state.
> 
> library/io.m:
>      Change predicates that access strerror() to take an I/O state pair.
> 
> library/dir.m:
>      Conform to the above change.
> 
>      Delete unnecessary module qualification.
> 
> mdbcomp/program_representation.m:
>      Conform to the above change.

That's fine.

Peter


More information about the reviews mailing list