|
|||||||||||
|
Re: Are bad developer libraries the problem with M$ software?
From: Frank Knobbe <fknobbe(at)knobbeits.com>
Date: Fri Nov 22 2002 - 10:31:48 EST On Tue, 2002-11-19 at 16:57, Andrew Dalgleish wrote: > No, it would not. strncpy does NOT append the trailing 0 if the
Andrew, I'm fully aware of that, and I have rtfm some years back. My comment was about the size definition. While you have the red pen in your hand, you might also want to point out that I considered the terminating null a single byte in the example of the wide character string functions. I don't use wide chars in my programs so I don't know if it's a single or double 0. But hey, while we're listing mistakes... It is sad to see how one gets chastised about typos and conceptual ideas (as opposed to list debugged code)... Frank
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:44 EDT |
||||||||||
|
|||||||||||