Files
mirror_zfs/include
Richard Kojedzinszky dc0324bfa9 fix: make zfs_strerror really thread-safe and portable
#15793 wanted to make zfs_strerror threadsafe, unfortunately, it
turned out that strerror_l() usage was wrong, and also, some libc 
implementations dont have strerror_l().

zfs_strerror() now simply calls original strerror() and copies the 
result to a thread-local buffer, then returns that.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Richard Kojedzinszky <richard@kojedz.in>
Closes #15793
Closes #16640
Closes #16923
2025-01-04 10:33:27 -08:00
..
2023-03-14 15:25:50 -07:00
2024-02-05 10:00:41 -08:00
2024-09-04 14:17:02 -07:00
2024-09-04 14:17:02 -07:00
2024-10-02 20:47:11 -07:00