diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-09-04 11:44:12 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-09-05 16:55:54 +0900 |
| commit | 08e142b209a4919aac527bb0ce174a0ca0333d5c (patch) | |
| tree | ebbf317f1209e8901e5d99ee6d848105e2b324bf /include/ruby/internal/encoding | |
| 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 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions
