Fixed 2 segfaults in xlhtml.c

This commit is contained in:
slidedraw 2002-04-09 23:55:14 +00:00
parent 1374f15231
commit 1411d6a7e0
3 changed files with 38 additions and 21 deletions

View File

@ -1,21 +1,27 @@
Thank you all of you that have contributed with this project! Thank you to everyone that has contributed to this project!
Thank you for help!
(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: Thanks to:
********** **********
The LAOLA guy: Martin Schwartz. Without his pretty hack The LAOLA guy: Martin Schwartz.
into Structure Storage and Compound Files this work could never be Without his amazing hack into Structured Storage and Compound Files
possible. this work would have never been possible.
The Engineering Computer Laboratory of La Salle University The Engineering Computer Laboratory of La Salle University
Mexico, Campus Mexico City, for supporting Arturo Tena Mexico, Campus Mexico City, for supporting Arturo Tena
in cole development. in cole development.
Bernhard Reiter <bernhard@uwm.edu>. OSF fixes.
Shaw Terwilliger <sterwill@postman.abisource.com>. C++ fix. Bernhard Reiter <bernhard@uwm.edu>. OSF fixes.
Caolan McNamara <Caolan.McNamara@ul.ie>. Debug and more.
Martin Scharpf <martin.scharpf@bbraun.com>. Debug. Shaw Terwilliger <sterwill@postman.abisource.com>. C++ fix.
David Rysdam. The memory dump function cole used in pre 1.x and 1.x releases.
Caolan McNamara <Caolan.McNamara@ul.ie>. Debug and more.
Martin Scharpf <martin.scharpf@bbraun.com>. Debug.
David Rysdam. The memory dump function used by cole
in pre 1.x and 1.x releases.

View File

@ -15,8 +15,6 @@ HIGH PRIORITY:
* Implement more API calls, like `stdio.h' ANSI C calls. * 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 =). * 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, * Divide the RPM in cole and cole-devel packages (may be it's not necessary,
because cole package is not much big). 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: NOT URGENT:
@ -89,9 +85,6 @@ NOT URGENT:
* Use some package to discover uninitializated memory, use some profile * Use some package to discover uninitializated memory, use some profile
package, etc. 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. * Use zlib to support compressed files.

View File

@ -515,9 +515,6 @@ int main (int argc, char **argv)
} }
} }
free(xf_array);
free(font_array);
free(f_cnt);
free(str_array); free(str_array);
free(ws_array); free(ws_array);
@ -4272,6 +4269,27 @@ static void OutputCharCorrected(U8 c)
case 0x9F: /* Y Dieresis */ case 0x9F: /* Y Dieresis */
printf("&#376;"); printf("&#376;");
break; 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: default:
putchar(c); putchar(c);
break; break;