In trying to debug a semantic patch, I noticed that spatch failed to find some header files included with "..." rather than <...>.
For example, in Xlib, modules/im/ximcp/imCallbk.c has: #include "Xlibint.h" #include "Xlcint.h" #include "Ximint.h" #include "XlcPubI.h" These files all exist in directories I've specified with the -I option, and I've passed -all_includes. However, spatch says: TYPE: header modules/im/ximcp/Xlibint.h not found TYPE: header modules/im/ximcp/Xlcint.h not found TYPE: header modules/im/ximcp/Ximint.h not found TYPE: header modules/im/ximcp/XlcPubI.h not found If I change those includes to use <> rather than "", spatch stops complaining. However, both <> and "" should search the include path; "" just searches the directory of the file containing the #include "..." first. - Josh Triplett _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
