[BACK]Return to sock.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/Attic/sock.c between version 1.4 and 1.5

version 1.4, 2004/08/02 17:34:10 version 1.5, 2004/09/24 14:28:07
Line 93 
Line 93 
                 return (-1);                  return (-1);
         }          }
   
         listen(cvsd_sock, 10);          (void)listen(cvsd_sock, 10);
   
           if (chown(cvsd_sock_path, getuid(), cvsd_gid) == -1) {
                   cvs_log(LP_ERRNO, "failed to change owner of `%s'",
                       cvsd_sock_path);
                   (void)close(cvsd_sock);
                   (void)unlink(cvsd_sock_path);
                   return (-1);
           }
   
         if (chmod(cvsd_sock_path, CVSD_SOCK_PERMS) == -1) {          if (chmod(cvsd_sock_path, CVSD_SOCK_PERMS) == -1) {
                 cvs_log(LP_ERRNO, "failed to change mode of `%s'",                  cvs_log(LP_ERRNO, "failed to change mode of `%s'",

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5