SPECS: rpm.spec - 5.1.6 - updated TODO (will glob patch finally go away?)

Jeff Johnson n3npq at mac.com
Wed Oct 29 01:05:59 CET 2008


On Oct 28, 2008, at 7:50 PM, Jeff Johnson wrote:

>
> On Oct 28, 2008, at 6:50 PM, Jakub Bogusz wrote:
>
>>
>> That's nothing to do with glob(). Didn't you mean:
>>
>> %install
>> # (same as above)
>>
>> %files
>> /*
>>
>
> Yes.
>

BTW, there's another approach to solving the glibc glob()
problem pursued by SuSE if you wish.

The GNU glob() has (*stat) and (*lstat) vectors that
are loaded with Stat() and Lstat() pointers when used
through rpmio.

All that is needed (iirc) is to load the (*lstat) vector with Stat()
instead of Lstat() (but I could have the issue backwards, this
is like 3 year ole memories).

See OpenSUSE patches to rpm if you want to use glibc glob() instead.

I wish distingushed Stat() and Lstat() in rpmio for potential use
with remote (i.e. through http/ftp) globbing.

There are also portability issues on non-GNU systems that do not support
the GNU extensions.

Those are the 2 rationales for internalizing GNU glob into rpmio. But  
rpmio glob also
fixed some symbol collision which arekm reported. However, reverting
to glibc glob(3) would have fixed that issue as well.

73 de Jeff

> 73 de Jeff
> _______________________________________________
> pld-devel-en mailing list
> pld-devel-en at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-devel-en



More information about the pld-devel-en mailing list