diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-09-04 11:44:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-09-05 16:55:54 +0900 |
commit | 08e142b209a4919aac527bb0ce174a0ca0333d5c (patch) | |
tree | ebbf317f1209e8901e5d99ee6d848105e2b324bf /test/openssl | |
parent | 630bfd36f9a10c74da1084493ea806d3c706eeba (diff) |
Refactor `getlogin` and `getpw*` functions
- Extract functions to check not-found conditions
- Set the length to the result of `rb_getlogin`
- Reentrant versions return an error numeber but not `errno`
- Check maybe-undefined macros with `defined`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11551
Diffstat (limited to 'test/openssl')
0 files changed, 0 insertions, 0 deletions