On Thu, Mar 20, 2008 at 08:51:39AM -0600, Jordan Crouse wrote:
+char *strcpy(char *d, const char *s) +{
- return strncpy(d, s, strlen(s));
+}
This doesn't put a terminating 0 on the string.
Oops - he's right. Uwe, can you do a quick fix?
How about this? Untested, but should work.
Uwe.