mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	LibCore: Rename File to DeprecatedFile
				
					
				
			As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
		
							parent
							
								
									14951b92ca
								
							
						
					
					
						commit
						d43a7eae54
					
				
					 193 changed files with 536 additions and 556 deletions
				
			
		|  | @ -5,7 +5,7 @@ | |||
|  */ | ||||
| 
 | ||||
| #include <AK/DeprecatedString.h> | ||||
| #include <LibCore/File.h> | ||||
| #include <LibCore/DeprecatedFile.h> | ||||
| #include <LibTest/TestCase.h> | ||||
| #include <fcntl.h> | ||||
| #include <stdio.h> | ||||
|  | @ -81,7 +81,7 @@ TEST_CASE(test_change_file_location) | |||
|     ftruncate(fd, 0); | ||||
|     EXPECT(fchmod(fd, 06755) != -1); | ||||
| 
 | ||||
|     auto suid_path_or_error = Core::File::read_link(DeprecatedString::formatted("/proc/{}/fd/{}", getpid(), fd)); | ||||
|     auto suid_path_or_error = Core::DeprecatedFile::read_link(DeprecatedString::formatted("/proc/{}/fd/{}", getpid(), fd)); | ||||
|     EXPECT(!suid_path_or_error.is_error()); | ||||
| 
 | ||||
|     auto suid_path = suid_path_or_error.release_value(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher