Enlightenment CVS committal

Author  : mej
Project : e16
Module  : epplets

Dir     : e16/epplets/api


Modified Files:
        epplet.c 


Log Message:
Mon Nov 24 09:58:06 2003                        Michael Jennings (mej)

I'm going to assume raster committed that by mistake, since (1) it has
nothing to do with an fd leak, and (2) it would break the entire
instance counting mechanism.

===================================================================
RCS file: /cvsroot/enlightenment/e16/epplets/api/epplet.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -3 -r1.128 -r1.129
--- epplet.c    24 Nov 2003 07:48:31 -0000      1.128
+++ epplet.c    24 Nov 2003 14:59:02 -0000      1.129
@@ -5534,7 +5534,6 @@
 
    /* Pick our instance number.  255 is the max to avoid infinite loops, which could 
be caused by
     * lack of insert permissions in the config directory. */
-#if 0   
    for (i = 1; i < 256; i++)
      {
        Esnprintf(s, sizeof(s), "%s/.lock_%i", conf_dir, i);
@@ -5594,9 +5593,7 @@
         * number, so exit the loop. */
        break;
      }
-#else
-   i = 1;
-#endif   
+
    /* Anything this high is probably an error. */
    if (i >= 255)
      {




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to