Quoting Christian Biere <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel:
:isspace() might (and usually is) a macro. AFAIK, it unlike other macros
:it must not have side-effects but I assume in your case it has. I'd think
:that's either a compiler or a problem of your libc header files. Did you
:update any of them recently? I guess '--p' happens twice, so that the
:'\n' triggers isspace() == true and after p is decreased twice it
:overwrites the last character in this line.

Well spotted!  I've removed the side effect in hostiles.c.

I've kept the (fixed) code, but I'm not sure this trailing chopping of the
whitespaces is really needed!  I don't remember who authored that code though.

Raphael


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to