diff options
author | MySQL Team <mysql@php.net> | 2000-10-20 22:26:48 +0000 |
---|---|---|
committer | MySQL Team <mysql@php.net> | 2000-10-20 22:26:48 +0000 |
commit | a2dbb10eb14801370522ec248e1d819eb38a83a2 (patch) | |
tree | c3888dc986fa7baa6937b38d485af20d8ee81d9d /ext/mysql/libmysql/strmov.c | |
parent | ebaf484830ab5c7a0e14a9b43a174916330cd031 (diff) | |
download | php-git-a2dbb10eb14801370522ec248e1d819eb38a83a2.tar.gz |
Update libmysql to 3.23 version. No major changes visible to the user - mostly
bug fixes and other maintenance-oriented changes.
Diffstat (limited to 'ext/mysql/libmysql/strmov.c')
-rw-r--r-- | ext/mysql/libmysql/strmov.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/mysql/libmysql/strmov.c b/ext/mysql/libmysql/strmov.c index b41470aef4..66e90a8d6c 100644 --- a/ext/mysql/libmysql/strmov.c +++ b/ext/mysql/libmysql/strmov.c @@ -1,3 +1,6 @@ +/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB +This file is public domain and comes with NO WARRANTY of any kind */ + /* strmov(dst, src) moves all the characters of src (including the closing NUL) to dst, and returns a pointer to the new closing NUL in @@ -14,11 +17,13 @@ #define strmov strmov_overlapp #endif +#ifndef strmov + #if !defined(MC68000) && !defined(DS90) char *strmov(register char *dst, register const char *src) { - while (*dst++ = *src++) ; + while ((*dst++ = *src++)) ; return dst-1; } @@ -36,3 +41,5 @@ char *strmov(dst, src) } #endif + +#endif /* strmov */ |