www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/05/09:27:48

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.61.170.125]
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: Fri, 05 Mar 2004 14:27:35 +0000
Mime-Version: 1.0
Message-ID: <Sea2-F34Sg5WfS6AJOh000619fa@hotmail.com>
X-OriginalArrivalTime: 05 Mar 2004 14:27:36.0260 (UTC) FILETIME=[0154E840:01C402BE]

Hi Corinna,

>Unfortunately I can't run your testcase.  My DDS tape drive seems to be
>broken.  It can read, but it behaves weird when trying to write :-(((

Doesn't it worry you, that we both have write problems?  When I stick to 
reading, everything works just fine also.  Do you want my Native NT version 
- it works perfectly?

Here are some other things I've noticed:

1/ close() writes a file-mark in some cases... Don't, I can do this myself, 
thank's anyway!

2/ read() should check for Win32 error 1101 - filemark and return 0 bytes, 
no error.

3/ tape_status dynamically checks 'tape_drive_get_absolute_blk', before 
calling
   tape_get_pos () : but my tape drive says '0' when it's busy, preventing 
the current
   block from being updated *sometimes*.  Force-reading it works just fine, 
if you want to
   cache the flag somewhere when the device is opened?

4/ sending a tape-rewind command doesn't reset any internal flags, does it 
need to?

Jason.

_________________________________________________________________
Protect your inbox from harmful viruses with new ninemsn Premium. Go to   
http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019