ctags icon indicating copy to clipboard operation
ctags copied to clipboard

Completion of error handling

Open elfring opened this issue 10 years ago • 2 comments

Would you like to add more error handling for return values from functions like the following?

elfring avatar Oct 08 '15 14:10 elfring

I wonder what ctags should do when printf is failed. Printing a message to stderr via fprintf and exiting are enough?

masatake avatar Oct 08 '15 14:10 masatake

What we can do now may be just aborting. However, it is not good for a tool using ctags as a library like Geany. If we introduce a context oriented memory manager, we can report the error to the caller context (of a client tool).

masatake avatar Jan 24 '19 09:01 masatake