RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/rpmio/ bson.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Sat 18 Sep 2010 - 16:13:33 CEST
Message-Id: <20100918141333.04BE3C1FE7@rpm5.org>
  RPM Package Manager, CVS Repository
  /cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   18-Sep-2010 16:13:32
  Branch: HEAD                             Handle: 2010091814133200

  Modified files:
    rpm/rpmio               bson.c

  Log:
    - mongo: simplify the endianness check.

  Summary:
    Revision    Changes     Path
    2.4         +1  -3      rpm/rpmio/bson.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmio/bson.c
  ============================================================================
  $ cvs diff -u -r2.3 -r2.4 bson.c
  --- rpm/rpmio/bson.c	18 Sep 2010 14:02:49 -0000	2.3
  +++ rpm/rpmio/bson.c	18 Sep 2010 14:13:32 -0000	2.4
  @@ -25,10 +25,8 @@
   
   /*@-redef@*/
   union _dbswap {
  -    uint64_t ul;
       uint32_t ui;
  -    uint16_t us;
  -    uint8_t uc[8];
  +    uint8_t uc[4];
   };
   /*@=redef@*/
   /*@unchecked@*/
  @@ .
Received on Sat Sep 18 16:13:33 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.