|
Lines 141-151
Link Here
|
| 141 |
|
141 |
|
| 142 |
if( p_intf->p_sys->i_socket == -1 ) |
142 |
if( p_intf->p_sys->i_socket == -1 ) |
| 143 |
{ |
143 |
{ |
| 144 |
if (!config_GetInt( p_intf, "rc-fake-tty" )) |
144 |
utf8_vfprintf( stdout, psz_fmt, args ); |
| 145 |
{ |
145 |
printf( "\r\n" ); |
| 146 |
utf8_vfprintf( stdout, psz_fmt, args ); |
|
|
| 147 |
printf( "\r\n" ); |
| 148 |
} |
| 149 |
|
146 |
|
| 150 |
} |
147 |
} |
| 151 |
else |
148 |
else |
|
Lines 2301-2312
Link Here
|
| 2301 |
} |
2298 |
} |
| 2302 |
#endif |
2299 |
#endif |
| 2303 |
|
2300 |
|
| 2304 |
if (p_intf->p_sys->i_socket == -1 && config_GetInt( p_intf, "rc-fake-tty" )) |
|
|
| 2305 |
{ |
| 2306 |
msleep( INTF_IDLE_SLEEP ); |
| 2307 |
return VLC_FALSE; |
| 2308 |
} |
| 2309 |
|
| 2310 |
while( !p_intf->b_die && *pi_size < MAX_LINE_LENGTH && |
2301 |
while( !p_intf->b_die && *pi_size < MAX_LINE_LENGTH && |
| 2311 |
(i_read = net_ReadNonBlock( p_intf, p_intf->p_sys->i_socket == -1 ? |
2302 |
(i_read = net_ReadNonBlock( p_intf, p_intf->p_sys->i_socket == -1 ? |
| 2312 |
0 /*STDIN_FILENO*/ : p_intf->p_sys->i_socket, NULL, |
2303 |
0 /*STDIN_FILENO*/ : p_intf->p_sys->i_socket, NULL, |