antirez/redis — Issue #214: Completion of error handling
Author: elfring
Created: 2011-11-25 19:47:31+00:00
State: open

I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.

Would you like to add more error handling for return values from functions like the following?
- [fprintf](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fprintf.html "print formatted output") ⇒ [createPidFile](https://github.com/antirez/redis/blob/fa5af017d95dfd56b92ebe14064f995b19e4907f/src/redis.c#L1822)
- [fclose](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fclose.html "close a stream") ⇒ [clusterLoadConfig](https://github.com/antirez/redis/blob/c0ba9ebe13865189a3b21f7be8a910e349b59fda/src/cluster.c#L36)