Additional debugging. Advertise case sensitivity in vol info.
This commit is contained in:
parent
742452b1d4
commit
9d85704f03
@ -91,7 +91,10 @@ void guac_rdpdr_fs_process_query_attribute_info(guac_rdpdr_device* device, wStre
|
||||
completion_id, STATUS_SUCCESS, 16 + GUAC_FILESYSTEM_NAME_LENGTH);
|
||||
|
||||
Stream_Write_UINT32(output_stream, 12 + GUAC_FILESYSTEM_NAME_LENGTH);
|
||||
Stream_Write_UINT32(output_stream, FILE_UNICODE_ON_DISK); /* FileSystemAttributes */
|
||||
Stream_Write_UINT32(output_stream,
|
||||
FILE_UNICODE_ON_DISK
|
||||
| FILE_CASE_SENSITIVE_SEARCH
|
||||
| FILE_CASE_PRESERVED_NAMES); /* FileSystemAttributes */
|
||||
Stream_Write_UINT32(output_stream, GUAC_RDP_FS_MAX_PATH ); /* MaximumComponentNameLength */
|
||||
Stream_Write_UINT32(output_stream, GUAC_FILESYSTEM_NAME_LENGTH);
|
||||
Stream_Write(output_stream, GUAC_FILESYSTEM_NAME,
|
||||
|
@ -273,6 +273,9 @@ int guac_rdp_fs_open(guac_rdp_fs* fs, const char* path,
|
||||
|
||||
}
|
||||
|
||||
GUAC_RDP_DEBUG(2, "native open: real_path=\"%s\", flags=0x%x",
|
||||
real_path, flags);
|
||||
|
||||
/* Open file */
|
||||
fd = open(real_path, flags, S_IRUSR | S_IWUSR);
|
||||
if (fd == -1) {
|
||||
|
@ -161,6 +161,8 @@
|
||||
* Filesystem attributes.
|
||||
*/
|
||||
|
||||
#define FILE_CASE_SENSITIVE_SEARCH 0x00000001
|
||||
#define FILE_CASE_PRESERVED_NAMES 0x00000002
|
||||
#define FILE_UNICODE_ON_DISK 0x00000004
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user