mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	
							parent
							
								
									9e833d7563
								
							
						
					
					
						commit
						baecdc3210
					
				@ -724,7 +724,7 @@ void Utility::MkDirP(const String& path, int mode)
 | 
				
			|||||||
#ifndef _WIN32
 | 
					#ifndef _WIN32
 | 
				
			||||||
		pos = path.Find("/", pos + 1);
 | 
							pos = path.Find("/", pos + 1);
 | 
				
			||||||
#else /*_ WIN32 */
 | 
					#else /*_ WIN32 */
 | 
				
			||||||
		pos = path.Find("\\", pos + 1);
 | 
							pos = path.FindFirstOf("/\\", pos + 1);
 | 
				
			||||||
#endif /* _WIN32 */
 | 
					#endif /* _WIN32 */
 | 
				
			||||||
		MkDir(path.SubStr(0, pos), mode);
 | 
							MkDir(path.SubStr(0, pos), mode);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user