Mercurial > hg > xemacs-beta
changeset 3700:b3d7b8b98acf
[xemacs-hg @ 2006-11-25 12:40:15 by adrian]
Re: strlwr <54d9efdc0611230035sf15809o7e8b4f2b4ad62404@mail.gmail.com>
author | adrian |
---|---|
date | Sat, 25 Nov 2006 12:40:16 +0000 |
parents | 5155e1ab55ae |
children | 58f19b254a23 |
files | src/ChangeLog src/sysdep.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Nov 24 22:51:11 2006 +0000 +++ b/src/ChangeLog Sat Nov 25 12:40:16 2006 +0000 @@ -1,3 +1,8 @@ +2006-11-23 Robert Pluim <rpluim@gmail.com> + + * sysdep.c (strlwr): Don't intermix declarations and code. + (wcslen): ditto + 2006-11-23 Aidan Kehoe <kehoea@parhasard.net> * mule-coding.c (iso2022_decode):
--- a/src/sysdep.c Fri Nov 24 22:51:11 2006 +0000 +++ b/src/sysdep.c Sat Nov 25 12:40:16 2006 +0000 @@ -3491,8 +3491,8 @@ size_t wcslen (const wchar_t *s) { + const wchar_t *p = s; if (s == NULL) return NULL; - const wchar_t *p = s; while (*p++) ; @@ -3509,8 +3509,8 @@ char * strlwr (char *s) { + REGISTER char *c; if (s == NULL) return NULL; - REGISTER char *c; for (c = s; *c; c++) {