Changeset 4690:989ca5f47929 in roaraudio


Ignore:
Timestamp:
12/27/10 10:38:58 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Fixed small win32 bugs

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r4660 r4690  
    11v. 0.4beta3 - ? 
    22        * Updated roarvorbis (Closes: #103, See: #87) 
     3        * Fixed small win32 bugs 
    34 
    45v. 0.4beta2 - Sun Dec 12 2010 10:28 CET 
  • libroar.ckport

    r4646 r4690  
    807807pass                            internal 
    808808tiger_round                     internal 
    809 _export                         internal 
     809roar_hash_tiger_export          internal 
    810810 
    811811# CRC API: 
  • libroar/hash_tiger.c

    r4460 r4690  
    601601                        ); p += 8; } while (0) 
    602602#else 
    603   ROAR_ERR("_export(state=%p, ...): Tiger not implemented for non little or big endian systems!", state); 
     603  ROAR_ERR("roar_hash_tiger_init_from_pstate(state=%p, ...): Tiger not implemented for non little or big endian systems!", state); 
    604604  return -1; 
    605605#define _in 
     
    616616} 
    617617 
    618 static int _export(struct roar_hash_tiger * state, void * newstate, size_t * len, int is_pstate) { 
     618static int roar_hash_tiger_export(struct roar_hash_tiger * state, void * newstate, size_t * len, int is_pstate) { 
    619619 unsigned char * p = newstate; 
    620620 size_t needlen; 
     
    646646                     *p++ = m >>  8; *p++ = m;       } while(0) 
    647647#else 
    648   ROAR_ERR("_export(state=%p, ...): Tiger not implemented for non little or big endian systems!", state); 
     648  ROAR_ERR("roar_hash_tiger_export(state=%p, ...): Tiger not implemented for non little or big endian systems!", state); 
    649649  return -1; 
    650650#define _out 
     
    663663 
    664664int roar_hash_tiger_to_pstate(struct roar_hash_tiger * state, void * newstate, size_t * len) { 
    665  return _export(state, newstate, len, 1); 
     665 return roar_hash_tiger_export(state, newstate, len, 1); 
    666666} 
    667667 
     
    719719  return -1; 
    720720 
    721  return _export(state, digest, len, 0); 
     721 return roar_hash_tiger_export(state, digest, len, 0); 
    722722} 
    723723 
  • roard/roard.c

    r4642 r4690  
    25962596 
    25972597 // setup auth: 
     2598#if defined(ROAR_HAVE_GETUID) && defined(ROAR_HAVE_GETGID) 
    25982599 if ( auth_setup(none_acclev, trust_acclev, trust_root, getuid(), getgid()) == -1 ) { 
     2600#else 
     2601 if ( auth_setup(none_acclev, trust_acclev, trust_root, -1, -1) == -1 ) { 
     2602#endif 
    25992603  ROAR_ERR("Can not set up auth. Bad."); 
    26002604  alive = 0; 
Note: See TracChangeset for help on using the changeset viewer.