I feel stupid -- determine the full path to a file

Shane Hathaway shane at hathawaymix.org
Thu Dec 6 13:51:59 MST 2007


Dave Smith wrote:
> Shane Hathaway wrote:
>> Didn't your mother teach you to check error codes?  Your hard drive
>> might spontaneously combust during the realpath() call, yet this program
>> will happily print garbage and say it was miraculously successful anyway.
> 
> Did you forget to attach your patch? I can't seem to find it in your 
> last email.

You must have lost the patch when your email client failed to check a
return code.

Shane




More information about the PLUG mailing list