Re: broken plugin code2001-02-18 15:05:25On 17 Feb 2001, Todd Sabin wrote: The strcat (plugin_copy + plugin_copy_offset... stuff should really be strcpy ..... See? It didn't crash my machine. ;-) Seriously, I think it's a bug in your strcat() (we should still change it to strcpy() though.) (...double checking man pages over strcat() behavior...) Correct me if I'm wrong, but when dst[0] == '\0', strcat(dst, src) should behave the same as strcpy(dst, src)? davez -- Dave Zarzycki http://thor.sbay.org/~dave/
|
|