home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6364 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1008 b   |  28 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!mcsun!sun4nl!dutrun!donau!dutecaj.et.tudelft.nl!linstee
  3. From: linstee@dutecaj.et.tudelft.nl (Erik van Linstee)
  4. Subject: Faulty memcmp in gcc 2.2.2/emx ?!
  5. Message-ID: <1992Nov12.104003.23035@donau.et.tudelft.nl>
  6. Sender: news@donau.et.tudelft.nl (UseNet News System)
  7. Nntp-Posting-Host: dutecaj.et.tudelft.nl
  8. Organization: Delft University of Technology, Dept. of Electrical Engineering
  9. Date: Thu, 12 Nov 1992 10:40:03 GMT
  10. Lines: 16
  11.  
  12. I just found out that memcmp reverses the return value.
  13. It returns -1 when 1 is supposed to return and vice versa.
  14. Has anyone else noticed this, fixed it and is able to
  15. tell me about it?
  16. I could rebuild the memcmp code and replace it in the
  17. library if someone could point me out how to go about, 
  18. since I am rather new at gcc.
  19.  
  20. Erik
  21.  
  22.  
  23. -- 
  24. Erik van Linstee   |   Delft University of Technology   |   I'll be back ... 
  25. ----
  26.    We are god, 'cause only we can create the idea of his existence
  27.    in our holy brains...  (Yello)
  28.