diff options
author | monty@hundin.mysql.fi <> | 2002-05-20 12:11:15 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-05-20 12:11:15 +0300 |
commit | 8c3b77451eff46fa957f3e1b88eb5d8e55ca053f (patch) | |
tree | 9e0716683cba023d6db9e7a92a41e6f1facab243 /Docs/glibc-2.2.5.patch | |
parent | b716c18192f3618a3b583f3b69cc50da06e5d5fb (diff) | |
download | mariadb-git-8c3b77451eff46fa957f3e1b88eb5d8e55ca053f.tar.gz |
Updated assembler code from MySQL 4.0 (to make them work with gcc 3.0)
Fixed memory overrun bug in glibc patch
Updated french error messages
Diffstat (limited to 'Docs/glibc-2.2.5.patch')
-rw-r--r-- | Docs/glibc-2.2.5.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/glibc-2.2.5.patch b/Docs/glibc-2.2.5.patch index fc12486d7d0..801984c84f7 100644 --- a/Docs/glibc-2.2.5.patch +++ b/Docs/glibc-2.2.5.patch @@ -52,7 +52,7 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw while (isspace (line[0])) ++line; *************** -*** 510,522 **** +522 if (name == line) return result; @@ -86,7 +86,7 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw if (new_service == NULL) return result; -! *((char *) __mempcpy (new_service->name, name, name_alloc_len)) = '\0'; +! *((char *) __mempcpy (new_service->name, name, name_alloc_len-1)) = '\0'; /* Set default actions. */ new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE; |