Mercurial > hg > early-roguelike
comparison arogue7/rip.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 | f9ef86cf22b2 |
children | d3968e9cb98d |
comparison
equal
deleted
inserted
replaced
269:a413bc97d3ea | 270:7a96fede6cc8 |
---|