home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16729 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!psinntp!spike.insci.com!augie!ross
  3. From: ross@augie.insci.com (ross andrus)
  4. Subject: Re: msgrcv(2) bug in SCO ???
  5. Organization: Insci Incorporated
  6. Date: Mon, 23 Nov 1992 13:56:50 GMT
  7. Message-ID: <1992Nov23.135650.3778@spike.insci.com>
  8. References: <1992Nov20.192851.25181@spike.insci.com>
  9. Sender: brad@spike.insci.com (Brad Segal)
  10. Lines: 36
  11.  
  12. In article <1992Nov20.192851.25181@spike.insci.com> I wrote:
  13.  
  14. >Hello world
  15. >
  16. >  I'm writing because I've come up against what looks like a bug in 
  17. >  SCO's msgrcv(2) implementation. 
  18.     
  19.     <much deleted>
  20.  
  21.     I hate to admit to being stupid as well as hysterical, but in this
  22.     case I must. The whole thing is my fault. I mis-read the man page 
  23.     for msgsnd/msgrcv. 
  24.  
  25.     It clearly says that the msgsz is the size of the data in the mtext[]
  26.     buffer and does NOT INCLUDE the mtype field. So I was writing off
  27.     the end of my strucutre and hosing my stack. Not SCO or their 
  28.     implementation. Me. The fact that my code works on other architectures
  29.     (e.g. RS/6000, DG Aviion) only implies a certain amount of slack in 
  30.     *those* implementations.
  31.  
  32.     Further, I got a helpful and courteous e-mail from someone (not a 
  33.     support person) in SCO who saw my flames and took the time to help.
  34.  
  35.     Apologies for crying wolf.
  36.  
  37.     ross andrus
  38. -- 
  39. +-----------------------------------------------------------------------------+
  40. |  ross@augie.insci.com                                                       |
  41. |  My opinions and views are not shared or endorsed by my employers. Yet.     |
  42. +-----------------------------------------------------------------------------+
  43. -- 
  44. -------------------------------------------------------------------------------
  45. Brad Segal, INSCI Inc.                                          brad@insci.com
  46. 130 Cedar Street, 4th Floor
  47. NY NY 10006                                        #include <std/disclaimer.h>
  48.