[GRASS5] Socket Bug fixed...

Eric G. Miller egm2 at jps.net
Tue Oct 9 22:08:49 EDT 2001


Think I fixed the bug.  G_whoami() returns a static pointer
to char, which it wants to use in subsequent calls.  Seems, gcc
was letting me free it and letting G_whoami() use it again later,
but it now contained something entirely different (the value of
the path to the socket file!).  Sheesh, a segfault would've made
that easier to find...

Anyway, that me know if there are any more troubles...

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-dev mailing list