Web lists-archives.com

Re: [Mingw-users] errno_t and strerror_s




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/12/16 18:56, Keith Marshall wrote:
> ... in fact, since each thread does appear to get its own buffer,
> Microsoft's strerror() *is* thread safe; the caveat is that simply
> saving the pointer returned by strerror() *doesn't* guarantee that
> the message text will remain fixed, *within the calling thread*.
> 
> On this basis, if you would like to file a feature request:
> https://sourceforge.net/p/mingw/bugs/new/ (so I don't forget about
> it), I will consider adding strerror_r() for an upcoming release
> of mingwrt-5.x

FWIW, I committed it anyway:
https://sourceforge.net/p/mingw/mingw-org-wsl/ci/e52d64b7f86888d5f318fae98fec0536653093d3/

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJYnYXWAAoJEMCtNsY0flo/03sQAIzjteMU2DBew62wZQTMgVMg
zeDM/q8SI0SI9hP9HjYAlBnYH/rBmp4be81AMbsEUYESiLg9bF6XIoMahvJxMroe
i7kbIGYbqcaQHUaR7mIb+A9vNPhlfrqWXsZ7KXz5RZo9qVCLNGW1eyd6MvhbFo5f
hbYBJVfgrl3Cmoz3BuGKZ2bg+BotBxHIjgPLsTCg5ujbreyfeXuJJFPwTtCzsqw/
HUbQMgwmt4eUz3Lj7RSkWc8lm/1S3PtfIhcXE6zF3KEJhlwiWCchSpiHdFBlxS3j
oJ6uQFClVZxiJCrVSO2sZIAz2NEeQW8igPBXfeGKPDDSu0nrt4TydengmQCVGDHP
wTUlcw7JPeOoviXHr3mi+hssbKSnPmuJJFGEe2uOCamX3E4xUtG0x1rTCLOzB0kq
R2ZfnqBRRQ1G4vIXbbwzMSXeCPCcJspCqCqtMljRDXsi9A9LvV7hj/cxq6RoKjcD
n7LGXNTSYHt6ccYN2cQkav74Djdnt8E1uh2PHTkT1T7kYX9SCFINIXk5d5W/EyOk
DDCfkib9q5fchu6gCEuzxrTBA/Zy2KFKjELW+ifTn0kK83JyIG6SfphG2fk+rGKU
C0wbqrjB+xmSx4RBPlIV0qfkhx9OautNtXXApGzH66Bo7ll9vnBcMTycMgQPxWx7
vxvl0jqZkTMOCI46jMks
=sa4H
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe