delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/21/02:02:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
From: "Kazuyuki Hagiwara" <hagiwara AT zuken DOT co DOT jp>
To: <cygwin AT cygwin DOT com>
Subject: re: More floppy drive accesses information
Date: Tue, 21 Dec 2004 16:02:41 +0900
Message-ID: <GGEDKDOBJHJHBKEJFPFKAEENDKAA.hagiwara@zuken.co.jp>
MIME-Version: 1.0
X-IsSubscribed: yes

Hi,  I also experiencing the floppy access problem.

I found a code change which may cause the floppy access.

===================================================================
 Revision 1.262 / (download) - annotate - [select for diffs] , Tue Aug 5
04:49:44 2003 UTC (16 months, 2 weeks ago) by cgf
Branch: MAIN
Changes since 1.261: +1 -2 lines
Diff to previous 1.261 (colored)

* path.cc (cygdrive_getmntent): Do not skip over drives of type
DRIVE_REMOVABLE.

===================================================================
RCS file: /cvs/src/src/winsup/cygwin/path.cc,v
retrieving revision 1.261
retrieving revision 1.262
diff -c -r1.261 -r1.262
*** src/winsup/cygwin/path.cc	2003/07/26 04:53:59	1.261
--- src/winsup/cygwin/path.cc	2003/08/05 04:49:44	1.262
***************
*** 2539,2546 ****
  	  break;

        __small_sprintf (native_path, "%c:\\", drive);
!       if (GetDriveType (native_path) == DRIVE_REMOVABLE ||
! 	  GetFileAttributes (native_path) == INVALID_FILE_ATTRIBUTES)
  	{
  	  available_drives &= ~mask;
  	  continue;
--- 2539,2545 ----
  	  break;

        __small_sprintf (native_path, "%c:\\", drive);
!       if (GetFileAttributes (native_path) == INVALID_FILE_ATTRIBUTES)
  	{
  	  available_drives &= ~mask;
  	  continue;

----------------------------------------
Kazuyuki Hagiwara     Zuken Inc.


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