Public bug reported:

Binary package hint: mcpp

Note: this is not a duplicate of #33728, it is a new bug.

mcpp, when used with the [EMAIL PROTECTED] option like xrdb does, cuts off the 
last
character of every but the last word in each line.

This breaks files like .Xresources:

rxvt*font: -misc-Atari ST 8x16 system 
font-medium-r-normal--10-100-100-100-m-100-iso8859-15
becomes
rxvt*font -misc-Atar S 8x1 syste 
font-medium-r-normal--10-100-100-100-m-100-iso8859-15

I see that the bug has been worked around by making xrdb no longer call
mcpp with [EMAIL PROTECTED] (I noticed it during an upgrade, and xrdb hasn't 
been
reconfigured yet when it happened). Still, mcpp is obviously broken,
even when supplying C code:

$ echo "main() { return 0; }" | mcpp [EMAIL PROTECTED]         
#line 1 "<stdin>"
main(  retur 0 }

Assuming mcpp is a C preprocessor, this should not happen - this line is
perfectly valid "old" C, and thus should be processed correctly by mcpp
even in "old" mode.

Because the only program using mcpp has been reconfigured to work around
this bug, I'd call this bug uncritical, but it should either be fixed or
mcpp get removed and cpp used instead.

** Affects: mcpp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mcpp eating last character of words - this breaks xrdb
https://bugs.launchpad.net/bugs/139910
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to