This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
build break in strcpy.c
- From: "Petar Jovanovic" <petar dot jovanovic at rt-rk dot com>
- To: "'Wilco Dijkstra'" <wdijkstr at arm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 24 Nov 2014 20:46:27 +0100
- Subject: build break in strcpy.c
- Authentication-results: sourceware.org; auth=none
â commit b863d2bc4db728213e54ff502d2c3ae5dfa0db25
â Author: Wilco Dijkstra <wdijkstr@arm.com>
â Date: Mon Nov 24 15:09:07 2014 +0000
â
â Improve strcpy performance.
Can you actually build the code after this change?
You may want to follow up with:
diff --git a/string/strcpy.c b/string/strcpy.c
index 91f9cc6..94ca1df 100644
--- a/string/strcpy.c
+++ b/string/strcpy.c
@@ -24,6 +24,6 @@
char *
strcpy (char *dest, const char *src)
{
- return memcpy (dest, src, strlen (src) + 1));
+ return memcpy (dest, src, strlen (src) + 1);
}
libc_hidden_builtin_def (strcpy)
Regards,
Petar