From 1411d6a7e050cf40835400422076a7b254af7aa4 Mon Sep 17 00:00:00 2001 From: slidedraw Date: Tue, 9 Apr 2002 23:55:14 +0000 Subject: [PATCH] Fixed 2 segfaults in xlhtml.c --- cole/THANKS | 28 +++++++++++++++++----------- cole/TODO | 7 ------- xlhtml/xlhtml.c | 24 +++++++++++++++++++++--- 3 files changed, 38 insertions(+), 21 deletions(-) diff --git a/cole/THANKS b/cole/THANKS index 40a1741..93f262a 100644 --- a/cole/THANKS +++ b/cole/THANKS @@ -1,21 +1,27 @@ -Thank you all of you that have contributed with this project! -Thank you for help! +Thank you to everyone that has contributed to this project! -(If you can't find your name here, please email to the current maintainer). +(If you can't find your name here, please email the current maintainer). Thanks to: ********** -The LAOLA guy: Martin Schwartz. Without his pretty hack - into Structure Storage and Compound Files this work could never be - possible. +The LAOLA guy: Martin Schwartz. + Without his amazing hack into Structured Storage and Compound Files + this work would have never been possible. + The Engineering Computer Laboratory of La Salle University Mexico, Campus Mexico City, for supporting Arturo Tena in cole development. -Bernhard Reiter . OSF fixes. -Shaw Terwilliger . C++ fix. -Caolan McNamara . Debug and more. -Martin Scharpf . Debug. -David Rysdam. The memory dump function cole used in pre 1.x and 1.x releases. + +Bernhard Reiter . OSF fixes. + +Shaw Terwilliger . C++ fix. + +Caolan McNamara . Debug and more. + +Martin Scharpf . Debug. + +David Rysdam. The memory dump function used by cole + in pre 1.x and 1.x releases. diff --git a/cole/TODO b/cole/TODO index fe5c666..c353cb4 100644 --- a/cole/TODO +++ b/cole/TODO @@ -15,8 +15,6 @@ HIGH PRIORITY: * Implement more API calls, like `stdio.h' ANSI C calls. -* Fix the bugs listed in `BUGS' file! - * Search for `FIXME' in the source code... and fix some =). @@ -79,8 +77,6 @@ MEDIUM: * Divide the RPM in cole and cole-devel packages (may be it's not necessary, because cole package is not much big). -* cole.spec is regenerated while configuring, avoid that. (UPDATE: may be - is impossible to avoid that =(). NOT URGENT: @@ -89,9 +85,6 @@ NOT URGENT: * Use some package to discover uninitializated memory, use some profile package, etc. -* Support cross compiling (don't even know what this exactly means! =) ). - UPDATE: seems that cross compiling it is just useful for compilers... =) - * Use zlib to support compressed files. diff --git a/xlhtml/xlhtml.c b/xlhtml/xlhtml.c index ef77e27..e18941f 100644 --- a/xlhtml/xlhtml.c +++ b/xlhtml/xlhtml.c @@ -515,9 +515,6 @@ int main (int argc, char **argv) } } - free(xf_array); - free(font_array); - free(f_cnt); free(str_array); free(ws_array); @@ -4272,6 +4269,27 @@ static void OutputCharCorrected(U8 c) case 0x9F: /* Y Dieresis */ printf("Ÿ"); break; + case 0xE1: /* a acute */ + printf("á"); + break; + case 0xE9: /* e acute */ + printf("é"); + break; + case 0xED: /* i acute */ + printf("í"); + break; + case 0xF3: /* o acute */ + printf("ó"); + break; + case 0xFA: /* u acute */ + printf("ú"); + break; + case 0xFD: /* y acute */ + printf("ý"); + break; + case 0xB0: /* degrees */ + printf("deg."); + break; default: putchar(c); break;