home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / gnu / bash / bug / 627 next >
Encoding:
Text File  |  1992-10-06  |  1.1 KB  |  35 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!bothner
  3. From: bothner@cygnus.com
  4. Subject: Re: Problems and workarounds on the Convex
  5. Message-ID: <9210070441.AA00435@rtl.cygnus.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: <9210061416.AA03714@e91046.mpi-dortmund.mpg.de>
  9. Distribution: gnu
  10. Date: Tue, 6 Oct 1992 14:41:07 GMT
  11. Approved: bug-bash@prep.ai.mit.edu
  12. Lines: 21
  13.  
  14. Convex /usr/include/stdio.h defines:
  15.  
  16.     typedef struct {
  17.       int __offset[2];
  18.     } fpos_t;
  19.  
  20. Unfortunately, it is not possible for streambuf.h to use the
  21. correct type for fpos_t in this situation, without getting
  22. it from stdio.h - and I don't want to #include <stdio.h>
  23. in general, for name-space reasons.
  24.  
  25. A clean solution requires some surgery:
  26. stdio.h and streambuf.h must get fpos_t (or something
  27. like struct __fpos_t) from the same include file - and
  28. that include file is *not* allowed to define extraneous names!
  29.  
  30. So there is no simple, clean, correct solution.
  31.  
  32.     --Per Bothner
  33. Cygnus Support     bothner@cygnus.com
  34.  
  35.