Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch Fix another typo in comments found by Ricardo ...



details:   https://anonhg.NetBSD.org/src/rev/7f376e5963e1
branches:  trunk
changeset: 583383:7f376e5963e1
user:      rpaulo <rpaulo%NetBSD.org@localhost>
date:      Wed Aug 03 22:59:50 2005 +0000

description:
Fix another typo in comments found by Ricardo Nabinger Sanchez
on the freebsd-arch mailing list.

diffstat:

 lib/libc/arch/i386/string/strncmp.S   |  4 ++--
 lib/libc/arch/x86_64/string/strncmp.S |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r a79ead8713e9 -r 7f376e5963e1 lib/libc/arch/i386/string/strncmp.S
--- a/lib/libc/arch/i386/string/strncmp.S       Wed Aug 03 22:25:17 2005 +0000
+++ b/lib/libc/arch/i386/string/strncmp.S       Wed Aug 03 22:59:50 2005 +0000
@@ -6,7 +6,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: strncmp.S,v 1.13 2003/07/26 19:24:35 salo Exp $")
+       RCSID("$NetBSD: strncmp.S,v 1.14 2005/08/03 22:59:50 rpaulo Exp $")
 #endif
 
 /*
@@ -105,7 +105,7 @@
        je      L1
 
        _ALIGN_TEXT,0x90
-L3:    movzbl  (%eax),%eax             /* unsigned comparision */
+L3:    movzbl  (%eax),%eax             /* unsigned comparison */
        movzbl  (%ecx),%ecx
        subl    %ecx,%eax
        popl    %ebx
diff -r a79ead8713e9 -r 7f376e5963e1 lib/libc/arch/x86_64/string/strncmp.S
--- a/lib/libc/arch/x86_64/string/strncmp.S     Wed Aug 03 22:25:17 2005 +0000
+++ b/lib/libc/arch/x86_64/string/strncmp.S     Wed Aug 03 22:59:50 2005 +0000
@@ -6,7 +6,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS)
-        RCSID("$NetBSD: strncmp.S,v 1.2 2003/07/26 19:24:40 salo Exp $")
+        RCSID("$NetBSD: strncmp.S,v 1.3 2005/08/03 22:59:50 rpaulo Exp $")
 #endif
 
 /*
@@ -99,7 +99,7 @@
        cmpb    %al,(%rsi)
        je      L1
 
-L3:    movzbl  (%rdi),%eax             /* unsigned comparision */
+L3:    movzbl  (%rdi),%eax             /* unsigned comparison */
        movzbl  (%rsi),%ecx
        subl    %ecx,%eax
        ret



Home | Main Index | Thread Index | Old Index