Skip to content
Snippets Groups Projects
Commit c8c78cd6 authored by David Gobbi's avatar David Gobbi
Browse files

In wrappers, guard against #including dirs.

The wrappers tools try to read all #included headers in order to get all
the preprocessor macros that they might need to properly parse the code.
However, if a header cannot be loaded, they are supposed to be ignored.
David DeMarle recently discovered that if the #include directive found
a directory with the name of the header that it was looking for, then the
wrapper tools would fail.  I've added an "isdir" check to guard against
this.

Change-Id: I4847b8806b3e28a42aa299dce0dfe58254c20084
parent 86388bee
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment