• Jacob Trimble's avatar
    Allow getpwuid_r to return missing entry. · a606c318
    Jacob Trimble authored
    If the getpwuid_r method doesn't find an entry with the given ID, it
    will still return success (0), but the *result will be set to NULL.
    This checks the |result| value so it won't crash if it doesn't find
    the entry.
    
    This normally shouldn't ever happen, but it can somehow happen on
    iOS simulators.
    a606c318
CONTRIBUTORS 1.68 KB