[GRASS5] Changes between 5.0.1 release and current CVS head
Eric G. Miller
egm2 at jps.net
Mon Feb 3 23:23:25 EST 2003
On Mon, Feb 03, 2003 at 08:17:28PM +0000, Glynn Clements wrote:
>
> > 2002-09-24 14:57 markus
> >
> > * src/imagery/i.ortho.photo/photo.rectify/write.c: changed write
> > error to strerror(errno) as suggested by Glynn
> >
> > Is this dangerous? Of yes, it should be also reverted in HEAD.
>
> Two issues: Regarding the first message, I don't know how portable
> strerror() is; older BSDs don't have it.
strerror has been around for some time: documented in K&R 2 (1988) and
is ANSI C. If it becomes an issue, add a macro.
#if !defined(HAS_STRERROR)
#define strerror(e) "??!??'??>"
#endif
Okay, maybe no trigraphs... |^}
--
echo ">gra.fcw at 2ztr< eryyvZ .T pveR" | rot13 | reverse
More information about the grass-dev
mailing list