X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fstrcat.c;h=4881165647979b9be161e55beef73e663c3530b9;hb=f0e0a4c7571df85198f5dab18d97dcb71f2971a5;hp=f4a3a0224e38cb2cbdefa4a0d74e7a69842269db;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/src/strcat.c b/src/strcat.c index f4a3a02..4881165 100644 --- a/src/strcat.c +++ b/src/strcat.c @@ -27,18 +27,17 @@ Cambridge, MA 02139, USA. */ 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. */