Some checks for return codes are missing.
Examples:
http://cvs.sourceforge.net/viewcvs.py/radeontweaker/radeontweaker/src/PROFILES.C?rev=1.10&view=markup
1. Please add more error handling for null pointers
from "fgets" like in the functions "rt_load_profile"
and "rt_save_profile".
2. Would you like to check for the value "EOF" that can
be returned by the function "fscanf"?