GetModuleFileName

Juan Lang juan_lang at yahoo.com
Sun Apr 18 14:46:46 CDT 2004


Alexandre wrote:
> I doubt it fills the buffer with nulls if it is too
> large though, so strncpy is probably not the right
> thing to use here (in fact strncpy is almost always
> the wrong function to use, we should probably have
> a janitorial task to fix this everywhere).

What is the right thing?  strlcpy?

--Juan


	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash



More information about the wine-devel mailing list