Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 263453 Details for
Bug 354725
net-misc/freerdp-0.8.2: filesystem redirection via --rdpdr --data seems to be broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from the friendly guys over at freerdp-devel
rdpdr.patch (text/plain), 1.84 KB, created by
Aljoscha Vollmerhaus
on 2011-02-22 12:25:21 UTC
(
hide
)
Description:
patch from the friendly guys over at freerdp-devel
Filename:
MIME Type:
Creator:
Aljoscha Vollmerhaus
Created:
2011-02-22 12:25:21 UTC
Size:
1.84 KB
patch
obsolete
>diff --git a/channels/rdpdr/disk/disk_main.c b/channels/rdpdr/disk/disk_main.c >index 4e9b000..25786c4 100644 >--- a/channels/rdpdr/disk/disk_main.c >+++ b/channels/rdpdr/disk/disk_main.c >@@ -874,8 +874,40 @@ disk_query_directory(IRP * irp, uint8 initialQuery, const char * path) > size = 68 + len; > break; > >+ case FileNamesInformation: >+ size = 12 + strlen(pdirent->d_name) * 2; >+ buf = malloc(size); >+ memset(buf, 0, size); >+ >+ SET_UINT32(buf, 0, 0); /* NextEntryOffset */ >+ SET_UINT32(buf, 4, 0); /* FileIndex */ >+ len = freerdp_set_wstr(buf + 12, size - 12, pdirent->d_name, strlen(pdirent->d_name)); >+ SET_UINT32(buf, 8, len); /* FileNameLength */ >+ size = 12 + len; >+ break; >+ >+ case FileDirectoryInformation: >+ size = 64 + strlen(pdirent->d_name) * 2; >+ buf = malloc(size); >+ memset(buf, 0, size); >+ >+ SET_UINT32(buf, 0, 0); /* NextEntryOffset */ >+ SET_UINT32(buf, 4, 0); /* FileIndex */ >+ SET_UINT64(buf, 8, get_rdp_filetime(file_stat.st_ctime < file_stat.st_mtime ? >+ file_stat.st_ctime : file_stat.st_mtime)); /* CreationTime */ >+ SET_UINT64(buf, 16, get_rdp_filetime(file_stat.st_atime)); /* LastAccessTime */ >+ SET_UINT64(buf, 24, get_rdp_filetime(file_stat.st_mtime)); /* LastWriteTime */ >+ SET_UINT64(buf, 32, get_rdp_filetime(file_stat.st_ctime)); /* ChangeTime */ >+ SET_UINT64(buf, 40, file_stat.st_size); /* EndOfFile */ >+ SET_UINT64(buf, 48, file_stat.st_size); /* AllocationSize */ >+ SET_UINT32(buf, 56, attr); /* FileAttributes */ >+ len = freerdp_set_wstr(buf + 64, size - 64, pdirent->d_name, strlen(pdirent->d_name)); >+ SET_UINT32(buf, 60, len); /* FileNameLength */ >+ size = 64 + len; >+ break; >+ > default: >- LLOGLN(0, ("disk_query_directory: invalid info class")); >+ LLOGLN(0, ("disk_query_directory: invalid info class %d", irp->infoClass)); > status = RD_STATUS_NOT_SUPPORTED; > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 354725
:
263453
|
264861
|
264863