]> git.pld-linux.org Git - packages/busybox.git/blobdiff - busybox-loadfont.patch
- we want dhcp client
[packages/busybox.git] / busybox-loadfont.patch
index 2c2d3c3cfe4ae1c5615f731dac37b5bb92785325..5164e3cef09fb858f5cd4a12bcbf1520064fbdbf 100644 (file)
@@ -1,26 +1,13 @@
-diff -Nur busybox-0.60.1/loadfont.c busybox-0.60.1.new/loadfont.c
---- busybox-0.60.1/loadfont.c  Tue Feb 20 07:14:07 2001
-+++ busybox-0.60.1.new/loadfont.c      Tue Jun 12 14:49:58 2001
-@@ -155,8 +155,6 @@
-          maybe these do not occur: 16kB for the font,
-          and 16kB for the map leaves 32 unicode values
-          for each font position */
--      if (!feof(stdin))
--              perror_msg_and_die("Font too large");
-       /* test for psf first */
-       {
-diff -Nur busybox-0.60.1/loadfont.c busybox-0.60.1.new/loadfont.c
---- busybox-0.60.1/loadfont.c  Tue Jun 12 14:52:11 2001
-+++ busybox-0.60.1.new/loadfont.c      Tue Jun 12 15:16:20 2001
-@@ -183,8 +183,8 @@
+--- busybox-1.3.1/console-tools/loadfont.c.orig        2006-12-27 05:54:01.000000000 +0100
++++ busybox-1.3.1/console-tools/loadfont.c     2006-12-30 12:29:56.698666552 +0100
+@@ -169,8 +169,10 @@
                head0 = sizeof(struct psf_header);
  
                head = head0 + fontsize * unit;
--              if (head > inputlth || (!hastable && head != inputlth))
--                      error_msg_and_die("Input file: bad length");
-+              /* if (head > inputlth || (!hastable && head != inputlth))
-+                 error_msg_and_die("Input file: bad length"); */
++              /*
+               if (head > inputlth || (!hastable && head != inputlth))
+                       bb_error_msg_and_die("input file: bad length");
++               */
                do_loadfont(fd, inbuf + head0, unit, fontsize);
                if (hastable)
                        do_loadtable(fd, inbuf + head, inputlth - head, fontsize);
This page took 0.027299 seconds and 4 git commands to generate.