XQuartz: Unset CFProcessPath... blech
(cherry picked from commit ce4fbfbc75c62a092214d140c7550279aebe69ef)
This commit is contained in:
		
							parent
							
								
									0c2312b21b
								
							
						
					
					
						commit
						d5ab89f4f1
					
				|  | @ -98,6 +98,12 @@ int main(int argc, char **argv, char **envp) { | |||
|     int         i; | ||||
|     int         fd[2]; | ||||
| 
 | ||||
|     /* Unset CFProcessPath, so our children don't inherit this kludge we need
 | ||||
|      * to load our nib.  If an xterm gets this set, then it fails to | ||||
|      * 'open hi.txt' properly. | ||||
|      */ | ||||
|     unsetenv("CFProcessPath"); | ||||
|      | ||||
|     // Make a pipe to pass events
 | ||||
|     assert( pipe(fd) == 0 ); | ||||
|     darwinEventReadFD = fd[0]; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue