[ros-dev] [ros-diffs] [rharabien] 51135: [PSDK] Import strsafe.h from mingw-w64. It's more complete compared to our headers [DDK] Import ntstrsafe.h from mingw-w64 (converted from strsafe.h). It's more complete compared...
Timo Kreuzer
timo.kreuzer at web.de
Sat Mar 26 10:53:06 UTC 2011
Let me answer this.
Am 26.03.2011 10:56, schrieb Aleksey Bragin:
> We use SIZE_T throughout the kernel, so I don't understand why change
> a couple of places (out of thousands) to size_t ? Is there an
> incompatibility between strsafe headers and that type? Then it would
> need fixing instead.
You can thank MS for making size_t an unsigned int, while SIZE_T is an
ULONG_PTR aka unsigned long. We can't really fix that.
>
> Also not sure if that was on purpose, but you also removed
> null-termination in ex/init.c, but it's not mentioned in the commit
> message.
RtlStringBla always does the null-termination
More information about the Ros-dev
mailing list