Revision 9b938c72 qemu-char.c

b/qemu-char.c
2440 2440
        if (fd < 0)
2441 2441
            continue;
2442 2442

  
2443
        /* O_NONBLOCK is preserved across SCM_RIGHTS so reset it */
2444
        qemu_set_block(fd);
2445

  
2443 2446
#ifndef MSG_CMSG_CLOEXEC
2444 2447
        qemu_set_cloexec(fd);
2445 2448
#endif

Also available in: Unified diff