* 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.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user