-------- Original-Nachricht --------
> Datum: Thu, 7 Feb 2008 09:41:08 -0500
> Von: Jeff Johnson <n3npq@mac.com>
> An: rpm-devel@rpm5.org
> Betreff: Re: missing fixes for QNX in 5.0.x branch
>
> On Feb 7, 2008, at 9:12 AM, Peter Kalbus wrote:
>
> > I just tried to get rpm-5.0.2 compiled for QNX. But there are some
> > fixes from the main branch missing:
> >
> > http://rpm5.org/cvs/chngview?cn=9423 (makedev 3 parameter)
>
> Added.
>
Thanks!
>
> > http://rpm5.org/cvs/chngview?cn=9465 (u_int32_t / uint32_t)
>
> (aside) It's just a steenkin' cast, that ultimately does not matter,
> _BUT_ I have
> to fiddle these casts when checking rpm sources using splint, and I'd
> rather not get into a endlessly tedious repair loop ...
>
> Berkeley DB db.h has this:
>
> /* Key/data structure -- a Data-Base Thang. */
> struct __db_dbt {
> void *data; /* Key/data */
> u_int32_t size; /* key/data length */
>
> u_int32_t ulen; /* RO: length of user
> buffer. */
> u_int32_t dlen; /* RO: get/put record
> length. */
> u_int32_t doff; /* RO: get/put record
> offset. */
>
> u_int32_t size;
>
> on linux/i386.
>
> What is the data type in db.h on QNX? if "u_int32_t" is being used in
> db.h,
> then changing the cast is not the right fix in rpmdb.c.
>
Since QNX is currently not supported from db 4.6.21, there is no build_qnx location with a db.h file avaiŽlable. But if that would expect, I guess that it would contain "typedef unsigned int u_int32_t;", which is similar to the other ones.
>
> 73 de Jeff
>
> ______________________________________________________________________
> RPM Package Manager http://rpm5.org
> Developer Communication List rpm-devel@rpm5.org
Received on Thu Feb 7 18:07:22 2008