intltool-update complains about filename containing newline
Bug #1252835 reported by
Danek Duvall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
New
|
Undecided
|
Unassigned |
Bug Description
When using intltool-update --pot in a source tree which doesn't have configure.in, this message is issued:
Unsuccessful open on filename containing newline at /usr/bin/
intltool-update looks to attempt to read "../configure.
Although it seems to be harmless, it's confusing to have the message in source tree build log.
To post a comment you must log in.
Looks like in CONF_Handle_Open(), most (but not all) assignments to $conf_in are adding a newline to the filename, which seems strange. That seems like something that should be added to a message, not a filename.
Still, a quick and dirty solution would be to chomp() $conf_in before attempting to use it, if for some reason it needs to have the trailing newline.