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. SVN revision: 7937
This commit is contained in:
parent
5f17f8ee9d
commit
4da18e5e68
|
@ -5534,7 +5534,6 @@ Epplet_find_instance(char *name)
|
|||
|
||||
/* 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 @@ Epplet_find_instance(char *name)
|
|||
* number, so exit the loop. */
|
||||
break;
|
||||
}
|
||||
#else
|
||||
i = 1;
|
||||
#endif
|
||||
|
||||
/* Anything this high is probably an error. */
|
||||
if (i >= 255)
|
||||
{
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
Summary: Enlightenment Epplets
|
||||
Name: epplets
|
||||
Version: 0.7
|
||||
Release: 0.5
|
||||
Version: 0.8
|
||||
Release: 0.1
|
||||
Copyright: BSD
|
||||
Group: User Interface/X
|
||||
URL: http://www.enlightenment.org
|
||||
|
|
Loading…
Reference in New Issue