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: Mon, 18 Nov 2002 17:32:07 -0500

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

Changes by: Theodore A. Roth <address@hidden>
Date: 2002-Nov-18 14:32 (US/Pacific)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Works for me
         Assigned to | None                      | troth
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This doesn't appear to be a bug. See this thread on the mailing for the 
discussion:

http://mail.gnu.org/pipermail/avr-libc-dev/2002-November/000592.html




=================== BUG #1720: FULL BUG SNAPSHOT ===================


Submitted by: None                      Project: AVR C Runtime Library          
Submitted on: 2002-Nov-15 04:24
Category:  None                         Severity:  5 - Major                    
Bug Group:  None                        Resolution:  Works for me               
Assigned to:  troth                     Status:  Closed                         

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



Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Nov-18 14:31             By: troth
This doesn't appear to be a bug. See this thread on the mailing for the 
discussion:

http://mail.gnu.org/pipermail/avr-libc-dev/2002-November/000592.html



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]