unix.c
changeset 4369 3812b4335df9
parent 4300 c7e43c47a2b9
child 5108 aeaef6fe53b7
equal deleted inserted replaced
4368:dd7b808c5f96 4369:3812b4335df9
   149 	// change the working directory to enable doubleclicking in UIs
   149 	// change the working directory to enable doubleclicking in UIs
   150 #if defined(__BEOS__) || defined(__linux__)
   150 #if defined(__BEOS__) || defined(__linux__)
   151 	ChangeWorkingDirectory(argv[0]);
   151 	ChangeWorkingDirectory(argv[0]);
   152 #endif
   152 #endif
   153 
   153 
   154 	_random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
   154 	_random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
   155 	SeedMT(_random_seeds[0][1]);
   155 	SeedMT(_random_seeds[0][1]);
   156 
   156 
   157 	signal(SIGPIPE, SIG_IGN);
   157 	signal(SIGPIPE, SIG_IGN);
   158 
   158 
   159 	ret = ttd_main(argc, argv);
   159 	ret = ttd_main(argc, argv);