* * */
| 37 | * |
| 38 | */ |
| 39 | RETCODE adfBlockPtr2EntryName(struct Volume *vol, SECTNUM nSect, SECTNUM lPar, |
| 40 | char **name, int32_t *size) |
| 41 | { |
| 42 | struct bEntryBlock entryBlk; |
| 43 | struct Entry entry; |
| 44 | |
| 45 | if (*name==0) { |
| 46 | adfReadEntryBlock(vol, nSect, &entryBlk); |
| 47 | *size = entryBlk.byteSize; |
| 48 | return RC_OK; |
| 49 | adfEntBlock2Entry(&entryBlk, &entry); /*error*/ |
| 50 | /* if (entryBlk.secType!=ST_ROOT && entry.parent!=lPar) |
| 51 | printf("path=%s\n",path(vol,entry.parent)); |
| 52 | */ |
| 53 | *name = strdup(""); |
| 54 | if (*name==NULL) |
| 55 | return RC_MALLOC; |
| 56 | return RC_OK; |
| 57 | } |
| 58 | else |
| 59 | |
| 60 | return RC_OK; |
| 61 | } |
| 62 | |
| 63 | /*##################################################################################*/ |
nothing calls this directly
no test coverage detected