delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [203.166.96.234] |
X-Originating-Email: | [jasonwinter AT hotmail DOT com] |
X-Sender: | jasonwinter AT hotmail DOT com |
From: | "Jason Winter" <jasonwinter AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: read(): varblk tape records...(& Fix for : read()) |
Date: | Tue, 16 Mar 2004 02:09:55 +0000 |
Mime-Version: | 1.0 |
Message-ID: | <Sea2-F270Lcof3GlZud0001edeb@hotmail.com> |
X-OriginalArrivalTime: | 16 Mar 2004 02:09:55.0904 (UTC) FILETIME=[C6A5CC00:01C40AFB] |
Hi Corinna, >Are you talking about the values in mt_gstat? See below. This mailing list rejects emails that contain source code (which isn't 'attached' in a different file) so I can't easily show you what I mean: Function 'tape_status' in 'fhandler_tape.cc' uses 'not' mt_blkno to see if it's past the beg.of.tape, but it only updates that variable when function 'tape_get_pos' is called. It isn't called when 'FeaturesLow' doesn't have the TAPE_DRIVE_GET_ABSOLUTE_BLK bit set, which happens when my tape drive is busy and you request function 'GetTapeParameters'. If you cache that feature bit from when the drive wasn't busy, then you know you can call 'tape_get_pos' even when the tape is busy and the feature can't be read (dynamically, as it is now.) Regards, Jason. _________________________________________________________________ Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to http://join.msn.com/?pgmarket=en-au&page=hotmail/es2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |