Re: [ros-dev] [ros-diffs] [pschweitzer] 62675: [CHARMAP] Use rather wcsncpy(). A bit less safe, but at least, data are copied till possible

2014-04-07 Thread Pierre Schweitzer
Actually, it was based on my observation of: http://doxygen.reactos.org/dc/d77/wcs_8c_afce6ecc002302f621f1280446ee5ae77.html#afce6ecc002302f621f1280446ee5ae77 http://doxygen.reactos.org/d1/d60/tcsncpy_8h_source.html My point was not to break program behavior by producing empty strings. Actually,

Re: [ros-dev] [ros-diffs] [pschweitzer] 62675: [CHARMAP] Use rather wcsncpy(). A bit less safe, but at least, data are copied till possible

2014-04-07 Thread Thomas Faber
On 2014-04-07 07:58, Pierre Schweitzer wrote: My (naive) guess, would be as I did on CDFS: copy len - 1 and 0 last char. StringCbCopyW will do just that :) ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev

Re: [ros-dev] [ros-diffs] [pschweitzer] 62675: [CHARMAP] Use rather wcsncpy(). A bit less safe, but at least, data are copied till possible

2014-04-07 Thread Timo Kreuzer
Oh right, I was wrongly assuming similar behavior, when thinking of wcscpy_s. Am 07.04.2014 08:46, schrieb Thomas Faber: On 2014-04-07 07:58, Pierre Schweitzer wrote: My (naive) guess, would be as I did on CDFS: copy len - 1 and 0 last char. StringCbCopyW will do just that :)

Re: [ros-dev] Short announce: My Serial port-on-MMIO implementation works - allowing debug logging on laptops

2014-04-07 Thread Hermès BÉLUSCA - MAÏTO
Great news ! That reminds me of the fact that I already talked on IRC with hyoenmadam/raijinzrael and others, about the feasibility of using PCMCIA-like external COM ports, for real hardware testing: for example, in my case, I only have laptops (my main one and an Asus EeePC), both of course