Changeset 5029
- Timestamp:
- 11/01/07 19:25:10 (1 year ago)
- Files:
-
- WiredServer/trunk/WCDashboardController.m (modified) (3 diffs)
- WiredServer/trunk/WiredServer.xcodeproj/project.pbxproj (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredServer/trunk/WCDashboardController.m
r4611 r5029 226 226 NSUInteger i, argc; 227 227 int status; 228 pid_t pid; 228 229 229 230 argc = [arguments count]; … … 240 241 argv, 241 242 &fp); 242 wait(&status);243 243 free(argv); 244 244 … … 249 249 } 250 250 251 fileHandle = [[NSFileHandle alloc] initWithFileDescriptor:fileno(fp) closeOnDealloc:YES]; 252 data = [fileHandle availableData]; 253 [[WCLogController logController] log:[NSString stringWithData:data encoding:NSUTF8StringEncoding]]; 254 [fileHandle release]; 251 pid = wait3(&status, WNOHANG, NULL); 252 253 if(pid > 0) { 254 fileHandle = [[NSFileHandle alloc] initWithFileDescriptor:fileno(fp) closeOnDealloc:NO]; 255 data = [fileHandle availableData]; 256 [[WCLogController logController] log:[NSString stringWithData:data encoding:NSUTF8StringEncoding]]; 257 [fileHandle release]; 258 } 259 260 fclose(fp); 255 261 256 262 return YES; WiredServer/trunk/WiredServer.xcodeproj/project.pbxproj
r4744 r5029 116 116 remoteGlobalIDString = 8D202CE80486D31800D8A456; 117 117 remoteInfo = "Wired Preference Pane"; 118 }; 119 A5A2A5A80CD4E79C00969CEF /* PBXContainerItemProxy */ = { 120 isa = PBXContainerItemProxy; 121 containerPortal = A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */; 122 proxyType = 2; 123 remoteGlobalIDString = 774897900CC8A63200E95A83; 124 remoteInfo = "Wired Networking"; 118 125 }; 119 126 A5BE6D240864B62000DA5C89 /* PBXContainerItemProxy */ = { … … 436 443 children = ( 437 444 A5BE6D250864B62000DA5C89 /* WiredAdditions.framework */, 445 A5A2A5A90CD4E79C00969CEF /* WiredNetworking.framework */, 438 446 ); 439 447 name = Products; … … 490 498 isa = PBXProject; 491 499 buildConfigurationList = A5BE6CFF0864B5A000DA5C89 /* Build configuration list for PBXProject "WiredServer" */; 500 compatibilityVersion = "Xcode 2.4"; 492 501 hasScannedForEncodings = 1; 493 502 knownRegions = ( … … 519 528 520 529 /* Begin PBXReferenceProxy section */ 530 A5A2A5A90CD4E79C00969CEF /* WiredNetworking.framework */ = { 531 isa = PBXReferenceProxy; 532 fileType = wrapper.framework; 533 path = WiredNetworking.framework; 534 remoteRef = A5A2A5A80CD4E79C00969CEF /* PBXContainerItemProxy */; 535 sourceTree = BUILT_PRODUCTS_DIR; 536 }; 521 537 A5BE6D250864B62000DA5C89 /* WiredAdditions.framework */ = { 522 538 isa = PBXReferenceProxy;
