This is the mail archive of the cygwin-developers@sourceware.cygnus.com 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]

A small bug in mount_info::conv_to_win32_path


mount_info::conv_to_win32_path can't set flags properly when
src_path is already a win32 path.

ChangeLog:
2000/05/02 09:47:47  Kazuhiro Fujieda <fujieda@jaist.ac.jp>
	* path.cc (mount_info::conv_to_win32_path): Previous patch 
	failed to set flags on a win32 path.

Index: path.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/path.cc,v
retrieving revision 1.17
diff -u -p -r1.17 path.cc
--- path.cc	2000/04/27 03:26:23	1.17
+++ path.cc	2000/05/02 09:47:47
@@ -949,7 +949,7 @@ mount_info::conv_to_win32_path (const ch
 	  return rc;
 	}
       isrelpath = !isabspath (src_path);
-      *flags = set_flags_from_win32_path (pathbuf);
+      *flags = set_flags_from_win32_path (dst);
       goto fillin;
     }
 
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

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