diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-04-23 15:02:32 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-04-23 22:04:59 +0200 |
commit | 5abb0ed13c09a1ce68d3134c7a9369ccbb1a739b (patch) | |
tree | d755097720682e0bd9592456d5e5b8d912b86e9c /winsup/cygwin/path.h | |
parent | 4e99630cfdfa582feb6deeb12f6fbee92d15d44e (diff) | |
download | cygnal-5abb0ed13c09a1ce68d3134c7a9369ccbb1a739b.tar.gz cygnal-5abb0ed13c09a1ce68d3134c7a9369ccbb1a739b.tar.bz2 cygnal-5abb0ed13c09a1ce68d3134c7a9369ccbb1a739b.zip |
Handle unlinking in-use files on virtual drives
* path.cc (path_conv::set_nt_native_path): New function.
* path.h (path_conv::set_nt_native_path): Add prototype.
* syscall.cc (try_to_bin): Handle moving files to the recycler
accessed via a local virtual drive (subst). Fix a problem renaming
the file to the unique replacement name on Samba. Align comment.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index a668eae6e..5c464dc9a 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -270,6 +270,7 @@ class path_conv ~path_conv (); inline const char *get_win32 () const { return path; } + void set_nt_native_path (PUNICODE_STRING); PUNICODE_STRING get_nt_native_path (); inline POBJECT_ATTRIBUTES get_object_attr (OBJECT_ATTRIBUTES &attr, SECURITY_ATTRIBUTES &sa) |