https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87265

            Bug ID: 87265
           Summary: makeinfo cannot process  path names with @ special
                    character
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yellowriver2010 at hotmail dot com
  Target Milestone: ---

$ pwd
/home/10156314@zte.intra/CK-TOOLS/gcc-milepost-4.4.4-linux-64/obj



$ make V=1
......


make[3]: Leaving directory
'/home/10156314@zte.intra/CK-TOOLS/gcc-milepost-4.4.4-linux-64/obj/libdecnumber'
make[3]: Entering directory
'/home/10156314@zte.intra/CK-TOOLS/gcc-milepost-4.4.4-linux-64/obj/gcc'
if [ xinfo = xinfo ]; then \
        makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000
--no-split -I . -I ../../milepost-gcc-4.4.4/gcc/doc \
                -I ../../milepost-gcc-4.4.4/gcc/doc/include -o doc/gcc.info
../../milepost-gcc-4.4.4/gcc/doc/gcc.texi; \
fi
../../milepost-gcc-4.4.4/gcc/doc/gcc.texi:89: warning: @tex should only appear
at a line beginning
../../milepost-gcc-4.4.4/gcc/doc/gcc.texi:89: warning: @end should only appear
at a line beginning
../../milepost-gcc-4.4.4/gcc/doc/gcc.texi:91: warning: @tex should only appear
at a line beginning
../../milepost-gcc-4.4.4/gcc/doc/gcc.texi:91: warning: @end should only appear
at a line beginning
../../milepost-gcc-4.4.4/gcc/doc/invoke.texi:1300: misplaced {
../../milepost-gcc-4.4.4/gcc/doc/invoke.texi:1300: unknown command `zte'
../../milepost-gcc-4.4.4/gcc/doc/invoke.texi:1300: misplaced }
../../milepost-gcc-4.4.4/gcc/doc/invoke.texi:1300: @include: could not find
/home/10156314.intra/CK-TOOLS/gcc-milepost-4.4.4-linux-64/obj/gcc/../../milepost-gcc-4.4.4/gcc/../libiberty/at-file.texi



The 1300th line code cannot handle the path names with @ special characters:


 1299 
 1300 @include {@value{srcdir}}/../libiberty/at-file.texi
 1301 @end table


We should escape the special character(@) here.

Reply via email to