intltool-update complains about filename containing newline

Bug #1252835 reported by Danek Duvall
6
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 line 1071.

intltool-update looks to attempt to read "../configure.in<newline>".

Although it seems to be harmless, it's confusing to have the message in source tree build log.

Revision history for this message
Danek Duvall (danek-duvall) wrote :

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.

Revision history for this message
Danek Duvall (danek-duvall) wrote :

I'm seeing this with an old version -- 0.40.6 -- but the source for 0.50.2 appears to have the same issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.