-
The attached patch fixes the following issues:
Check pointers returned by malloc. It may return NULL on allocation failure.
Replace random size check. 40Mb is just random and it can easily be hit in the real world.
Use 4G instead, which is a better limit (32-bit address space limit).
If the machine does not have enough memory, malloc will tell us. There's no need to
check against...
2009-05-14 21:40:53 UTC in 3D Mesh-To-Heightmap Generator
-
The attached patch fixes a rendering bug that results in the attached shapes-broken.pgm image. The expected image is attached as shapes.pgm.
The patch replaces a comparison ((float)x == 0.0) by (fabs(x) < very_small_fp_value).
Due to floating point not being exact, it depends on the FP format and the CPU whether a direct comparison will be true or not.
The ==0.0 test breaks on PowerPC and...
2009-05-13 11:13:15 UTC in 3D Mesh-To-Heightmap Generator
-
This also fixes compilation for x86_64.
2009-05-12 21:27:58 UTC in 3D Mesh-To-Heightmap Generator
-
The attached patch fixes more fgetc()s, which put their result into a char. The result must be put into an int, because otherwise it breaks wrt EOF on systems with char=unsigned char.
2009-05-12 21:25:50 UTC in 3D Mesh-To-Heightmap Generator
-
On systems like PPC and Sparc a C "char" is unsigned by default.
So it can not hold the magic EOF that's returned by fgetc() on end-of-file, because EOF usually is -1. So the parser fails to detect and end-of-file condition on such systems.
The attached patch fixes this by using "int" for the "ch" variable. (fgetc() also returns an "int" type)
2009-05-12 10:41:10 UTC in 3D Mesh-To-Heightmap Generator
-
The following patch fixes a linker error on PPC due to the compiler choosing to not inline the sub_cross2d function.
gcc -std=c99 -o mesh2hmap main.o mesh2hmap.o parser.o output.o matrix.o -lm
mesh2hmap.o: In function `get_grid_height':
mesh2hmap.c:(.text+0x2f8): undefined reference to `sub_cross2d'
mesh2hmap.c:(.text+0x344): undefined reference to `sub_cross2d'
collect2: ld returned...
2009-05-12 10:08:12 UTC in 3D Mesh-To-Heightmap Generator
-
tuxsoft registered the regtrack project.
2005-12-26 16:31:37 UTC in regtrack
-
tuxsoft committed patchset 133 of module pwmanager to the PwManager - Password Manager CVS repository, changing 4 files.
2004-06-21 19:33:50 UTC in PwManager - Password Manager
-
tuxsoft committed patchset 132 of module pwmanager to the PwManager - Password Manager CVS repository, changing 1 files.
2004-06-21 19:15:00 UTC in PwManager - Password Manager
-
tuxsoft committed patchset 131 of module pwmanager to the PwManager - Password Manager CVS repository, changing 5 files.
2004-06-21 19:10:55 UTC in PwManager - Password Manager