[GRASS-dev] possible etc file finder function
Glynn Clements
glynn at gclements.plus.com
Tue Apr 3 00:35:07 EDT 2007
William Kyngesburye wrote:
> Any comments on the C itself? I wasn't sure about memory allocation
> stuff, I'm not good with that.
The main issue I see is that sprintf() doesn't return a pointer to the
buffer, so you can't you it as an argument to access().
Also, what is "if (ETC_PATH_USER)" etc supposed to be testing?
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list