Re: [PATCH f15-branch master] Handle nfsiso in promptForNfs as well (#678413).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux