From: <enl...@li...> - 2001-04-30 23:04:06
|
Enlightenment CVS committal Author : cpk Project : e17 Module : apps/efsd Dir : e17/apps/efsd/efsd Modified Files: efsd_main.c efsd_misc.c Log Message: Make this pass make distcheck ... =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/efsd/efsd/efsd_main.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- efsd_main.c 2001/04/26 22:28:13 1.26 +++ efsd_main.c 2001/04/30 23:03:35 1.27 @@ -629,6 +629,11 @@ clilen = sizeof(cli_sun); if ( (sock_fd = accept(listen_fd, (struct sockaddr *)&cli_sun, &clilen)) < 0) { + /* FIXME -- Are Unix Domain Sockets susceptible to the same + race condition as in TCP/IP where accept() may block after + select() returned an fd as readable, when the client + immediately sent a RST? */ + perror("Error:"); fprintf(stderr, "Could not accept connection -- exiting.\n"); exit(-1); @@ -656,7 +661,7 @@ } -static void +static void main_cleanup_signal_callback(int signal) { D_ENTER; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/efsd/efsd/efsd_misc.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -3 -r1.25 -r1.26 --- efsd_misc.c 2001/04/26 22:28:13 1.25 +++ efsd_misc.c 2001/04/30 23:03:35 1.26 @@ -45,6 +45,7 @@ #include <efsd_fam.h> #include <efsd_globals.h> #include <efsd_macros.h> +#include <efsd_meta.h> #include <efsd_misc.h> #include <efsd_statcache.h> |