projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Charc_dynarr): New type.
[chise/xemacs-chise.git-]
/
src
/
strcat.c
diff --git
a/src/strcat.c
b/src/strcat.c
index
f4a3a02
..
4881165
100644
(file)
--- 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.
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. */
*/
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;
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. */
char c;
/* Find the end of the string. */