Mercurial > hg > early-roguelike
comparison arogue7/monsters.c @ 270:7a96fede6cc8
UltraRogue: check the return value from getpwuid().
It is possible for getpwuid() to return NULL. Such a failure will no
longer cause a segfault. However, the call to getpwuid() may normally
not be reachable.
author | John "Elwin" Edwards |
---|---|
date | Wed, 01 Mar 2017 20:40:18 -0500 |
parents | e1cd27c5464f |
children | 28e22fb35989 |
comparison
equal
deleted
inserted
replaced
269:a413bc97d3ea | 270:7a96fede6cc8 |
---|