RE: patch: basedir checking



Carlos Morgado writes:
 > 
 > Attached is a patch that supposably will:
 > 
 > + make the capplet check the validity of basedir and help the user 
 > 
 > + make gpilotd check the validity of basedir and fart if it doesn't exist
 > 
 > Unfortunatly my cvs snapshot won't compile proper so i don't know it this
 > actually works. Even worse, anoncvs is so broken i don't actually know
 > against each versions is this patch against :\
 > Try it out and give me feedback.

Thanks, this is a good idea, but implementation is a bit
lacking: code duplication, incorrect usage of stat function (must pass 
pointer to allocated structure), extra freeing of pilot in some cases.

Anyway I've cleaned it up a bit, and will commit to CVS sometime this
weekend.

Thanks,
Vadim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]