OSDN Git Service

To avoid a fatal "cannot set permissions correctly" error, set player_egid (and to...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 5 Apr 2020 16:26:38 +0000 (09:26 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Sun, 5 Apr 2020 16:26:38 +0000 (09:26 -0700)
commit1c66a4b5c0a7e836ece7c40cc0d7edb8fb9d4998
tree00d3cb9eeb5e8d02bc18073dc115cd7e7c19c0c7
parent4c534cca679efc526272a61c9bbfcd9a07c403f9
To avoid a fatal "cannot set permissions correctly" error, set player_egid (and to be safe, player_euid) before calling init_angband().  Did not determine why setting player_egid after the init_angband() call happens to work in Angband and 2.2.1.7.
src/main-cocoa.m