Changeset daae10f for lib


Ignore:
Timestamp:
2010-08-07T16:33:02Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7b87539
Parents:
289bd2d
Message:

OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@…>
with some changes.

Location:
lib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile

    r289bd2d rdaae10f  
    1515objects = arc.o base64.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o md5.o misc.o oauth.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o
    1616
    17 CFLAGS += -Wall
    1817LFLAGS += -r
    1918
  • lib/md5.h

    r289bd2d rdaae10f  
    2727#include <sys/types.h>
    2828#include <gmodule.h>
     29#if(__sun)
     30#include <inttypes.h>
     31#else
    2932#include <stdint.h>
     33#endif
    3034
    3135typedef uint8_t md5_byte_t;
  • lib/oauth.c

    r289bd2d rdaae10f  
    6060        {
    6161                g_snprintf( (gchar*) key, HMAC_BLOCK_SIZE + 1, "%s&%s",
    62                             oi->sp->consumer_secret, oi->token_secret ? : "" );
     62                            oi->sp->consumer_secret, oi->token_secret ? oi->token_secret : "" );
    6363        }
    6464       
  • lib/sha1.h

    r289bd2d rdaae10f  
    2424#define _SHA1_H_
    2525
     26#if(__sun)
     27#include <inttypes.h>
     28#else
    2629#include <stdint.h>
     30#endif
    2731#include <gmodule.h>
    2832
  • lib/xmltree.c

    r289bd2d rdaae10f  
    215215       
    216216        if( node == NULL )
    217                 return xt_cleanup( xt, xt->root, depth );
     217        {
     218                xt_cleanup( xt, xt->root, depth );
     219                return;
     220        }
    218221       
    219222        if( node->flags & XT_SEEN && node == xt->root )
Note: See TracChangeset for help on using the changeset viewer.