[pso][tema3]Bugfix pentru testele cu blocksize 4096

Cristian Pop cristip0p at yahoo.com
Sun May 20 15:42:56 EEST 2007


Se pare ca s-a strecurat un mic bug in tester (mai exact in mk_pitix) care ducea la segmentation fault daca se incerca generarea unei partitii cu dimensiunea blocului 4096.

Iata diff-urile pentru patch:

15c15
<        char buffer[4096];
---
>        char buffer[4097];
80c80
<        fwrite(buffer, 4096, 1, file);
---
>        fwrite(buffer, 4097, 1, file);

Cristi


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


More information about the pso mailing list