SourceExprCommand::getSourceExpr(): Allocate more space
Fixes #3140. (cherry picked from commit 389a2cebed7cd72bda524ece0a56af2888cd80b6)
This commit is contained in:
		
							parent
							
								
									c7b4bf1c9c
								
							
						
					
					
						commit
						1ac8c0269a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -39,7 +39,7 @@ Value * SourceExprCommand::getSourceExpr(EvalState & state)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        auto searchPath = state.getSearchPath();
 | 
					        auto searchPath = state.getSearchPath();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        state.mkAttrs(*vSourceExpr, searchPath.size() + 1);
 | 
					        state.mkAttrs(*vSourceExpr, 1024);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        mkBool(*state.allocAttr(*vSourceExpr, sToplevel), true);
 | 
					        mkBool(*state.allocAttr(*vSourceExpr, sToplevel), true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue