Changeset 5406:3a3e9d18f561 in roaraudio
- Timestamp:
- 02/13/12 15:16:34 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r5404 r5406 10 10 * Added VIO/DSTR for SOCKS proxy (See: #187) 11 11 * Added support for stream direction RECPLAY. 12 * Ported to Win32 (again...) (pr1) 12 13 13 14 v. 0.4 - Fri Nov 11 2011 20:12 CET -
include/libroar/vio.h
r5388 r5406 49 49 #define ROAR_VIOF_CREAT O_CREAT 50 50 #define ROAR_VIOF_TRUNC O_TRUNC 51 52 #ifndef ROAR_TARGET_WIN32 51 53 #define ROAR_VIOF_NONBLOCK O_NONBLOCK 54 #else 55 #define ROAR_VIOF_NONBLOCK 0 56 #endif 52 57 53 58 #define ROAR_VIO_FLAGS_NONE 0x00000000UL -
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.