[Rake-devel] makefile loader bu

Ittay Dror ittay.dror at gmail.com
Tue Jul 22 23:55:52 EDT 2008

Jim Weirich wrote:
> On Jul 22, 2008, at 12:29 PM, Ittay Dror wrote:
>> when parsing dependency files in the format of make (generated by 
>> unix compilers), the file_task variable (actually, the file name) is 
>> not stripped. so if it contains spaces, it means it represents a 
>> different task than what you'd expect.
> [and]
>> I found that reading the whole file in one go and then parsing it is 
>> twice as fast as reading it line by line.
> Thanks.  I've added these items to the Rake todo list.  Do you have a 
> test for the parsing bug?
Great. The parsing bug happened when generating files with 'g++ -MD' on 
ubuntu 8.04. It happened for several .cpp files only. The file starts 
with a backslash, newline, then the obj file name is preceded with a 
space.  I don't know exactly why those files.


Ittay Dror <ittay.dror at gmail.com>

More information about the Rake-devel mailing list