Neil Conway wrote:
memcpy(new_status, old_status, len) would be faster yet. Which is what I originally implemented, and then decided the sprintf() was clearer (since performance isn't very important here). On reflection, memcpy() + strcpy() should be fine; I'll commit this tomorrow.



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

Reply via email to