Changeset 2765:3296ba1d93a7 in roaraudio


Ignore:
Timestamp:
09/23/09 01:41:39 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only use things we have...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r2759 r2765  
    15291529   roar_vio_close(&pidfile_vio); 
    15301530  } 
     1531#if defined(ROAR_HAVE_SETGID) && defined(ROAR_HAVE_SETUID) && defined(ROAR_HAVE_IO_POSIX) 
    15311532  if ( pwd || grp ) { 
    15321533   if ( chown(pidfile, pwd ? pwd->pw_uid : -1, grp ? grp->gr_gid : -1) == -1 ) { 
     
    15371538   ROAR_WARN("Can not change permissions of pidfile: %s: %s", pidfile, strerror(errno)); 
    15381539  } 
     1540#endif 
    15391541 } 
    15401542#endif 
Note: See TracChangeset for help on using the changeset viewer.