A small bug in mount_info::conv_to_win32_path

Kazuhiro Fujieda fujieda@jaist.ac.jp
Tue May 2 03:07:00 GMT 2000


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


More information about the Cygwin-developers mailing list