Robert Love wrote:
> Nice!
> 
> I'd put the perror() first.  I think it reads better in the EFAULT case
> but, more importantly, you could be reading errno from fprintf() if you
> call it after.

Hmm, I went for the way I did because perror seems to modify it!
(it reads 28 == ENOSPC before perror, and 29 after...?!?).

Anyway, your point is valid, so I guess we'll just take a copy of errno before
messing around with error messages.

Thanks,
Daniel
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Reply via email to