diff --git a/ChangeLog b/ChangeLog index 5ad7757..6354833 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-02-28 08:40 Gregory John Casamento + + * PCLib/PCProjectBuilder.m: -build: method now calls make: directly + instead of doing so in a thread. AppKit is not thread-safe + (it's not supposed to be :)) and this was causing a segfault when + building. + 2003-11-08 Serg Stoyan * Fix segfault when closing Gorm and Renaissance projects (pathc by diff --git a/PCLib/PCProjectBuilder.m b/PCLib/PCProjectBuilder.m index 8095ee6..5d8a108 100644 --- a/PCLib/PCProjectBuilder.m +++ b/PCLib/PCProjectBuilder.m @@ -602,9 +602,13 @@ [logOutput setString: @""]; [errorOutput setString: @""]; + [self make: data]; + + /* AppKit is not multi-threaded. This is causing a segfault. [NSThread detachNewThreadSelector: @selector(make:) toTarget: self withObject: data]; + */ } - (void)buildDidTerminate