Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: A small bug in mount_info::conv_to_win32_path Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 02 May 2000 19:06:55 +0900 Message-ID: Lines: 28 X-Mailer: Gnus v5.3/Emacs 19.34 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 * 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology