ruby/ext/pty
Jeremy Evans a3f5a043fa Handle getlogin failure in PTY.spawn
getlogin is only called if USER environment variable is not set,
but if getlogin returns NULL in that case, then do not call
getpwnam, and assume /bin/sh as shell.

Mentioned in comment to bug 20586.
2024-08-22 11:20:47 +09:00
..
lib [DOC] RDoc changes for IO (#6458) 2022-10-02 08:24:08 -05:00
depend ruby tool/update-deps --fix 2024-04-27 21:55:28 +09:00
extconf.rb [pty] Fix missing `or` 2024-04-14 20:35:34 +09:00
pty.c Handle getlogin failure in PTY.spawn 2024-08-22 11:20:47 +09:00