[omniORB] ftime()

Francesco.Chicchiricco@nokia.com Francesco.Chicchiricco@nokia.com
Fri, 26 Oct 2001 15:58:57 +0300


Hello,
is there anyone who knows why this piece of code works greatly:

	#include <sys/timeb.h>

	struct timeb *tp;

	ftime(tp);

and this ends with a beautiful segmentation fault:

	#include <sys/timeb.h>

	CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "omniORB4"); // or
omniORB3, it's the same
 	struct timeb *tp;

	ftime(tp);	

Please let me know. BR.

##############################################
             Per aspera ad sidera
##############################################