Package: texinfo
Version: 4.8.dfsg.1-2
Severity: normal
Tags: patch

The code to read a css file has an obvious bug:  A css file:
==============
@import url(foo);
==============

will end up as
==============
@mport url(foo);
==============

The fix is easy:


2006-09-20  Werner Koch  <[EMAIL PROTECTED]>

        * makeinfo/html.c (process_css_file): Fixed copying of @import


--- texinfo-4.8.dfsg.1/makeinfo/html.c~ 2006-09-20 10:58:05.000000000 +0200
+++ texinfo-4.8.dfsg.1/makeinfo/html.c  2006-09-20 10:44:20.000000000 +0200
@@ -108,6 +108,7 @@ process_css_file (char *filename)
               if (nextchar == 'i' || nextchar == 'c')
                 {
                   append_char (import_text, c);
+                  append_char (import_text, nextchar);
                   state = import_state;
                 }
               else


Seems it has never been tested ;-)



Shalom-Salam,

   Werner



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages texinfo depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries

texinfo recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to