Mercurial > hg > early-roguelike
comparison srogue/global.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 | 78fa1d0e5d25 |
children | d3968e9cb98d |
comparison
equal
deleted
inserted
replaced
269:a413bc97d3ea | 270:7a96fede6cc8 |
---|