Re: [PATCH 2/7] Add rpm extraction routines (use librpm and libarchive)

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

 



I was testing it with this:

gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)

----- "Chris Lumens" <clumens@xxxxxxxxxx> wrote:

> > No I won't... the memory looks like this:
> > 
> > ['.', '\0'] or ['.', '/', '\0'] or ['/', '\0']
> > 
> > So it will end up as empty string, but it definitely won't
> segfault,
> > because '\0' won't match neither '/' nor '.'.
> 
> Yep, okay.
> 
> > > I don't think you need to cast this.
> > 
> > My GCC thinks I do for some reason. It didn't build without this...
> I
> > tried. (it was just a warning, but we are converting them to
> errors)
> 
> Huh, that's strange.  What version of gcc is it?
> 
> - Chris
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
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