[Doxygen-develop] Input Filter on Win32
Brought to you by:
dimitri
From: Darren B. <Da...@CO...> - 2002-10-11 09:46:28
|
A Win32 Pas2Dox user reported to me that he could not generate documentation for filenames containing spaces. I have made the following modifications (in bold) to my local copy of Doxygen 1.2.18, which adds quotes around the filename. util.cpp void preprocessFile(const char *fileName,BufStr &output) else // filter the input { QCString cmd=Config_getString("INPUT_FILTER")+" \""+name+"\""; FILE *f=popen(cmd,"r"); if (!f) { err("Error: could not execute filter %s\n",Config_getString("INPUT_FILTER").data()); return ""; } pre.l void preprocessFile(const char *fileName,BufStr &output) QCString cmd = inputFilter+" \""+fileName+"\""; Ta, Darren. |