[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.10 and 1.11

version 1.10, 2005/02/15 15:17:34 version 1.11, 2005/02/15 20:14:49
Line 29 
Line 29 
 #include <sys/un.h>  #include <sys/un.h>
   
 #include <poll.h>  #include <poll.h>
 #include <stdlib.h>  #include <errno.h>
 #include <stdio.h>  #include <stdio.h>
   #include <fcntl.h>
 #include <unistd.h>  #include <unistd.h>
 #include <errno.h>  
 #include <string.h>  #include <string.h>
   #include <stdlib.h>
   
 #include "log.h"  #include "log.h"
 #include "sock.h"  #include "sock.h"
Line 106 
Line 107 
                 (void)unlink(cvsd_sock_path);                  (void)unlink(cvsd_sock_path);
                 return (-1);                  return (-1);
         }          }
   
           /* close on exec so children can't muck around with this */
           (void)fcntl(cvsd_sock, F_SETFD, FD_CLOEXEC);
   
         cvs_log(LP_DEBUG, "opened local socket `%s'", cvsd_sock_path);          cvs_log(LP_DEBUG, "opened local socket `%s'", cvsd_sock_path);
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11