From 1b61bf152b3972c6afd3f938d7654c7738b1c2bc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 21 Aug 2007 12:37:40 +0000 Subject: * ntdll.h (NtNotifyChangeDirectoryFile): Declare. (NtQueryAttributesFile): Move to maintain alphabetical order of declarations. Add comment to note that timestamp information returned by NtQueryAttributesFile is unreliable. * path.h (etc::changed_h): Move here. (etc::fn): Change type to OBJECT_ATTRIBUTES. (etc::last_modified): Change type to LARGE_INTEGER. (etc::init): Take PUNICODE_STRING as second argument. * path.cc: Accomodate above changes. (etc::test_file_change): Use NT native functions. (etc::dir_changed): Ditto. * uinfo.cc (pwdgrp::load): Call etc::init with NT native path. --- winsup/cygwin/uinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/uinfo.cc') diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 4ebe7245c..210b1d1f7 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -518,7 +518,7 @@ pwdgrp::load (const char *posix_fname) curr_lines = 0; pc.check (posix_fname); - etc_ix = etc::init (etc_ix, pc.get_win32 ()); + etc_ix = etc::init (etc_ix, pc.get_nt_native_path ()); paranoid_printf ("%s", posix_fname); -- cgit v1.2.3