home *** CD-ROM | disk | FTP | other *** search
- 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
- From: mmtl@hobson.cc.flinders.edu.au (T.Lampre)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Read only files, HPFS, wrong, wrong, wrong
- Message-ID: <1992Sep11.002958.19075@frodo.cc.flinders.edu.au>
- Date: 11 Sep 92 00:29:58 GMT
- References: <1992Sep10.050559.5642@monu6.cc.monash.edu.au> <2jtnmnh.xtifr@netcom.com>
- Sender: @frodo.cc.flinders.edu.au
- Organization: Flinders University
- Lines: 37
-
- In article <2jtnmnh.xtifr@netcom.com> xtifr@netcom.com (Chris Waters) writes:
- >In <1992Sep10.050559.5642@monu6.cc.monash.edu.au> parry@yoyo.cc.monash.edu.au (Tom J Parry) writes:
- >
- >>have not checked out of the RCS. Under UNIX it works great, but under the
- >>DOS style (and hence HPFS), you check out a file, but then can not compile
- >>it because it is read only. This is especially painful when using GNUMAKE
- >>(but I'll save that sob story for my next post...)
- >
- >Sounds like a bug in your compiler. What (godforsaken) compiler are you
- >using? I'm using RCS, under DOS & UNIX & now OS/2, and haven't had any
- >problems on any of these platforms...
- >
- >A compiler shouldn't need to do more than read the file--so the fact
- >that the files are read-only shouldn't (and doesn't, with any compiler
- >I've seen) matter.
- >
- >>So, can anybody think of a solution to the RCS problem?
- >
- >Yes. Replace your compiler with one that isn't brain-dead.
- >
- >[smiley captioned for the humor impaired :-) :-)]
-
- He is using gcc/2 2.1 I believe. There is a problem in the libc code
- which stuffs up when opening a read-only file. I fixed this when I put
- gcc/2 2.2.2 together but broke something else in the process. It does
- compile read-only file now though.
-
- The library code is presently a bit shoddy. I have received numerous
- offers to get them into shape but eveyone has bailed out due to the
- work invloved. I will probably end up doing it myself, using glibc
- instead of the BSD stuff as it is holding up work on the next version
- of gcc/2. This will take some time as I am not a Unix guru and it is
- the mapping of Unixisms to OS/2 that is causing most of the problems.
-
- Trevor Lampre
- <mmtl@cc.flinders.edu.au>
- Flinders University of South Australia
-