Tks for your reply. no until you email nobody had replied I will have to dig to see what you mentioned. but my notion of programmation is very limited Tks again will keep you posted Rdgs Le Friday 02 April 2004 04:10, Christian Biere a �crit�: > Hi, > > I cannot whether anyone replied to you as I'm not subscribed to gtkg-users > and the archives are horribly out of date. However, this hostiles.c hasn't > been changed for month and the code for of the relevant function is quite > simple. I can only think of reason why things could go wrong: > > 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. > > You should compile GTKG and then look for the command-line which > compiled hostiles.c. Copy this line and add '-E' to it so that the > the source is only preprocessed. It would be interesting to see what > happens to line 119 in hostiles_retrieve(). > > If you deleted line 118-120 from hostiles.c or added a space to > all lines in hostiles.txt, this should be a possible workaround for > you as well. > > Anyway, if the ctype functions/macros are not one-time-evaluation-safe > there would be a couple of lines to fix.
------------------------------------------------------- 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
