diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-07-14 17:37:42 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-07-14 17:37:42 +0000 |
commit | 8deb411836f5c7faf15202b29499266f081f5708 (patch) | |
tree | 32ef5201ac1c91e55e9d025aa12e2442230041b9 /libgloss/mep | |
parent | 472345a06cd5accbba1796ed227c620e583b11a4 (diff) | |
download | cygnal-8deb411836f5c7faf15202b29499266f081f5708.tar.gz cygnal-8deb411836f5c7faf15202b29499266f081f5708.tar.bz2 cygnal-8deb411836f5c7faf15202b29499266f081f5708.zip |
Throughout avoid having to initialize constant UNICODE_STRINGs.
* globals.cc: Define constant UNICODE_STRINGs and store in .rdata
section.
* fhandler_disk_file.cc: Throughout, use readonly UNICODE_STRINGs
rather then initializing local UNICODE_STRING variable where
applicable.
* fhandler_mem.cc (fhandler_dev_mem::open): Ditto.
* flock.cc (inode_t::inode_t): Ditto.
* mmap.cc: Ditto.
* syscalls.cc: Ditto.
* mount.cc (fs_info::update): Ditto.
* path.cc: Ditto.
* ntdll.h (RtlEqualUnicodePathPrefix): Redefine to take prefix as
UNICODE_STRING.
(RtlEqualUnicodePathSuffix): Redefine to take suffix as UNICODE_STRING.
* fhandler_disk_file.cc: Accommodate throughout.
* mount.cc (fs_info::update): Ditto.
* path.cc (cwdstuff::set): Ditto.
* syscalls.cc: Ditto.
Diffstat (limited to 'libgloss/mep')
0 files changed, 0 insertions, 0 deletions