Hi Patrick -- > I have just checked in the CVS some new code to handle the component > library. It's a rewrite of the original code with simplification with > dynamic allocation in mind.
Thank you for your work! The old clib stuff was kind of hokey, so improving it is a good idea. > I have adapted the applications of the gEDA suite for this new code > (except gattrib, I did not know if you mind or not Stuart. Anyway, the > fix is simple: remove the call to s_clib_cache_free() in gattrib.c). I have just checked in your suggested fix. Compiling with s_clib_cache_free commented out works fine. Also, the apps run fine after I compile them. I haven't stress-tested them yet, however. . . . In the future, please feel free to hack/modify/extend my code. I am always happy to have experts like yourself improve upon what I have started. Indeed, I hope to have others fix some of my silly bugs. . . . > I was thinking about making it possible to have one component library > per schematic. This way we could manage the addition of library > directories better for each page. I will have a look at that. How would that work specifically? Stuart
