summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7e82309)
De todos modos me falta algo porque el archivo final contiene basura al descomprimir (tal
vez mi bs_restore ?)
pos = (char *)malloc(len*sizeof(char));
z = jacu_buscar_z(datos, len, &size);
pos = (char *)malloc(len*sizeof(char));
z = jacu_buscar_z(datos, len, &size);
+ (*_z) = jacu_buscar_z(datos, len, &size);
+
for(i=0; i<len; i++){
pos[i] = get_pos(z, size, datos[i]);
printf("pos de %c = %d\n", datos[i], pos[i]);
for(i=0; i<len; i++){
pos[i] = get_pos(z, size, datos[i]);
printf("pos de %c = %d\n", datos[i], pos[i]);
(*z_len) = size;
return pos;
}
(*z_len) = size;
return pos;
}