On Sep 11, 2006, at 12:10 AM, Anselm R. Garbe wrote:

In dwm strcpy is only used when strncpy would provide
no benefit. It is knows that sizeof(stext) > strlen("broken pipe"),
thus there is no justification to use str{n,l}cpy in such
situations, because strcpy is only used when the size of the copied
string is really known at compile time - you won't find any use
of strcpy of values supplied from stdin.

Your consistency in design is very aesthetically pleasing! If one
codes in such a fashion, problems which are meant to be addressed
by library routines like strlcpy() do not occur. Nice.

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
303-443-7000 ext. 527


Reply via email to