On Fri, 24 Sep 2010, Andreas Metzler wrote: hi,
> I think having a general purpose string function like strlcpy in the > pulic library libWutil is a bad idea. Just imagine a another project > that also needs strlcpy an uses another #ifndef HAVE_STRLCPY pattern. > If it also links against libWINGs it will end up with two conflicting > implementations/prototypes. Stuff like this should not be exported by > wmaker but only used internally. If libWUTIL is supposed to only be > used internaly it should not be a dynamic library imho. completely agreed, however myy autohell-fu is hardly up for this task. maybe so that we use wstrlcat/wstrlcpy, which are either bundled (so the bundled funcs get renamed to this), or if system/libbsd provides them, we just #define wstrlcat strlcat? wings/wutil should(at least for now) stay shared libs. i have a dream that once they reach a certain stage, you guys start making dockapps use them(possibly by extennding them so they inccorporate common stuff needed for dockapps). but anyhow, thhem being sos should stay so for the foreseeable future, imho. but , as always, ideas are most welcome. -- [-] mkdir /nonexistent -- To unsubscribe, send mail to [email protected].
