* fhandler.h (fhandler_base::pc): Make public.
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop extern declaration of stat_suffixes. Use NT native path in debug output. (fhandler_base::utimes_fs): Simplify closeit case. Use close_fs to close newly opened file handle. (fhandler_base::open_fs): Use NT native path in debug output. * path.cc: Throughout drop extern declaration of stat_suffixes. * path.h (stat_suffixes): Declare. * sec_acl.cc (acl_worker): Drop extern declaration of stat_suffixes. * times.cc (utimes_worker): Take path_conv as parameter instead of single-byte pathnam, drop nofollow argument, accommodate throughout. Compare UNICODE paths when enumerating file descriptors. Fix formatting. Use NT native path in debug output.
This commit is contained in:
@ -45,6 +45,8 @@ struct suffix_info
|
||||
suffix_info (const char *s, int addit = 0): name (s), addon (addit) {}
|
||||
};
|
||||
|
||||
extern suffix_info stat_suffixes[];
|
||||
|
||||
enum pathconv_arg
|
||||
{
|
||||
PC_SYM_FOLLOW = 0x0001,
|
||||
|
Reference in New Issue
Block a user