projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(find_charsets_in_charc_string): New prototype; delete
[chise/xemacs-chise.git-]
/
src
/
strcpy.c
diff --git
a/src/strcpy.c
b/src/strcpy.c
index
34c559f
..
21b5309
100644
(file)
--- a/
src/strcpy.c
+++ b/
src/strcpy.c
@@
-35,7
+35,6
@@
Boston, MA 02111-1307, USA. */
#define HIGH_BIT_P(c) ((c) & hi_bit)
#define HAS_ZERO(c) (((((c) + magic) ^ (c)) & not_magic) != not_magic)
#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)
{
char *
strcpy (char *to, const char *from)
{
@@
-56,7
+55,7
@@
strcpy (char *to, const char *from)
if (HAS_ZERO(c))
{
to = (char *) to1;
if (HAS_ZERO(c))
{
to = (char *) to1;
- from = (CONST char *) from1;
+ from = (const char *) from1;
goto slow_loop;
}
else
goto slow_loop;
}
else