avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [Bug #1720] memcmp bug ?


From: nobody
Subject: [avr-libc-dev] [Bug #1720] memcmp bug ?
Date: Fri, 15 Nov 2002 07:24:56 -0500

=================== BUG #1720: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1720&group_id=2140

Submitted by: None                      Project: AVR C Runtime Library          
Submitted on: 2002-Nov-15 07:24
Category:  None                         Severity:  5 - Major                    
Bug Group:  None                        Resolution:  None                       
Assigned to:  None                      Status:  Open                           

Summary:  memcmp bug ?

Original Submission:  memcmp (__const void *__s1, __const void *__s2, size_t 
__n)
seems to fail using the following parameters

*s1={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
*s2={0xFF,0x00,0x00,0x00,0x00,0x00};
n = 6;

expected result was >0
actual result was <0
the current inline code seems to expect signed characters

Version Juni 2002





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1720&group_id=2140




reply via email to

[Prev in Thread] Current Thread [Next in Thread]