home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29948 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  2.2 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!rpi!batcomputer!munnari.oz.au!yoyo.aarnet.edu.au!frodo.cc.flinders.edu.au!hobson.cc.flinders.edu.au!mmtl
  2. From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Read only files, HPFS, wrong, wrong, wrong
  5. Message-ID: <1992Sep11.002958.19075@frodo.cc.flinders.edu.au>
  6. Date: 11 Sep 92 00:29:58 GMT
  7. References: <1992Sep10.050559.5642@monu6.cc.monash.edu.au> <2jtnmnh.xtifr@netcom.com>
  8. Sender: @frodo.cc.flinders.edu.au
  9. Organization: Flinders University
  10. Lines: 37
  11.  
  12. In article <2jtnmnh.xtifr@netcom.com> xtifr@netcom.com (Chris Waters) writes:
  13. >In <1992Sep10.050559.5642@monu6.cc.monash.edu.au> parry@yoyo.cc.monash.edu.au (Tom J Parry) writes:
  14. >
  15. >>have not checked out of the RCS.  Under UNIX it works great, but under the
  16. >>DOS style (and hence HPFS), you check out a file, but then can not compile
  17. >>it because it is read only. This is especially painful when using GNUMAKE
  18. >>(but I'll save that sob story for my next post...)
  19. >
  20. >Sounds like a bug in your compiler.  What (godforsaken) compiler are you
  21. >using?  I'm using RCS, under DOS & UNIX & now OS/2, and haven't had any
  22. >problems on any of these platforms...
  23. >
  24. >A compiler shouldn't need to do more than read the file--so the fact
  25. >that the files are read-only shouldn't (and doesn't, with any compiler
  26. >I've seen) matter.
  27. >
  28. >>So, can anybody think of a solution to the RCS problem?
  29. >
  30. >Yes.  Replace your compiler with one that isn't brain-dead.
  31. >
  32. >[smiley captioned for the humor impaired :-) :-)]
  33.  
  34. He is using gcc/2 2.1 I believe. There is a problem in the libc code
  35. which stuffs up when opening a read-only file. I fixed this when I put
  36. gcc/2 2.2.2 together but broke something else in the process. It does
  37. compile read-only file now though.
  38.  
  39. The library code is presently a bit shoddy. I have received numerous
  40. offers to get them into shape but eveyone has bailed out due to the
  41. work invloved. I will probably end up doing it myself, using glibc
  42. instead of the BSD stuff as it is holding up work on the next version
  43. of gcc/2. This will take some time as I am not a Unix guru and it is
  44. the mapping of Unixisms to OS/2 that is causing most of the problems.
  45.  
  46. Trevor Lampre
  47. <mmtl@cc.flinders.edu.au>
  48. Flinders University of South Australia
  49.