aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-19 01:48:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-19 01:48:42 +0000
commit423b2d2188321cc8773b7c1027ebd201c20ae7e3 (patch)
treeddf5de9a6f691c700cced33dccefc31743891a29 /packages
parentf3f897d323a3b9465d54ca176d6fae6132553fa5 (diff)
Removing recursive new_anything() patch because its currently unused,
following this discussion: http://lists.puredata.info/pipermail/pd-dev/2009-04/013385.html svn path=/trunk/; revision=11057
Diffstat (limited to 'packages')
-rw-r--r--packages/patches/allow_recursive_calls_of_new_anything-0.41.4.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/packages/patches/allow_recursive_calls_of_new_anything-0.41.4.patch b/packages/patches/allow_recursive_calls_of_new_anything-0.41.4.patch
deleted file mode 100644
index d2ea86e2..00000000
--- a/packages/patches/allow_recursive_calls_of_new_anything-0.41.4.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: m_class.c
-===================================================================
---- m_class.c (Revision 9979)
-+++ m_class.c (Arbeitskopie)
-@@ -522,6 +522,7 @@
- return (gensym(namebuf));
- }
-
-+#define MAXOBJDEPTH 1000
- static int tryingalready;
-
- void canvas_popabstraction(t_canvas *x);
-@@ -537,14 +538,17 @@
- t_pd *current;
- int fd;
- char dirbuf[MAXPDSTRING], *nameptr;
-- if (tryingalready) return;
-+ if (tryingalready>MAXOBJDEPTH){
-+ error("maximum object loading depth %d reached", MAXOBJDEPTH);
-+ return;
-+ }
- newest = 0;
- class_loadsym = s;
- if (sys_load_lib(canvas_getcurrent(), s->s_name))
- {
-- tryingalready = 1;
-+ tryingalready++;
- typedmess(dummy, s, argc, argv);
-- tryingalready = 0;
-+ tryingalready--;
- return;
- }
- class_loadsym = 0;