bugAVR C Runtime Library - Bugs: bug #1720, memcmp bug ?

 
 

bug #1720: memcmp bug ?

Submitted by:  None
Submitted on:  Fri 15 Nov 2002 12:24:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Works For MePercent Complete: 0%
Assigned to: Theodore A. Roth <troth>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 18 Nov 2002 10:31:54 PM UTC, comment #1:

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

Theodore A. Roth <troth>In charge of this item.
Fri 15 Nov 2002 12:24:55 PM UTC, 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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 18 Nov 2002 10:31:54 PM UTCtrothAssigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
Mon 18 Nov 2002 10:31:52 PM UTCtrothStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1