Changeset 35


Ignore:
Timestamp:
Nov 8, 2005 12:46:10 PM (18 years ago)
Author:
bennylp
Message:

Linux alpha test

Location:
pjproject/main
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/build/rules.mak

    r7 r35  
    150150           if test -f $$F; then \ 
    151151             echo -n "$(OBJDIR)/" >> $(DEP_FILE); \ 
    152              if gcc -MM $(DEPFLAGS) $$F | sed '/^#/d' >> $(DEP_FILE); then \ 
     152             if gcc -M $(DEPFLAGS) $$F | sed '/^#/d' >> $(DEP_FILE); then \ 
    153153                true; \ 
    154154             else \ 
  • pjproject/main/pjlib/include/pj/config.h

    r4 r35  
    227227 * be set to this value). 
    228228 * 
    229  * Default: 64 
     229 * Default: 256 
    230230 */ 
    231231#ifndef PJ_IOQUEUE_MAX_HANDLES 
    232 #  define PJ_IOQUEUE_MAX_HANDLES    (64) 
     232#  define PJ_IOQUEUE_MAX_HANDLES    (256) 
    233233#endif 
    234234 
  • pjproject/main/pjlib/src/pj/ioqueue_common_abs.c

    r28 r35  
    1919static pj_status_t ioqueue_destroy(pj_ioqueue_t *ioqueue) 
    2020{ 
    21     if (ioqueue->auto_delete_lock && ioqueue->lock ) 
     21    if (ioqueue->auto_delete_lock && ioqueue->lock ) { 
     22        pj_lock_release(ioqueue->lock); 
    2223        return pj_lock_destroy(ioqueue->lock); 
    23     else 
     24    } else 
    2425        return PJ_SUCCESS; 
    2526} 
  • pjproject/main/pjlib/src/pj/os_core_unix.c

    r14 r35  
    261261 
    262262    /* Call user's entry! */ 
    263     result = (void*) (*rec->proc)(rec->arg); 
     263    result = (void*)(long)(*rec->proc)(rec->arg); 
    264264 
    265265    /* Done. */ 
  • pjproject/main/pjlib/src/pjlib-test/exception.c

    r28 r35  
    8484    } 
    8585    PJ_DEFAULT { 
     86        int id = PJ_GET_EXCEPTION(); 
     87        PJ_LOG(3,("", "...error: got unexpected exception %d (%s)",  
     88                  id, pj_exception_id_name(id))); 
    8689        if (!rc) rc = -20; 
    8790    } 
  • pjproject/main/pjlib/src/pjlib-test/list.c

    r17 r35  
    4141{ 
    4242    list_node *node = (list_node*)nd; 
    43     return ((int)value == node->value) ? 0 : -1; 
     43    return ((long)value == node->value) ? 0 : -1; 
    4444} 
    4545 
     
    191191            return -1; 
    192192        } 
    193         p = (list_node*) pj_list_search(&list, (void*)i, &compare_node); 
     193        p = (list_node*) pj_list_search(&list, (void*)(long)i, &compare_node); 
    194194        pj_assert( p == &nodes[i] ); 
    195195        if (p != &nodes[i]) { 
Note: See TracChangeset for help on using the changeset viewer.