Revision 6e65a42a

b/vl.c
4405 4405
    if (fd == -1)
4406 4406
        return -1;
4407 4407

  
4408
    /* XXX: No locking for Win32 implemented */
4409
#ifndef _WIN32
4408 4410
    if (lockf(fd, F_TLOCK, 0) == -1)
4409 4411
        return -1;
4412
#endif
4410 4413

  
4411 4414
    len = snprintf(buffer, sizeof(buffer), "%ld\n", (long)getpid());
4412 4415
    if (write(fd, buffer, len) != len)

Also available in: Unified diff