> > +static int ends_with_iso(char *dirname, struct dirent *ent) { > > + char *suffix; > > + > > + if (ent->d_type != DT_REG) > > + return 0; > > + > > + suffix = rindex(ent->d_name, '.'); > > + return (!strcmp(suffix, "iso")); > > This should be ".iso", rindex points to the char being searched for. > > The rest looks good to me. Okay, this would need to be fixed in promptForHd as well. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list