Changeset 5257:27194d561c16 in roaraudio for roard/roard.c
- Timestamp:
- 11/13/11 22:53:53 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r5255 r5257 471 471 472 472 if ( pidfile != NULL ) { 473 if ( roar_vio_open_ file(&fh, pidfile, O_RDONLY, 0644) == -1) {473 if ( roar_vio_open_dstr_simple(&fh, pidfile, O_RDONLY) ) { 474 474 ROAR_WARN("restart_server(*): Can not read pidfile: %s", pidfile); 475 475 } else { … … 2519 2519 #ifdef SUPPORT_PIDFILE 2520 2520 if ( pidfile != NULL ) { 2521 if ( roar_vio_open_ file(&pidfile_vio, pidfile, O_WRONLY|O_CREAT, 0644) == -1 ) {2521 if ( roar_vio_open_dstr_simple(&pidfile_vio, pidfile, O_WRONLY|O_CREAT) == -1 ) { 2522 2522 ROAR_ERR("Can not write pidfile: %s", pidfile); 2523 2523 } else {
Note: See TracChangeset
for help on using the changeset viewer.