safe_strcpy etc

Luke Kenneth Casson Leighton lkcl at switchboard.net
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));

not

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

luke



More information about the samba-technical mailing list