| Summary: | [File system] Provide access to Windows specific file system attributes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] TCF | Reporter: | Uwe Stieber <uwe.st> | ||||||
| Component: | Agent | Assignee: | Project Inbox <tcf.agent-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Eugene Tarassov <eugene> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | cdtdoug, william.chen | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 0.4.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Uwe Stieber
Created attachment 197939 [details]
Patch revealing the Windows specific file system attributes
The proposed patch is revealing the Windows specific file system attributes via the FileAttrs.attributes map. The map key is "Win32Attrs" and the value is an Integer. For interpretation of the integer value, see the Windows API help for GetFileAttributes/SetFileAttributes.
Created attachment 197948 [details]
Patch revealing the Windows specific file system attributes
Fixed a bug where the file attribute value INVALID_FILE_ATTRIBUTES (-1) is written to the JSON stream.
I have committed the path after fixing a compilation error on Linux and rearranging the code a little bit to reduce number of if-defs. Thanks! Comment on attachment 197948 [details] Patch revealing the Windows specific file system attributes Uwe has been a TCF committer since the restructuring review in 2010: http://wiki.eclipse.org/DSDP/Restructuring_Review#Target_Communication_Framework Thus marking attached patch as iplog-. |