Re: [cbm4linux-users] Cant open source from d71
Brought to you by:
cbm4linux
From: Mats J. <mj...@ti...> - 2004-11-02 17:25:05
|
Indeed it did! Now it works very well /Mats There's a silly bug in the above function. This should fix it: diff -u -r1.14 -r1.15 --- fs.c 2 Nov 2004 08:13:45 -0000 1.14 +++ fs.c 2 Nov 2004 08:15:34 -0000 1.15 @@ -78,11 +78,13 @@ { if(statre >.st_size =3D=3D D71_BLOCKS * BLOCKSIZE) { + is_image =3D 1; block_count =3D D71_BLOCKS; tr =3D D71_TRACKS; } else if(statrec.st_size =3D=3D D71_BLOCKS * (BLOCKSIZE + 1)) { + >s_image =3D 1; error_info =3D 1; block_count =3D D71_BLOCKS; tr =3D D71_TRACKS; |