Bug#567041: Patch

Jean-Baptiste Wons wonsjb at googlemail.com
Sun Jan 31 03:38:21 UTC 2010


Package: vim-common
Version: 2:7.2.284-1
Severity: normal
Tags: patch

Hello,

This patch does the trick for me:

--- vim-7.2.330/src/xxd/xxd.c   2010-01-13 00:58:22.000000000 -0500
+++ vim-7.2.330.patched/src/xxd/xxd.c   2010-01-30 22:30:43.000000000 -0500
@@ -276,11 +276,8 @@
       if (c == '\r')   /* Doze style input file? */
        continue;

-#if 0  /* this doesn't work when there is normal text after the hex codes in
-          the last line that looks like hex */
-      if (c == ' ' || c == '\n' || c == '\t')  /* allow multiple spaces */
+      if ((hextype == HEX_POSTSCRIPT) && (c == ' ' || c == '\n' || c == '\t'))  /* ignore white spaces */
        continue;
-#endif

       n3 = n2;
       n2 = n1;



Regards,
Jean-baptiste


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-common depends on:
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib

Versions of packages vim-common recommends:
ii  vim                          2:7.2.284-1 Vi IMproved - enhanced vi editor
ii  vim-tiny                     2:7.2.284-1 Vi IMproved - enhanced vi editor -

vim-common suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xxbbug.patch
Type: text/x-c
Size: 582 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20100130/103229f1/attachment.bin>


More information about the pkg-vim-maintainers mailing list