summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/files/patch-imLcPrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-imLcPrs.c')
-rw-r--r--x11/XFree86-4-libraries/files/patch-imLcPrs.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-imLcPrs.c b/x11/XFree86-4-libraries/files/patch-imLcPrs.c
deleted file mode 100644
index f4e347f9d1bf..000000000000
--- a/x11/XFree86-4-libraries/files/patch-imLcPrs.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- lib/X11/imLcPrs.c.orig Wed Dec 4 00:16:59 2002
-+++ lib/X11/imLcPrs.c Wed Dec 4 00:17:44 2002
-@@ -518,13 +518,13 @@
- FILE *fp;
- DefTree **ptop;
- {
-- char tb[65535];
-+ char tb[8192];
- char* tbp;
- struct stat st;
-
- if (fstat (fileno (fp), &st) != -1) {
- unsigned long size = (unsigned long) st.st_size;
-- if (size < sizeof tb) tbp = tb;
-+ if (size <= sizeof tb) tbp = tb;
- else tbp = malloc (size);
-
- if (tbp != NULL) {