mirror of
				https://git.tukaani.org/xz.git
				synced 2025-10-31 13:32:56 +00:00 
			
		
		
		
	Use past tense in error message in io_unlink().
Added a note to translators too. Thanks to Robert Readman.
This commit is contained in:
		
							parent
							
								
									d9a9800597
								
							
						
					
					
						commit
						e5496f9628
					
				
							
								
								
									
										1
									
								
								THANKS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								THANKS
									
									
									
									
									
								
							| @ -34,6 +34,7 @@ has been important. :-) In alphabetical order: | |||||||
|   - Igor Pavlov |   - Igor Pavlov | ||||||
|   - Elbert Pol |   - Elbert Pol | ||||||
|   - Mikko Pouru |   - Mikko Pouru | ||||||
|  |   - Robert Readman | ||||||
|   - Bernhard Reutner-Fischer |   - Bernhard Reutner-Fischer | ||||||
|   - Christian von Roques |   - Christian von Roques | ||||||
|   - Jukka Salmi |   - Jukka Salmi | ||||||
|  | |||||||
| @ -112,8 +112,18 @@ io_unlink(const char *name, const struct stat *known_st) | |||||||
| 			|| new_st.st_ino != known_st->st_ino | 			|| new_st.st_ino != known_st->st_ino | ||||||
| #	endif | #	endif | ||||||
| 			) | 			) | ||||||
| 		message_error(_("%s: File seems to be moved, not removing"), | 		// TRANSLATORS: When compression or decompression finishes,
 | ||||||
| 				name); | 		// and xz is going to remove the source file, xz first checks
 | ||||||
|  | 		// if the source file still exists, and if it does, does its
 | ||||||
|  | 		// device and inode numbers match what xz saw when it opened
 | ||||||
|  | 		// the source file. If these checks fail, this message is
 | ||||||
|  | 		// shown, %s being the filename, and the file is not deleted.
 | ||||||
|  | 		// The check for device and inode numbers is there, because
 | ||||||
|  | 		// it is possible that the user has put a new file in place
 | ||||||
|  | 		// of the original file, and in that case it obviously
 | ||||||
|  | 		// shouldn't be removed.
 | ||||||
|  | 		message_error(_("%s: File seems to have been moved, " | ||||||
|  | 				"not removing"), name); | ||||||
| 	else | 	else | ||||||
| #endif | #endif | ||||||
| 		// There's a race condition between lstat() and unlink()
 | 		// There's a race condition between lstat() and unlink()
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user