rem: rprintf(FINFO,"flist->flags=%x\n",fptr[i]->flags); rprintf(FINFO,"flist->modtime=%x\n",fptr[i]->modtime); rprintf(FINFO,"flist->length=%x\n",fptr[i]->length); rprintf(FINFO,"flist->mode=%x\n",fptr[i]->mode); rprintf(FINFO,"flist->basename=%s\n",fptr[i]->basename);
add: rprintf(FINFO, "flist->flags=%#x\n",fptr[i]->flags); rprintf(FINFO, "flist->modtime=%#x\n",fptr[i]->modtime); rprintf(FINFO, "flist->length=%.0f\n", (double) fptr[i]->length); rprintf(FINFO, "flist->mode=%#o\n", (int) fptr[i]->mode); rprintf(FINFO, "flist->basename=%s\n",fptr[i]->basename);
context: void show_flist(int index, struct file_struct **fptr){   /*  for debugging    show_flist(flist->count, flist->files **/     int i;    for (i=0;i<index;i++) {       rprintf(FINFO,"flist->flags=%x\n",fptr[i]->flags);         rprintf(FINFO,"flist->modtime=%x\n",fptr[i]->modtime);         rprintf(FINFO,"flist->length=%x\n",fptr[i]->length);         rprintf(FINFO,"flist->mode=%x\n",fptr[i]->mode);         rprintf(FINFO,"flist->basename=%s\n",fptr[i]->basename);       if (fptr[i]->dirname)        rprintf(FINFO,"flist->dirname=%s\n",fptr[i]->dirname);       if (fptr[i]->basedir)        rprintf(FINFO,"flist->basedir=%s\n",fptr[i]->basedir);    }}