CVS update by adrian xemacs/src ...
xemacs-cvs at xemacs.org
xemacs-cvs at xemacs.org
Sat Nov 25 07:40:22 EST 2006
User: adrian
Date: 06/11/25 13:40:22
Modified: xemacs/src sysdep.c ChangeLog
Log:
Re: strlwr <54d9efdc0611230035sf15809o7e8b4f2b4ad62404 at mail.gmail.com>
Revision Changes Path
1.85 +2 -2 XEmacs/xemacs/src/sysdep.c
Index: sysdep.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/sysdep.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -p -r1.84 -r1.85
--- sysdep.c 2006/11/01 20:25:49 1.84
+++ sysdep.c 2006/11/25 12:40:15 1.85
@@ -3491,8 +3491,8 @@ qxe_ctime (const time_t *t)
size_t
wcslen (const wchar_t *s)
{
- if (s == NULL) return NULL;
const wchar_t *p = s;
+ if (s == NULL) return NULL;
while (*p++)
;
@@ -3509,8 +3509,8 @@ wcslen (const wchar_t *s)
char *
strlwr (char *s)
{
- if (s == NULL) return NULL;
REGISTER char *c;
+ if (s == NULL) return NULL;
for (c = s; *c; c++)
{
1.1019 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.1018
retrieving revision 1.1019
diff -u -p -r1.1018 -r1.1019
--- ChangeLog 2006/11/23 18:38:50 1.1018
+++ ChangeLog 2006/11/25 12:40:16 1.1019
@@ -1,3 +1,8 @@
+2006-11-23 Robert Pluim <rpluim at gmail.com>
+
+ * sysdep.c (strlwr): Don't intermix declarations and code.
+ (wcslen): ditto
+
2006-11-23 Aidan Kehoe <kehoea at parhasard.net>
* mule-coding.c (iso2022_decode):
More information about the XEmacs-CVS
mailing list