home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2805 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.0 KB  |  41 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!nsrl31.nsrl.rochester.edu!roberts
  3. From: roberts@nsrl31.nsrl.rochester.edu (Roland B Roberts)
  4. Subject: gcc 2.2, VMS stdio.h missing fpos_t typedef
  5. Message-ID: <00963E80.2B519020.19970@nsrl31.nsrl.rochester.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 20 Nov 1992 22:17:50 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 28
  12.  
  13. The following is a patch for the VMS <stdio.h> which is missing the
  14. typedef for fpos_t.
  15.  
  16. Ideally, shouldn't the header have ANSI prototypes as well?  If this is
  17. desireable, I can work on it.
  18.  
  19. roland
  20.  
  21. % diff -c stdio.h;-1 stdio.h
  22. *** stdio.h;-1
  23. --- stdio.h
  24. **************
  25. *** 39,44
  26.    *    passes around pointers to pointers.
  27.    */
  28.   typedef struct _iobuf *FILE;
  29.   
  30.   /*
  31.    *    Also, stdin/stdout/stderr need to be defined
  32. --- 39,45 -----
  33.    *    passes around pointers to pointers.
  34.    */
  35.   typedef struct _iobuf *FILE;
  36. + typedef struct {unsigned : 32; unsigned : 32;} fpos_t;
  37.   
  38.   /*
  39.    *    Also, stdin/stdout/stderr need to be defined
  40.  
  41.