comparison target-utils/libmpffs/basicfind.c @ 102:7f75ffdd674f

pirexplore FFS: buglet fixed, works now
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 02 Sep 2013 00:41:18 +0000
parents 7029fe8ae0bc
children ac310ee73788
comparison
equal deleted inserted replaced
101:7029fe8ae0bc 102:7f75ffdd674f
90 int *continue_ret; 90 int *continue_ret;
91 { 91 {
92 int ino, cont; 92 int ino, cont;
93 struct inode *irec; 93 struct inode *irec;
94 u8 *start, *end; 94 u8 *start, *end;
95 size_t size; 95 int size;
96 96
97 ino = mpffs_pathname_to_inode(pathname); 97 ino = mpffs_pathname_to_inode(pathname);
98 if (ino <= 0) 98 if (ino <= 0)
99 return(-1); 99 return(-1);
100 irec = mpffs_active_index + ino; 100 irec = mpffs_active_index + ino;
127 int *continue_ret; 127 int *continue_ret;
128 { 128 {
129 int cont; 129 int cont;
130 struct inode *irec; 130 struct inode *irec;
131 u8 *start, *end; 131 u8 *start, *end;
132 size_t size; 132 int size;
133 133
134 for (;;) { 134 for (;;) {
135 irec = mpffs_active_index + ino; 135 irec = mpffs_active_index + ino;
136 if (irec->type) 136 if (irec->type)
137 break; 137 break;