Switch to unified view

a/src/utils/pathut.cpp b/src/utils/pathut.cpp
...
...
615
    int fd = ::open(m_path.c_str(), O_RDONLY);
615
    int fd = ::open(m_path.c_str(), O_RDONLY);
616
    if (fd == -1)
616
    if (fd == -1)
617
    return (pid_t)-1;
617
    return (pid_t)-1;
618
618
619
    char buf[16];
619
    char buf[16];
620
    int error;
621
    int i = read(fd, buf, sizeof(buf) - 1);
620
    int i = read(fd, buf, sizeof(buf) - 1);
622
    error = errno;
623
    ::close(fd);
621
    ::close(fd);
624
    if (i <= 0)
622
    if (i <= 0)
625
    return (pid_t)-1;
623
    return (pid_t)-1;
626
    buf[i] = '\0';
624
    buf[i] = '\0';
627
    char *endptr;
625
    char *endptr;