Menu

#616 pe-make logs the make command line inaccurately

workingwiki
open
None
5
2014-10-07
2014-10-07
Lee Worden
No

pe-make echoes the make command it's going to execute before it executes it, so that it appears in the .make.log file. It's a C program, and it does this by printing out the contents of the argv vector that it's going to use. It does some smart wrapping with "\\\n" to make it readable. But it doesn't put quote marks around arguments that contain spaces, and there is other escaping that it would also need to do in order to produce an accurate command line that could be used to reproduce the make operation. A user who is shown two or more space-separated arguments where there's actually one argument could lose a significant amount of time chasing the wrong trail while trying to debug their make target.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.