FreeCalypso > hg > freecalypso-reveng
comparison pirollback/checknames.c @ 46:78ac405716db
pirollback: journal parsing implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 07 Jul 2013 06:14:40 +0000 |
parents | 074237879eca |
children |
comparison
equal
deleted
inserted
replaced
45:18472a2ccf55 | 46:78ac405716db |
---|---|
19 switch (in->type) { | 19 switch (in->type) { |
20 case 0xE1: | 20 case 0xE1: |
21 case 0xF1: | 21 case 0xF1: |
22 case 0xF2: | 22 case 0xF2: |
23 break; | 23 break; |
24 case 0x00: | |
25 case 0xF4: | |
26 return; | |
24 default: | 27 default: |
25 return; | 28 fprintf(stderr, "inode #%x: unexpected type %02X\n", ino, |
29 in->type); | |
30 exit(1); | |
26 } | 31 } |
27 for (cp = in->dataptr, cnt = 0; ; cp++, cnt++) { | 32 for (cp = in->dataptr, cnt = 0; ; cp++, cnt++) { |
28 if (cnt >= in->len) { | 33 if (cnt >= in->len) { |
29 fprintf(stderr, | 34 fprintf(stderr, |
30 "inode #%x: name expected at %x: length overrun\n", | 35 "inode #%x: name expected at %x: length overrun\n", |