| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| 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) |
| From: | Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> |
| Date: | 02 May 2000 19:06:55 +0900 |
| Message-ID: | <s1sya5tgta8.fsf@jaist.ac.jp> |
| 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 <fujieda AT jaist DOT ac DOT 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 AT jaist DOT ac DOT jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |