mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:8.2.2462: Coverity warns for not checking for fseek() error
Problem:    Coverity warns for not checking for fseek() error.
Solution:   Give an error message if fseek() fails.
2c363a2e95
			
			
This commit is contained in:
		| @@ -5387,7 +5387,8 @@ spell_add_word ( | ||||
|                    len, word, NameBuff); | ||||
|             } | ||||
|           } | ||||
|           if (fseek(fd, fpos_next, SEEK_SET) <= 0) { | ||||
|           if (fseek(fd, fpos_next, SEEK_SET) != 0) { | ||||
|             PERROR(_("Seek error in spellfile")); | ||||
|             break; | ||||
|           } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jan Edmund Lazo
					Jan Edmund Lazo