On Sat, Feb 1, 2014 at 11:17 PM, Markus Neteler <[email protected]> wrote: > On 1/17/14, Glynn Clements <[email protected]> wrote: >> >> Markus Neteler wrote: >> >>> could anyone please implement G_mktemp() following the suggestions in >>> the ticket (there is a link to a gfortran patch included which might >>> be just "perfect": >> >> I've added lib/gis/mkstemp.c, which needs testing and feedback. > > I have used your explanations to add doxygen style documentation to > the file, see r58834.
Now also online: http://grass.osgeo.org/programming7/mkstemp_8c.html > One compiler issue remains: > > mkstemp.c: In function 'G_mkstemp_fp': > mkstemp.c:164:5: warning: suggest parentheses around comparison in > operand of '&' [-Wparentheses] > const char *fmode = (flags & O_ACCMODE == O_RDWR) > ^ > > For testing, I am not sure how to change > lib/iostream/ami_stream.cpp > in order to use the new function(s). Suggestions? Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
