Mercurial > hg > early-roguelike
comparison srogue/mdport.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 | 3d4252fa2ed3 |
children | 8b6aba552f6f |
comparison
equal
deleted
inserted
replaced
269:a413bc97d3ea | 270:7a96fede6cc8 |
---|