Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    15fd8332
    files.c (_cpp_find_file): If returning early... · 15fd8332
    Jakub Jelinek authored
    	* files.c (_cpp_find_file): If returning early, before storing
    	something to *hash_slot and *hash_slot is NULL, call htab_clear_slot
    	on it.  Access *hash_slot using void * type rather than
    	struct file_hash_entry * to avoid aliasing issues.
    
    From-SVN: r196356
    15fd8332
    History
    files.c (_cpp_find_file): If returning early...
    Jakub Jelinek authored
    	* files.c (_cpp_find_file): If returning early, before storing
    	something to *hash_slot and *hash_slot is NULL, call htab_clear_slot
    	on it.  Access *hash_slot using void * type rather than
    	struct file_hash_entry * to avoid aliasing issues.
    
    From-SVN: r196356