]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - tipo3/param_cte.c
Se agregan graficos.
[z.facultad/75.06/emufs.git] / tipo3 / param_cte.c
index b5787b6b4794075347b33fa6b599eed77c2551a7..5ef131f1bb0c7203c7570977aafcefa6db162e8e 100644 (file)
@@ -258,7 +258,7 @@ int buscar_lugar(EMUFS *emu, unsigned long tam, int *fs)
        reg.block = -1;
        *fs = emu->tam_bloque;
        while( !feof(f_block_free) ){
-               fread(&reg,sizeof(BLOCK_FREE_T),1,f_block_free);
+               if (fread(&reg,sizeof(BLOCK_FREE_T),1,f_block_free) != 1) continue;
                if ( reg.free_space >= tam ) 
                        break;
                else {