From: Francois B <mrs...@us...> - 2005-04-30 19:16:02
|
Update of /cvsroot/openneo/openneo/firmware In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32281 Modified Files: heap.c Log Message: Heap is filled with 0x55 on init() Index: heap.c =================================================================== RCS file: /cvsroot/openneo/openneo/firmware/heap.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** heap.c 3 Apr 2005 20:20:56 -0000 1.6 --- heap.c 30 Apr 2005 19:15:53 -0000 1.7 *************** *** 94,100 **** strcat(heap_info.path, "/heap.swp"); ! //fd = fopen( "/heap.txt", O_WRONLY| O_CREAT); ! //fprintf( fd, "S: %d, E:%d, Size: %d\n",heapbegin, heapend, (int)heap_size() ); ! //fsync(fd); } --- 94,98 ---- strcat(heap_info.path, "/heap.swp"); ! memset( heapbegin, 0x55, heapend - heapbegin); } |