home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: VAX c
- Date: 28 Dec 1992 16:28:20 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 27
- Distribution: world
- Message-ID: <1hn9v4INNnna@gap.caltech.edu>
- References: <24DEC199220084219@spades.aces.com> <Bzt6EF.Est@dale.cts.com>,<1992Dec26.100030.299@rlgsc.com> <1hjmn7INN34t@gap.caltech.edu>,<1992Dec27.100810.300@rlgsc.com>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <1992Dec27.100810.300@rlgsc.com>, gezelter@rlgsc.com writes:
- >>>When the time expires, close the file. Then re-open it in append
- >>>mode. This will ensure that all of your buffers are flushed out
- >>>to the disk.
- >>
- >> I tried that once. Maybe it had to do with the way the file dealt with
- >> records, but what I ended up with with was a file that had *ONE* record per
- >> block. Not what one would want.
-
- >I would be interested in hearing exactly what type of file that
- >you had that problem of partial blocks with. I have been using
- >this solution in a range of applications for about 15 years on
- >both RSX and VMS and have never encountered the behavior that you
- >describe.
-
- I last tried the close/reopen of the output file several versions of VMS ago,
- and am no longer able (under VMS v5.4-2) to reproduce the problem. Please
- note: The problem was associated with doing this via the VAX C RTL, so may
- have been an RTL bug.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-