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