This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

re: More floppy drive accesses information


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]