diff src/strcat.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 850242ba4a81
children 697ef44129c6
line wrap: on
line diff
--- a/src/strcat.c	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/strcat.c	Mon Aug 13 11:13:30 2007 +0200
@@ -27,18 +27,17 @@
    the string!  This will core dump if the memory following the last byte is 
    not mapped.
 
-   Here is a correct version from glibc 1.09.
+   Here is a correct version from, glibc 1.09.
 */
 
 char *strcat (char *dest, const char *src);
 
 /* Append SRC on the end of DEST.  */
-/* CONST IS LOSING, but const is part of the interface of strcat */
 char *
 strcat (char *dest, const char *src)
 {
   REGISTER char *s1 = dest;
-  REGISTER CONST char *s2 = src;
+  REGISTER const char *s2 = src;
   char c;
 
   /* Find the end of the string.  */