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 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 <bernhard@uwm.edu>. OSF fixes.
Shaw Terwilliger <sterwill@postman.abisource.com>. C++ fix.
Caolan McNamara <Caolan.McNamara@ul.ie>. Debug and more.
Martin Scharpf <martin.scharpf@bbraun.com>. Debug.
David Rysdam. The memory dump function cole used in pre 1.x and 1.x releases.
Bernhard Reiter <bernhard@uwm.edu>. OSF fixes.
Shaw Terwilliger <sterwill@postman.abisource.com>. C++ fix.
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.
* 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.

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(ws_array);
@ -4272,6 +4269,27 @@ static void OutputCharCorrected(U8 c)
case 0x9F: /* Y Dieresis */
printf("&#376;");
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;