home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / sys5 / r4 / 1039 < prev    next >
Encoding:
Text File  |  1992-12-29  |  2.0 KB  |  42 lines

  1. Newsgroups: comp.unix.sys5.r4
  2. Path: sparky!uunet!gatech!destroyer!mudos!mju
  3. From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
  4. Subject: Bug in SVR4.0.3 /usr/include/sys/socket.h
  5. Message-ID: <C00EuH.9Ms@mudos.ann-arbor.mi.us>
  6. Date: Tue, 29 Dec 1992 07:15:52 GMT
  7. Organization: The Programmer's Pit Stop, Ann Arbor MI
  8. Lines: 32
  9.  
  10. There is a closing comment pair ("*/") missing at line 132 of
  11. /usr/include/sys/socket.h in Esix 4.0.3.  Could people with newer
  12. versions of SVR4 (4.0.4 and maybe even 4.2) check to see if their
  13. <sys/socket.h> include file suffers from the same problem?  Here is a
  14. cdiff to fix the file.  Remember, folks, "gcc -Wall" is your friend...
  15.  
  16. *** socket.h.old        Tue Dec 29 02:12:28 1992
  17. --- socket.h    Tue Dec 29 02:09:50 1992
  18. ***************
  19. *** 128,134 ****
  20.   #define AF_APPLETALK    16            /* Apple Talk */
  21.   #define AF_NIT          17            /* Network Interface Tap */
  22.   #define AF_802          18            /* IEEE 802.2, also ISO 8802 */
  23. ! #define AF_OSI          19            /* umbrella for all families used
  24.   #define AF_X25          20            /* CCITT X.25 in particular */
  25.   #define AF_OSINET       21            /* AFI = 47, IDI = 4 */
  26.   #define AF_GOSIP        22            /* U.S. Government OSI */
  27. --- 128,134 ----
  28.   #define AF_APPLETALK    16            /* Apple Talk */
  29.   #define AF_NIT          17            /* Network Interface Tap */
  30.   #define AF_802          18            /* IEEE 802.2, also ISO 8802 */
  31. ! #define AF_OSI          19            /* umbrella for all families used */
  32.   #define AF_X25          20            /* CCITT X.25 in particular */
  33.   #define AF_OSINET       21            /* AFI = 47, IDI = 4 */
  34.   #define AF_GOSIP        22            /* U.S. Government OSI */
  35.  
  36.  
  37. -- 
  38. Marc Unangst, N8VRH         | "Of course, in order to understand this you
  39. mju@mudos.ann-arbor.mi.us   |  have to remember that the nucleus of the atom
  40.                             |  is squishy."
  41.                             |    -W. Scheider, from a Physics lecture
  42.