mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Don't change Standard File folder on chdir().
This commit is contained in:
		
							parent
							
								
									415571cc9f
								
							
						
					
					
						commit
						975aa22bdd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -141,9 +141,11 @@ PyMac_FixGUSIcd()
 | 
				
			||||||
	if (PBHSetVol(&pb, 0) != noErr)
 | 
						if (PBHSetVol(&pb, 0) != noErr)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
	/* Set standard-file working directory */
 | 
						/* Set standard-file working directory */
 | 
				
			||||||
	LMSetSFSaveDisk(-curdirfss.vRefNum);
 | 
						LMSetSFSaveDisk(-curdirfss.vRefNum);
 | 
				
			||||||
	LMSetCurDirStore(curdirfss.parID);
 | 
						LMSetCurDirStore(curdirfss.parID);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue