Mercurial > hg > xemacs-beta
diff src/strcpy.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/strcpy.c Mon Aug 13 11:12:06 2007 +0200 +++ b/src/strcpy.c Mon Aug 13 11:13:30 2007 +0200 @@ -35,7 +35,6 @@ #define HIGH_BIT_P(c) ((c) & hi_bit) #define HAS_ZERO(c) (((((c) + magic) ^ (c)) & not_magic) != not_magic) -/* CONST IS LOSING, but const is part of the interface of strcpy */ char * strcpy (char *to, const char *from) { @@ -56,7 +55,7 @@ if (HAS_ZERO(c)) { to = (char *) to1; - from = (CONST char *) from1; + from = (const char *) from1; goto slow_loop; } else