+struct map_struct {
+ char *map,*p;
+ int fd,p_size,p_len;
+ off_t size, p_offset;
+};
+
+/* we need this function because of the silly way in which duplicate
+ entries are handled in the file lists - we can't change this
+ without breaking existing versions */
+static int flist_up(struct file_list *flist, int i)
+{
+ while (!flist->files[i]->basename) i++;
+ return i;
+}
+