safe_strcpy etc

Luke Kenneth Casson Leighton lkcl at
Fri Jun 12 12:42:39 GMT 1998

for the reasons mentioned a couple of weeks ago, can the safe_strcpy
routines be modified to conform to the more intuitive meaning for the
length argument:

	safe_strcpy(dest, src, sizeof(src));


	safe_strcpy(dest, src, sizeof(src)-1);


More information about the samba-technical mailing list