Changeset 5406:3a3e9d18f561 in roaraudio for libroar
- Timestamp:
- 02/13/12 15:16:34 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/basic.c
r5393 r5406 234 234 if ( stat(user_sock, &sockstat) == 0 ) { 235 235 if ( S_ISCHR(sockstat.st_mode) ) { 236 #ifdef O_NOCTTY 236 237 return open(user_sock, O_RDWR|O_NOCTTY, 0666); 238 #else 239 return open(user_sock, O_RDWR, 0666); 240 #endif 237 241 } 238 242 } -
libroar/vio_socket.c
r5396 r5406 179 179 180 180 if ( connect(fh, &(def->d.socket.sa.sa), len) == -1 ) { 181 #ifdef EINPROGRESS 181 182 if ( errno != EINPROGRESS ) { 183 #endif 182 184 roar_err_from_errno(); 183 185 close(fh); 184 186 return -1; 187 #ifdef EINPROGRESS 185 188 } 189 #endif 186 190 } 187 191 }
Note: See TracChangeset
for help on using the changeset viewer.