[Bug 7524] inet_addr need exception handler

Wine Bugs wine-bugs at winehq.org
Fri Feb 23 15:21:34 CST 2007


------- Additional Comments From leukhe at gmail.com  2007-23-02 15:21 -------
the reason why morph does this? the same reason it is not handled into wine i
suppose. YOu can call it bug if you like. 

But It needs an exception. not a handler for null. (I can read the source, I DO
not have the time now to figure out how to build wine from scratch and apply the

#include "stdafx.h"
#include <Winsock2.h.>

int _tmain(int argc, _TCHAR* argv[])
	int var = inet_addr((char *) 1);
	fprintf(stdout,"THis program is also ok\n");

	return 0;

also works under xp  (attached as a exe) 

(don't know how to handle bug status or priority... feel free to change it) 

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list