Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-05 01:06:13 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-05 01:06:13 +0400
commit6731c77ee2738061a1832744833cd6bbe2a353bf (patch)
tree86f02e5a067c2f56c6efccadba5a51eac129a637 /winsup
parent63b61cd19ff1ae741a8c3403c1c3fa12bea1c893 (diff)
* string.h: Fix last-minute typo.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/string.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e495e2163..b5084bac7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+Fri May 4 17:03:16 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * string.h: Fix last-minute typo.
+
Fri May 4 16:49:34 2001 Christopher Faylor <cgf@cygnus.com>
* pinfo.h: Correctly set __SIGOFFSET.
diff --git a/winsup/cygwin/string.h b/winsup/cygwin/string.h
index 20bf6fdba..93f0c9001 100644
--- a/winsup/cygwin/string.h
+++ b/winsup/cygwin/string.h
@@ -23,7 +23,7 @@ extern inline __stdcall char *
strchr (const char *s, int c)
{
register char * res;
- __asm__ __volatile__ ("
+ __asm__ __volatile__ ("\
movb %%al,%%ah\n\
1: movb (%1),%%al\n\
cmpb %%ah,%%al\n\
@@ -33,7 +33,7 @@ strchr (const char *s, int c)
jne 1b\n\
xorl %1,%1\n\
2: movl %1,%0\n\
- ":"=a" (__res), "=r" (s)
+ ":"=a" (res), "=r" (s)
:"0" (c), "1" (s));
return res;
}