mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[BTRFS]
BUGBUG in fileinfo.c: 'datalen' is used but not initialized! [NTOSKRNL_VISTA] Add most of the same compile-time definitions as for ntoskrnl proper, since this static library can be seen as part of the kernel! Fixes MSVC build. svn path=/trunk/; revision=71039
This commit is contained in:
@@ -1893,7 +1893,13 @@ static NTSTATUS STDCALL stream_set_end_of_file_information(device_extension* Vcb
|
||||
free_traverse_ptr(&tp);
|
||||
return STATUS_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
|
||||
#ifdef __REACTOS__
|
||||
// BUGBUG: FIXME!!
|
||||
ERR("BUGBUG: datalen is uninitialized! Set it to zero temporarily...\n");
|
||||
datalen = 0;
|
||||
#endif
|
||||
|
||||
if (tp.item->size < datalen) {
|
||||
ERR("(%llx,%x,%llx) was %u bytes, expected at least %u\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.offset, tp.item->size, datalen);
|
||||
free_traverse_ptr(&tp);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
||||
|
||||
list(APPEND SOURCE
|
||||
fsrtl.c
|
||||
|
||||
Reference in New Issue
Block a user