Merge pull request #2790 from samueldr/fix/minor-comment-NIX_ROOT_FINDER
findRootsNoTemp: fixes comment about findRuntimeRoots
This commit is contained in:
		
						commit
						3e940bbf2d
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
					@ -326,10 +326,9 @@ void LocalStore::findRootsNoTemp(Roots & roots, bool censor)
 | 
				
			||||||
    findRoots(stateDir + "/" + gcRootsDir, DT_UNKNOWN, roots);
 | 
					    findRoots(stateDir + "/" + gcRootsDir, DT_UNKNOWN, roots);
 | 
				
			||||||
    findRoots(stateDir + "/profiles", DT_UNKNOWN, roots);
 | 
					    findRoots(stateDir + "/profiles", DT_UNKNOWN, roots);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Add additional roots returned by the program specified by the
 | 
					    /* Add additional roots returned by different platforms-specific
 | 
				
			||||||
       NIX_ROOT_FINDER environment variable.  This is typically used
 | 
					       heuristics.  This is typically used to add running programs to
 | 
				
			||||||
       to add running programs to the set of roots (to prevent them
 | 
					       the set of roots (to prevent them from being garbage collected). */
 | 
				
			||||||
       from being garbage collected). */
 | 
					 | 
				
			||||||
    findRuntimeRoots(roots, censor);
 | 
					    findRuntimeRoots(roots, censor);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue